{"id":19320199,"url":"https://github.com/widberg/widberg-defs","last_synced_at":"2025-04-22T11:33:44.541Z","repository":{"id":187742830,"uuid":"677484444","full_name":"widberg/widberg-defs","owner":"widberg","description":"An alternative implementation of defs.h from the Hex-Rays decompiler sdk","archived":false,"fork":false,"pushed_at":"2025-01-30T15:47:54.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T19:16:00.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-11T17:30:37.000Z","updated_at":"2025-01-30T15:47:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f0db2a6-42d5-4076-ae17-6939f8595205","html_url":"https://github.com/widberg/widberg-defs","commit_stats":null,"previous_names":["widberg/widberg-defs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fwidberg-defs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fwidberg-defs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fwidberg-defs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widberg%2Fwidberg-defs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widberg","download_url":"https://codeload.github.com/widberg/widberg-defs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232584,"owners_count":21396665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T01:27:46.543Z","updated_at":"2025-04-22T11:33:44.462Z","avatar_url":"https://github.com/widberg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# widberg-defs\n\nAn alternative implementation of defs.h from the Hex-Rays decompiler sdk.\n\n### Overview\n\nThis project is an alternative implementation of defs.h from the Hex-Rays decompiler sdk, which defines common functions, types, attributes, etc... used in the decompiler output. The Hex-Rays identifiers are used for compatibility, but the implementations are original work. This header is intended to be used with the https://github.com/widberg/llvm-project-widberg-extensions project and relies on GCC/Clang builtins in some cases; however, you are free to modify it to suit your needs if you are using a different compiler. We try to use compiler builtins and the freestanding C standard library where possible as opposed to implementing things ourselves. The header should work with both C and C++. I wrote most of this on a plane using my phone, so there are probably some bugs. Please open an issue/pull request if you find any.\n\n### Usage\n\nYou can download the header and add it to your project sources directly\n\n`wget https://raw.githubusercontent.com/widberg/widberg-defs/master/include/defs.h`\n\nor use CMake to add it as a dependency\n\n```cmake\nadd_subdirectory(widberg-defs)\ntarget_link_libraries(my_target widberg-defs)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidberg%2Fwidberg-defs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwidberg%2Fwidberg-defs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidberg%2Fwidberg-defs/lists"}