Header files inference for C/C++ projects
Project description
headerfiles
Header file inference tool for LLM-based fuzz driver generation to OSS-Fuzz projects
API
There are two APIs:
headerfiles.api
- is_supported_proj
- Usage: Check if a projection is supported by the API.
- Return value: True if the projection is supported, False otherwise.
- get_proj_headers
- Usage: Get the inferred headers for a specific project.
- Return value: A list of inferred headers for the project, their orders also matter.
Support List
- [] bitcoin-core
- [] bluez
- [] brpc
- [] geos
- [] gnutls
- [] hostap
- [] ibmswtpm2
- [] igraph
- [] knot-dns
- [] krb5
- libfdk-aac
- libfuse
- libpsl
- libsodium
- [] libtasn1
- [] libyal
- [] mdbtools
- [] mosh
- [] njs
- [] opendnp3
- [] openexr
- [] pcre2
- [] piex
- [] proj4
- [] protobuf-c
- [] quickjs
- [] resiprocate
- [] rnp
- [] spirv-tools
- [] util-linux
- [] varnish
- [] wget
- [] wget2
- [] xs
- [] znc
Test
python3 -m tests.test_api
Dev Usage
python3 -m venv venv
source venv/bin/activate
pip install -e .
headerfiles-cli --help
#...
headerfiles-cli supp libpsl
headerfiles-cli infer libpsl
#...
pip uninstall headerfiles -y
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
headerfiles-0.1.tar.gz
(10.7 kB
view details)
Built Distribution
headerfiles-0.1-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file headerfiles-0.1.tar.gz
.
File metadata
- Download URL: headerfiles-0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6565a5a77b5be40eadb254af32a64e848446572e16197886245d7d2f0e7bf4e |
|
MD5 | 6490460bc2dff486f343e202f9a25138 |
|
BLAKE2b-256 | abb5f9e7a36607a266c4d3b2485dee8800a9b280d65d1f99d37c83dd7a9c4e60 |
File details
Details for the file headerfiles-0.1-py3-none-any.whl
.
File metadata
- Download URL: headerfiles-0.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b24036cbb6d0d5d082c1f072dd9b0ee8474d0f59e1eb78aacf108c1ac706e0 |
|
MD5 | 8fb57333de6ca139bbe484de820c3f0b |
|
BLAKE2b-256 | b088e60b7162b81e6fcd8439e70e869454d6ab2e8b98aede5ddad8b53a69bf0f |