{"id":19608665,"url":"https://github.com/sel4/pruner","last_synced_at":"2025-04-27T20:33:00.825Z","repository":{"id":24123994,"uuid":"27512590","full_name":"seL4/pruner","owner":"seL4","description":"Tool for trimming functions from a C source file","archived":false,"fork":false,"pushed_at":"2025-03-17T00:39:56.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-05T03:22:23.739Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seL4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-03T23:16:03.000Z","updated_at":"2025-03-17T00:39:59.000Z","dependencies_parsed_at":"2022-08-22T11:01:32.306Z","dependency_job_id":null,"html_url":"https://github.com/seL4/pruner","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/seL4%2Fpruner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seL4%2Fpruner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seL4%2Fpruner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seL4%2Fpruner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seL4","download_url":"https://codeload.github.com/seL4/pruner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251204718,"owners_count":21552279,"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-11-11T10:16:19.740Z","updated_at":"2025-04-27T20:33:00.526Z","avatar_url":"https://github.com/seL4.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n     Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)\n\n     SPDX-License-Identifier: CC-BY-SA-4.0\n--\u003e\n\n# Prune\n\nThis is a tool for removing excess functions from C code. It is possible to\ndramatically reduce the runtime of the C parser and friends (and your\nresulting find_theorems search space) by removing functions you are not\ncalling before parsing.\n\n## Usage\n\nYou will need the libclang and glib headers available to build this. I have not\nlocated a packaged version of libclang and LLVM that work together, so I\nrecommend you build these from source as described on the\n[Clang getting started page](http://clang.llvm.org/get_started.html). I have\nsuccessfully built this tool using r207601 of all the LLVM pieces.\n\nRun `prune --help` for options. For anything more, read the source code.\n\n## Caveats\n\nNo attempt is made to automatically prune anything other than functions. Other\nentities don't cost us much in parsing. If you do want to explicitly prune\nother things you can use the `--blacklist` option.\n\nSome tricky C is clever enough to even baffle Clang (e.g. seL4_IPCBuffer\nalignment). Report anything serious, but minor issues like this will have to be\nworked around yourself.\n\n## Issues\n\nEmail Matthew Fernandez with questions or problems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsel4%2Fpruner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsel4%2Fpruner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsel4%2Fpruner/lists"}