{"id":15558577,"url":"https://github.com/guedou/binutils-rs","last_synced_at":"2025-10-07T08:31:40.740Z","repository":{"id":57510048,"uuid":"132110675","full_name":"guedou/binutils-rs","owner":"guedou","description":"A Rust library that ease interacting with the binutils disassembly engine using a high-level API","archived":false,"fork":false,"pushed_at":"2024-11-08T18:29:59.000Z","size":192,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T08:32:40.383Z","etag":null,"topics":["disassembly","reverse-engineering","rust-crate","rust-ffi"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guedou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-04T08:18:52.000Z","updated_at":"2024-11-08T18:30:04.000Z","dependencies_parsed_at":"2022-09-26T17:01:02.109Z","dependency_job_id":null,"html_url":"https://github.com/guedou/binutils-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/guedou/binutils-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fbinutils-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fbinutils-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fbinutils-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fbinutils-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guedou","download_url":"https://codeload.github.com/guedou/binutils-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guedou%2Fbinutils-rs/sbom","scorecard":{"id":448153,"data":{"date":"2025-08-11","repo":{"name":"github.com/guedou/binutils-rs","commit":"ea693080911a220299fb75e471709e566c562d81"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","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":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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-19T07:26:10.685Z","repository_id":57510048,"created_at":"2025-08-19T07:26:10.685Z","updated_at":"2025-08-19T07:26:10.685Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278743194,"owners_count":26037991,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["disassembly","reverse-engineering","rust-crate","rust-ffi"],"created_at":"2024-10-02T15:39:06.170Z","updated_at":"2025-10-07T08:31:40.378Z","avatar_url":"https://github.com/guedou.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binutils-rs\n\nA Rust library that ease interacting with the\n[binutils](https://www.gnu.org/software/binutils/) disassembly engine with a\nhigh-level API. Its main goal is to simplify disassembling raw buffers into\ninstructions.\n\n[![crates.io badge](https://img.shields.io/crates/v/binutils.svg)](https://crates.io/crates/binutils/)\n[![doc.rs badge](https://docs.rs/binutils/badge.svg)](https://docs.rs/crate/binutils/)\n\n## Usage\n\nYou need to add the following lines to your `Cargo.toml`:\n```toml\n[dependencies]\nbinutils = \"0.1.1\"\n```\n\nand make sure that your are using it in your code:\n```rust\nextern crate binutils;\n```\n\n\u003e **Note:**\nBy default, all architectures supported by binutils will be built by cargo. The\nresulting library will be over 60MB. When size is an issue, the `TARGETS`\nenvironment variable can be set to only build specific architectures (i.e.\n`TARGETS=arm-linux,mep`) as defined in `bfd/config.bfd`.\n\u003e\n\n## Examples\n\nHere is how to disassemble a buffer containing x86 instructions while being\ngentle with errors:\n```rust\nextern crate binutils;\nuse binutils::utils::disassemble_buffer;\nuse binutils::opcodes::DisassembleInfo;\n\n// Prepare the disassembler\nlet mut info = disassemble_buffer(\"i386\", \u0026[0xc3, 0x90, 0x66, 0x90], 0x2800)\n    .unwrap_or(DisassembleInfo::empty());\n\n// Iterate over the instructions\nloop {\n    match info.disassemble()\n        .ok_or(2807)\n        .map(|i| Some(i.unwrap()))\n        .unwrap_or(None)\n    {\n        Some(instruction) =\u003e println!(\"{}\", instruction),\n        None =\u003e break,\n    }\n}\n```\n\nOther examples are located in the [examples/](examples) directory, and be used\nwith `cargo run --example`.\n\n## Resources\n\nExamples in C and archived documentations are available in the\n[resources/](resources/) directory.\n\n## Roadmap\n\n- [ ] add Travis support: test and rustfmt\n- [ ] code coverage with tarpaulin\n- [ ] write more tests\n- [ ] investigate stripping libraries\n- [ ] convert check_null_pointer() to a macro to add file and line numbers to the Error\n- [ ] fuzz the disassembler\n- [ ] generate mach.rs with build.rs\n- [ ] generate documentation from comments\n- [ ] use the error_chain crate\n- [ ] investigate info-\u003estop_vma\n- [ ] rewrite copy_buffer in Rust\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguedou%2Fbinutils-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguedou%2Fbinutils-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguedou%2Fbinutils-rs/lists"}