|
LLVM
3.7.0
|
Public Member Functions | |
| void | TargetFunction (const uint8_t *Data, size_t Size) |
| Executes the target function on 'Size' bytes of 'Data'. More... | |
| virtual size_t | Mutate (uint8_t *Data, size_t Size, size_t MaxSize) |
| Mutates 'Size' bytes of data in 'Data' inplace into up to 'MaxSize' bytes, returns the new size of the data, which should be positive. More... | |
Public Member Functions inherited from fuzzer::UserSuppliedFuzzer | |
| virtual size_t | CrossOver (const uint8_t *Data1, size_t Size1, const uint8_t *Data2, size_t Size2, uint8_t *Out, size_t MaxOutSize) |
| Crosses 'Data1' and 'Data2', writes up to 'MaxOutSize' bytes into Out, returns the number of bytes written, which should be positive. More... | |
| virtual | ~UserSuppliedFuzzer () |
Additional Inherited Members | |
Protected Member Functions inherited from fuzzer::UserSuppliedFuzzer | |
| size_t | BasicMutate (uint8_t *Data, size_t Size, size_t MaxSize) |
| These can be called internally by Mutate and CrossOver. More... | |
| size_t | BasicCrossOver (const uint8_t *Data1, size_t Size1, const uint8_t *Data2, size_t Size2, uint8_t *Out, size_t MaxOutSize) |
Definition at line 15 of file UserSuppliedFuzzerTest.cpp.
|
inlinevirtual |
Mutates 'Size' bytes of data in 'Data' inplace into up to 'MaxSize' bytes, returns the new size of the data, which should be positive.
Reimplemented from fuzzer::UserSuppliedFuzzer.
Definition at line 32 of file UserSuppliedFuzzerTest.cpp.
References fuzzer::UserSuppliedFuzzer::BasicMutate(), kMagic, and fuzzer::min().
|
inlinevirtual |
Executes the target function on 'Size' bytes of 'Data'.
Implements fuzzer::UserSuppliedFuzzer.
Definition at line 17 of file UserSuppliedFuzzerTest.cpp.
References kMagic.
1.8.6