rust-fuzz / libfuzzer

Rust bindings and utilities for LLVM’s libFuzzer
Apache License 2.0
215 stars 46 forks source link

Mark internal, fuzzer hook functions as `unsafe` #114

Closed fitzgen closed 1 year ago

fitzgen commented 1 year ago

These functions define specific symbols that libfuzzer looks for, and are only intended to be called by libfuzzer and with the contract that it guarantees. So make sure they are unsafe and hidden from docs and all that.