rust-fuzz / libfuzzer

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

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

Closed fitzgen closed 9 months ago

fitzgen commented 9 months 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.