{"id":16587407,"url":"https://github.com/colinkennedy/tree-sitter-objdump","last_synced_at":"2025-04-14T15:30:49.745Z","repository":{"id":202604008,"uuid":"702828511","full_name":"ColinKennedy/tree-sitter-objdump","owner":"ColinKennedy","description":"Parse objdump files using tree-sitter","archived":false,"fork":false,"pushed_at":"2023-11-22T13:19:55.000Z","size":187,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T09:50:48.640Z","etag":null,"topics":["neovim","objdump","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"C","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/ColinKennedy.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}},"created_at":"2023-10-10T05:16:39.000Z","updated_at":"2025-01-02T07:22:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"aecdeaed-be32-43a3-9c72-882d400da348","html_url":"https://github.com/ColinKennedy/tree-sitter-objdump","commit_stats":null,"previous_names":["colinkennedy/tree-sitter-objdump"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColinKennedy%2Ftree-sitter-objdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColinKennedy%2Ftree-sitter-objdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColinKennedy%2Ftree-sitter-objdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColinKennedy%2Ftree-sitter-objdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColinKennedy","download_url":"https://codeload.github.com/ColinKennedy/tree-sitter-objdump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906366,"owners_count":21181164,"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":["neovim","objdump","tree-sitter"],"created_at":"2024-10-11T22:54:08.711Z","updated_at":"2025-04-14T15:30:49.722Z","avatar_url":"https://github.com/ColinKennedy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-objdump\nThis library parses objdump text using\n[tree-sitter](https://tree-sitter.github.io/tree-sitter) to produce\na light-weight grammar of the file.\n\n\n![tree-sitter-objdump-highlights](https://github.com/ColinKennedy/tree-sitter-objdump/assets/10103049/184c535b-7a58-4726-82c1-d252e5174c15)\n\n\n## Disclaimer\nThis repository's parsing rules are subject to change.\n\n\n## Building + Using\n### Neovim\nMake sure you include the following somewhere in your `init.lua` file.\n\n```lua\nrequire(\"nvim-treesitter.configs\").setup {\n    ensure_installed = {\"objdump\"},\n    parser_install_dir = installation_directory,\n    highlight = { enable = true },\n\n    -- More stuff\n}\n```\n\n\n## Testing\n### Unittests\n- Install the [tree-sitter-cli](https://www.npmjs.com/package/tree-sitter-cli)\n```sh\ncd {root}\ntree-sitter test\n```\n\nAll tests should pass.\n\n\n### Actual Objdump Files\nThe best way to test tree-sitter-objdump is to parse Objdump files in-action.\n\nA quick way to do that is to run `check.sh`\n\n\n```sh\ncheck.sh  # Searches the current directory\ncheck.sh  /path/to/place\n```\n\nThis outputs objdump text to `/tmp/objdump_files`\n\nThen run\n\n```sh\ncat /tmp/objdumps | xargs -I{} sh -c 'tree-sitter parse {} \u003e /dev/null || echo \"{}\"' \u003e /tmp/fails\n```\n\nIf all is going well, the output file `/tmp/fails` should be empty!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinkennedy%2Ftree-sitter-objdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinkennedy%2Ftree-sitter-objdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinkennedy%2Ftree-sitter-objdump/lists"}