{"id":13739688,"url":"https://github.com/kubkon/zacho","last_synced_at":"2025-07-14T05:35:09.227Z","repository":{"id":40782910,"uuid":"290588512","full_name":"kubkon/zacho","owner":"kubkon","description":"Zig's Mach-O parser","archived":false,"fork":false,"pushed_at":"2025-05-10T11:12:01.000Z","size":198,"stargazers_count":44,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-10T12:22:28.063Z","etag":null,"topics":["zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/kubkon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-26T19:38:17.000Z","updated_at":"2025-05-10T11:12:03.000Z","dependencies_parsed_at":"2023-11-16T12:28:47.516Z","dependency_job_id":"7f32db8d-46fe-4e42-af01-d9e7164feb97","html_url":"https://github.com/kubkon/zacho","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kubkon/zacho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubkon%2Fzacho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubkon%2Fzacho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubkon%2Fzacho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubkon%2Fzacho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubkon","download_url":"https://codeload.github.com/kubkon/zacho/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubkon%2Fzacho/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265246013,"owners_count":23734109,"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":["zig","zig-package"],"created_at":"2024-08-03T04:00:36.544Z","updated_at":"2025-07-14T05:35:09.208Z","avatar_url":"https://github.com/kubkon.png","language":"Zig","funding_links":[],"categories":["Applications","Zig"],"sub_categories":[],"readme":"# zacho\n\n...or Zig's Mach-O parser. This project started off as a dummy scratchpad for reinforcing my\nunderstanding of the Mach-O file format while I was working on the Zig's stage2 Mach-O linker\n(I still am working on it, in case anyone was asking).\n\nMy current vision for `zacho` is for it to be a cross-platform version of `otool` and `pagestuff`\nmacOS utilities. These seem to be very useful when battling the Darwin kernel and `dyld` when those\nrefuse to load your hand-crafter binary, or you just like looking at Mach-O dissected output.\n\n## Usage\n\n```\nUsage: zacho [options] file\n\nGeneral options:\n-c, --code-signature        Print the contents of code signature (if any)\n-d, --dyld-info             Print the contents of dyld rebase and bind opcodes\n-e, --exports-trie          Print export trie (if any)\n-h, --header                Print the Mach-O header\n-i, --indirect-symbol-table Print the indirect symbol table\n-l, --load-commands         Print load commands\n-r, --relocations           Print relocation entries (if any)\n-s, --symbol-table          Print the symbol table\n-u, --unwind-info           Print the contents of (compact) unwind info section (if any)\n-v, --verbose               Print more detailed info for each flag\n--archive-index             Print archive index (if any)\n--string-table              Print the string table\n--data-in-code              Print data-in-code entries (if any)\n--hex-dump=[name]           Dump section contents as bytes\n--string-dump=[name]        Dump section contents as strings\n--verify-memory-layout      Print virtual memory layout and verify there is no overlap\n--help                      Display this help and exit\n```\n\n## Building from source\n\nBuilding from source requires [Zig 0.14](https://ziglang.org/download/).\n\n```\n$ git clone https://github.com/kubkon/zacho.git\n$ zig build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubkon%2Fzacho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubkon%2Fzacho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubkon%2Fzacho/lists"}