{"id":18392196,"url":"https://github.com/lethalbit/libalfheim","last_synced_at":"2026-03-04T03:31:20.439Z","repository":{"id":38277307,"uuid":"358868043","full_name":"lethalbit/libalfheim","owner":"lethalbit","description":"A portable and complete C++ library for object file parsing and manipulation","archived":false,"fork":false,"pushed_at":"2022-06-26T00:37:13.000Z","size":62,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T03:35:23.938Z","etag":null,"topics":["coff","ecoff","elf","executable-formats","os360","pe32","xcoff"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lethalbit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"lethalbit","patreon":"lethalbit","ko_fi":"lethalbit"}},"created_at":"2021-04-17T12:03:14.000Z","updated_at":"2025-02-27T00:22:45.000Z","dependencies_parsed_at":"2022-09-02T18:50:41.477Z","dependency_job_id":null,"html_url":"https://github.com/lethalbit/libalfheim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lethalbit/libalfheim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Flibalfheim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Flibalfheim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Flibalfheim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Flibalfheim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lethalbit","download_url":"https://codeload.github.com/lethalbit/libalfheim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Flibalfheim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["coff","ecoff","elf","executable-formats","os360","pe32","xcoff"],"created_at":"2024-11-06T01:54:38.240Z","updated_at":"2026-03-04T03:31:20.403Z","avatar_url":"https://github.com/lethalbit.png","language":"C++","funding_links":["https://github.com/sponsors/lethalbit","https://patreon.com/lethalbit","https://ko-fi.com/lethalbit"],"categories":[],"sub_categories":[],"readme":"# libalfheim\n\nlibalfheim is a C++ library designed to facilitate with the parsing and generation of various object files formats.\n\nThe sister library for parsing and generating debug info formats can be found at [lethalbit/libfortress](https://github.com/lethalbit/libfortress).\n\n## Configuring and Building\n\nThe following steps describe how to build libalfheim, it should be consistent for both Linux and Windows, but Windows remains untested.\n\n### Prerequisites\n\nTo build libalfheim, ensure you have the following build time dependencies:\n * git\n * meson\n * ninja\n * zlib \u003e=1.2.12\n * g++ \u003e= 11 or clang++ \u003e= 11\n\nOptionally, when also building with binding support (which is the default) you also need:\n * python \u003e= 3.9\n * pybind11 \u003e= 2.7.0\n\n\n### Configuring\n\nYou can build libalfheim with the default options, all of which can be found in [`meson_options.txt`](meson_options.txt). You can change these by specifying `-D\u003cOPTION_NAME\u003e=\u003cVALUE\u003e` at initial meson invocation time, or with `meson configure` in the build directory post initial configure.\n\nTo change the install prefix, which is `/usr/local` by default ensure to pass `--prefix \u003cPREFIX\u003e` when running meson for the first time.\n\nIn either case, simply running `meson build` from the root of the repository will be sufficient and place all of the build files in the `build` subdirectory.\n\n### Building\n\nOnce you have configured libalfheim appropriately, to simply build and install simply run the following:\n\n```\n$ ninja -C build\n$ ninja -C build install\n```\n\nThis will build and install libalfheim into the default prefix which is `/usr/local`, to change that see the configuration steps above.\n\n### Notes to Package Maintainers\n\nIf you are building libalfheim for inclusion in a distributions package system then ensure to set `DESTDIR` prior to running meson install.\n\nThere is also a `bugreport_url` configuration option that is set to this repositories issues tracker by default, it is recommended to change it to your distributions bug tracking page.\n\n## License\n\nlibalfheim is licensed under the [BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html) and can be found in [LICENSE](https://github.com/lethalbit/libalfheim/tree/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flethalbit%2Flibalfheim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flethalbit%2Flibalfheim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flethalbit%2Flibalfheim/lists"}