{"id":23508769,"url":"https://github.com/lovasko/libctf","last_synced_at":"2026-03-16T21:02:33.599Z","repository":{"id":78820984,"uuid":"19217148","full_name":"lovasko/libctf","owner":"lovasko","description":"BSD-licensed CTF Implementation","archived":false,"fork":false,"pushed_at":"2015-07-18T21:14:34.000Z","size":1560,"stargazers_count":20,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T05:34:51.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","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-04-27T20:53:07.000Z","updated_at":"2024-10-09T18:56:40.000Z","dependencies_parsed_at":"2023-02-26T22:45:29.794Z","dependency_job_id":null,"html_url":"https://github.com/lovasko/libctf","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%2Flibctf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Flibctf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Flibctf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2Flibctf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasko","download_url":"https://codeload.github.com/lovasko/libctf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268443,"owners_count":21240927,"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.695Z","updated_at":"2026-03-16T21:02:33.532Z","avatar_url":"https://github.com/lovasko.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libctf\nlibctf is a C99 BSD-licensed implementation of the second version of the \nCompact C Type Format - CTF.  Initially developed as a part of the Google\nSummer of Code 2014, supported and mentored by the FreeBSD Project. Code is\nwritten with multiple platforms in mind and can be used in BSD, illumos and\nLinux worlds.\n\n## Compact C Type Format\nCTF describes a reduced set of debugging data similar to DWARF or stabs. The\ndata can be found in the `.SUNW_ctf` ELF section of the executable, optionally\ncompressed. The format focuses mainly on the C types used in the corresponding\nbinary file with a minor focus on the symbol table. \n\nPrincipal objective of the format is to shrink the data size as much as\npossible so that it could be included in a production environment. Therefore\nthe data is saved in a binary form with bit-level attention. To satisfy the\nsize reduction ambition even more, a concept of parent-child relationship was\nintroduced, where the parent contains the common type information and the child\nreferences this data.\n\n## Features\n * :white_check_mark: parsing the CTF data\n * :white_check_mark: user-space allocation\n * :white_check_mark: kernel-space allocation\n * :white_check_mark: creation \u0026 manipulation API\n\n## Goals\n * writing\n * unit testing\n * integration testing\n * code coverage measuring during tests\n * ARM support\n * MIPS support\n * illumos support\n\n## Related projects\n * [ctfdump](https://github.com/lovasko/ctfdump)\n * [ctfstats](https://github.com/lovasko/ctfstats)\n * [ctfquery](https://github.com/lovasko/ctfquery)\n * [ctfmemusage](https://github.com/lovasko/ctfmemusage)\n * [ctfcore](https://github.com/lovasko/ctfcore)\n * [ctfdiff](https://github.com/lovasko/ctfdiff)\n * [ddb_ctf](https://github.com/lovasko/ddb_ctf)\n * [libtak](https://github.com/lovasko/libtak)\n * :soon: [ctfconvert](https://github.com/lovasko/ctfconvert)\n * :soon: [ctfmerge](https://github.com/lovasko/ctfmerge)\n\nThe library, it's practical usage and implementation, and musings on possible\nusage are topics of my on-going [bachelor\nthesis](https://github.com/lovasko/bc_thesis).\n\n## Build\n```\n$ ninja\n```\n\n## Documentation\n * [API](doc/api/api.md)\n\n## Dependencies\n * zlib\n * libelf \n * [m_list](https://github.com/lovasko/m_list)\n\n## Supported platforms\n * FreeBSD 10.0 with Clang 3.3\n * Linux Gentoo 2.2 with Clang 3.6\n\n## License\n2-clause BSD, for more information please see the [license](LICENSE.md).\n\n## Authors\nDaniel Lovasko lovasko@freebsd.org\n\n## Thanks\n * George Neville-Neil\n * John-Mark Gurney\n * Pedro Giffuni\n * Robert Mustacchi\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Flibctf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasko%2Flibctf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Flibctf/lists"}