[libFuzzer] tests/examples for using libFuzzer for out-of-process targets
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/fuzzer/OutOfProcessFuzzTarget.cpp | ||
---|---|---|
42 | consider adding a small comment for the particular choice of value | |
46 | Generally aren't statics with non-trivial dtors problematic? not sure about the LLVM convention and whether or not you care about such details for the sake of this example | |
62 | nit: libFuzzer | |
67 | consistency nit: (const uint8_t *data, size_t size) seems to be the prevalent signature |
compiler-rt/test/fuzzer/OutOfProcessFuzzTarget.cpp | ||
---|---|---|
46 | Probably not problematic here, but agree good to not use them for consistency. |
limit the test to x86_64 linux as it is too experimental to be used elsewhere,
and __libfuzzer_extra_counters are linux-only anyway, currently.
consider adding a small comment for the particular choice of value