{"id":41675409,"url":"https://github.com/v3l0c1r4pt0r/makeelf","last_synced_at":"2026-01-24T18:11:39.881Z","repository":{"id":45872916,"uuid":"106175807","full_name":"v3l0c1r4pt0r/makeelf","owner":"v3l0c1r4pt0r","description":"ELF reader-writer library for Python3","archived":false,"fork":false,"pushed_at":"2023-01-25T18:33:27.000Z","size":157,"stargazers_count":67,"open_issues_count":16,"forks_count":29,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-30T02:57:12.130Z","etag":null,"topics":["elf","generator","library","parser","python","python3"],"latest_commit_sha":null,"homepage":"https://static.re-ws.pl/makeelf/master/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v3l0c1r4pt0r.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}},"created_at":"2017-10-08T12:50:06.000Z","updated_at":"2025-09-27T16:09:45.000Z","dependencies_parsed_at":"2023-02-14T10:17:31.060Z","dependency_job_id":null,"html_url":"https://github.com/v3l0c1r4pt0r/makeelf","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/v3l0c1r4pt0r/makeelf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v3l0c1r4pt0r%2Fmakeelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v3l0c1r4pt0r%2Fmakeelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v3l0c1r4pt0r%2Fmakeelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v3l0c1r4pt0r%2Fmakeelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v3l0c1r4pt0r","download_url":"https://codeload.github.com/v3l0c1r4pt0r/makeelf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v3l0c1r4pt0r%2Fmakeelf/sbom","scorecard":{"id":914039,"data":{"date":"2025-08-11","repo":{"name":"github.com/v3l0c1r4pt0r/makeelf","commit":"19d84181bf0b5d8b42099eaedf3628cd46bfe4d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/doxygen.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonapp.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doxygen.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/v3l0c1r4pt0r/makeelf/doxygen.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/doxygen.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/v3l0c1r4pt0r/makeelf/doxygen.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doxygen.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/v3l0c1r4pt0r/makeelf/doxygen.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/v3l0c1r4pt0r/makeelf/pythonapp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonapp.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/v3l0c1r4pt0r/makeelf/pythonapp.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/pythonapp.yml:27","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T20:19:52.438Z","repository_id":45872916,"created_at":"2025-08-24T20:19:52.438Z","updated_at":"2025-08-24T20:19:52.438Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28733614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"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":["elf","generator","library","parser","python","python3"],"created_at":"2026-01-24T18:11:39.171Z","updated_at":"2026-01-24T18:11:39.843Z","avatar_url":"https://github.com/v3l0c1r4pt0r.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MakeELF\nELF reader-writer library for Python3\n\n## Overview\n\nMakeELF is a Python library to parse, modify and create ELF binaries. It\nprovides following features:\n\n* easy to use, standard Python interface\n* reading existing ELF files to Python representation\n* modification of every aspect of ELF format structures\n* ability to skip any validation to test other parsers for potential errors\n* creating new valid ELF files with just one step\n* easy serialization of every structure present in ELF file\n\n## Installation\n\nMakeELF could be installed either using PyPI and pip3 tool or manually with help\nof setup.py script.\n\n### Install from PyPI\n\nIt is as simple as typing:\n\n```shell\npip3 install makeelf\n```\n\n### Manual installation\n\nClone the Github repository and in root of the project execute:\n\n```shell\npython3 setup.py install\n```\n\n## API\n\n### Creating new object\n\n```Python\nfrom makeelf.elf import *\nelf = ELF(e_machine=EM.EM_LKV373A)\nprint(elf)\n```\n\n### Parsing ELF file\n\nEither using helper function:\n\n```Python\nelf = ELF.from_file('some.elf')\nprint(elf)\n```\n\nThen if you'd like to have full control on headers, low-level object can be\nextracted:\n\n```Python\nelf = elf.Elf\n```\n\nOr create low-level object manually:\n\n```Python\nfd = os.open('some.elf', os.O_RDONLY)\nb = os.read(fd, 0xffff)\nos.close(fd)\n\nelf, b = Elf32.from_bytes(b)\nprint(elf)\n```\n\n### Saving ELF to file\n\n```Python\nfd = os.open('other.elf', os.O_WRONLY | os.O_CREAT | os.O_TRUNC)\nos.write(fd, bytes(elf))\nos.close(fd)\n```\n\n### Adding a section\n\n```Python\ndata_id = elf.append_section('.data', b'\\0\\0\\0\\0', 0xfadd)\n```\n\n### Adding a symbol\n\n```Python\nelf.append_symbol('NULL', data_id, 0, 4)\n```\n\n### Modifying attributes\n\n```Python\nelf.Elf.Shdr_table[data_id].sh_flags = int(SHF.SHF_ALLOC)\n```\n\n## License\n\nAll the software here is licensed under GNU General Public License 3.0,\navailable in LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv3l0c1r4pt0r%2Fmakeelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv3l0c1r4pt0r%2Fmakeelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv3l0c1r4pt0r%2Fmakeelf/lists"}