Skip to content

Header file inference tool for LLM-based fuzz driver generation to OSS-Fuzz projects

License

Notifications You must be signed in to change notification settings

occia/headerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

headerfiles

Header file inference tool for LLM-based fuzz driver generation to OSS-Fuzz projects. Currently, this project is for OSS-Fuzz-Gen usage purpose and will be more general later.

API

There are three 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.

- get_build_script
  - Usage: Get the build script for a specific project supported in OSS-FUZZ.
  - Return value: The build script for the project.

Support List (50 projects till now)

  • avahi
  • bind9
  • bluez
  • brotli
  • capstone
  • coturn
  • croaring
  • igraph
  • kamailio
  • krb5
  • lcms
  • libbpf
  • libcoap
  • libevent
  • libfido2
  • libical
  • libjpeg-turbo
  • libpcap
  • librdkafka
  • libsndfile
  • libsodium
  • libssh
  • libssh2
  • libtpms
  • libusb
  • libvnc
  • libxls
  • libyang
  • lwan
  • mbedtls
  • mdbtools
  • minizip
  • ndpi
  • njs
  • oniguruma
  • openexr
  • opusfile
  • picotls
  • pjsip
  • proftpd
  • pupnp
  • sleuthkit
  • tidy-html5
  • unicorn
  • unit
  • utf8proc
  • vlc
  • w3m
  • wasm3
  • zydis

Test

python3 -m tests.test_api

About

Header file inference tool for LLM-based fuzz driver generation to OSS-Fuzz projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published