{"id":16724439,"url":"https://github.com/badboy/ebpf-disasm","last_synced_at":"2025-08-30T18:30:45.620Z","repository":{"id":66451699,"uuid":"79128562","full_name":"badboy/ebpf-disasm","owner":"badboy","description":"Simple ebpf disassembler in Rust","archived":false,"fork":false,"pushed_at":"2019-07-29T08:55:49.000Z","size":14,"stargazers_count":35,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-24T02:01:15.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/badboy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-16T14:53:01.000Z","updated_at":"2024-11-08T05:16:55.000Z","dependencies_parsed_at":"2023-02-22T08:15:09.174Z","dependency_job_id":null,"html_url":"https://github.com/badboy/ebpf-disasm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Febpf-disasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Febpf-disasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Febpf-disasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Febpf-disasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badboy","download_url":"https://codeload.github.com/badboy/ebpf-disasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231515010,"owners_count":18388404,"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-10-12T22:45:14.755Z","updated_at":"2024-12-27T16:41:05.816Z","avatar_url":"https://github.com/badboy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ebpf-disasm\n\nA simple eBPF disassembler, based on [rbpf](https://github.com/qmonnet/rbpf).\n\nIt loads the compiled eBPF code from an ELF file and prints it out.\n\n## Installation\n\n```\ncargo install --git https://github.com/badboy/ebpf-disasm\n```\n\n## Usage\n\nIf your code is in the section `.classifier` of your ELF file `bpf.o`:\n\n```\nebpf-disasm --section .classifier bpf.o\n```\n\n### Example output\n\n```\n$ ebpf-disasm -s .classifier bpf.o\nmov64\tr6,\tr1\nldabsh\t0x4\nmov64\tr7,\tr0\nldabsw\t0x0\nlsh64\tr0,\t0x10\nor64\tr0,\tr7\nstxdw\t[r10+0xfff8],\tr0\nmov64\tr2,\tr10\nadd64\tr2,\t0xfffffff8\nlddw\tr1,\t0x0\ncall\t0x1\njeq\tr0,\t0x0,\t+0x5\nldxw\t[r3+0x0],\tr0\nmov64\tr1,\tr6\nlddw\tr2,\t0x0\ncall\t0xc\nmov64\tr0,\t0x0\nexit\n```\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Febpf-disasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadboy%2Febpf-disasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Febpf-disasm/lists"}