{"id":23508768,"url":"https://github.com/lovasko/ctfdump","last_synced_at":"2025-05-13T15:34:49.068Z","repository":{"id":18020598,"uuid":"21050593","full_name":"lovasko/ctfdump","owner":"lovasko","description":"BSD-licensed reimplementation of the ctfdump utility with the libctf","archived":false,"fork":false,"pushed_at":"2015-06-06T18:03:45.000Z","size":307,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T19:48:24.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovasko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-20T19:58:08.000Z","updated_at":"2024-01-26T03:42:22.000Z","dependencies_parsed_at":"2022-09-06T23:22:01.433Z","dependency_job_id":null,"html_url":"https://github.com/lovasko/ctfdump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fctfdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fctfdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fctfdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Fctfdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasko","download_url":"https://codeload.github.com/lovasko/ctfdump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253970547,"owners_count":21992523,"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-12-25T11:32:05.624Z","updated_at":"2025-05-13T15:34:48.957Z","avatar_url":"https://github.com/lovasko.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ctfdump\nPrint CTF data to `stdout`.\n\n## Usage\n`ctfdump [-adfglt] \u003cfile\u003e`\n * `-a` print all\n * `-d` print data objects\n * `-f` print function objects\n * `-g` print general information\n * `-l` print labels\n * `-t` print types\n\n## Build\n```\n$ ninja\n```\nor\n```\n$ make\n```\n\n## Dependencies\n * libctf\n\n## Examples\n#### Labels\n```\nroot@FreeBSD_Box:~ # ctfdump -l /boot/kernel/zlib.ko\n-- Labels ------\n Name: FreeBSD 10.0-RELEASE i386 1000510\n Index: 143\n```\n\n#### Data objects\n```\nroot@FreeBSD_Box:~ # ctfdump -d /boot/kernel/zfs.ko | head -9\n-- Data Objects ------\nName: avl_balance2child\nType: const int [3]\n\nName: avl_child2balance\nType: const int [2]\n\nName: nvs_native_ops\nType: const nvs_ops_t\n```\n\n#### Types\n```\nroot@FreeBSD_Box:~ # ctfdump -t /boot/kernel/if_xl.ko | head -15\n-- Types ------\n      ID: 1\n    Kind: int\n    Root: no\n    Name: unsigned char\n    Size: 8\n  Offset: 0\n  Signed: no\n Content: char\n\n      ID: 2\n    Kind: typedef\n    Root: yes\nOld type: unsigned char\nNew type: __uint8_t\n```\n\n## License\n2-clause BSD, for more information please see the [license](LICENSE.md).\n\n## Author\nDaniel Lovasko lovasko@freebsd.org\n\n## Thanks\n * George Neville-Neil\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fctfdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasko%2Fctfdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fctfdump/lists"}