{"id":39176008,"url":"https://github.com/arachsys/libelf","last_synced_at":"2026-01-17T22:28:30.670Z","repository":{"id":146677629,"uuid":"402423608","full_name":"arachsys/libelf","owner":"arachsys","description":"Freestanding libelf extracted from elfutils","archived":false,"fork":false,"pushed_at":"2025-04-26T10:11:22.000Z","size":245,"stargazers_count":34,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T11:25:02.312Z","etag":null,"topics":["clang","elf","elfutils","gcc","libelf","linux","musl"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arachsys.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING-GPLV2","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,"zenodo":null}},"created_at":"2021-09-02T13:06:33.000Z","updated_at":"2025-04-26T10:11:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb793e24-7b26-4e56-a031-544e4108643d","html_url":"https://github.com/arachsys/libelf","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/arachsys/libelf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arachsys%2Flibelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arachsys%2Flibelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arachsys%2Flibelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arachsys%2Flibelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arachsys","download_url":"https://codeload.github.com/arachsys/libelf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arachsys%2Flibelf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28520523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["clang","elf","elfutils","gcc","libelf","linux","musl"],"created_at":"2026-01-17T22:28:30.473Z","updated_at":"2026-01-17T22:28:30.660Z","avatar_url":"https://github.com/arachsys.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Freestanding libelf\n===================\n\nThis package contains an up-to-date and complete libelf extracted from\nelfutils, along with a simple Makefile to build and install it.\n\nUnlike the upstream package, this libelf builds cleanly on both musl and\nglibc, using either clang or gcc. Users are spared the joy of autotools,\nand on musl systems it does not require extra libraries for argp, fts or\nobstack. The sole dependencies are zlib and (by default) zstd for handling\ncompressed ELF sections.\n\nThe elfutils tools, libdwarf and libasm are not included: you will need the\nfull upstream distribution to build those. However, they are a much more\nunusual requirement than libelf itself. (For instance, this library alone\nis sufficient for building an x86-64 Linux kernel with stack validation.)\n\n\nBuilding and installing\n-----------------------\n\nUnpack the source tar.gz file and change to the unpacked directory.\n\nRun 'make' then 'make install' to install the libelf headers in /include,\nplus static and shared libraries in /lib. You can customise DESTDIR,\nPREFIX, LIBDIR and/or INCDIR to install in different locations. An\ninstall-static target is available to install only a static library, and\nsimilarly the install-shared target installs only the shared library.\n\nThe build should work out of the box on reasonably recent musl/glibc and\nclang/gcc. On very old or non-Linux systems, some manual adjustment of\nsrc/config.h may be needed. For example, to build without zstd support,\nremove the definitions of USE_ZSTD and USE_ZSTD_COMPRESS from config.h and\ndrop -lzstd from LDLIBS in the Makefile.\n\nPlease report any problems or bugs to Chris Webb \u003cchris@arachsys.com\u003e rather\nthan to the upstream elfutils maintainers, who are not to blame for issues\nin this repackaging of libelf.\n\n\nCopying\n-------\n\nThis software is distributed under the terms of the GNU GPL version 2 or\nlater, as included in COPYING-GPLV2, or the GNU LGPL version 3 or later, as\nincluded in COPYING-LGPLV3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farachsys%2Flibelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farachsys%2Flibelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farachsys%2Flibelf/lists"}