diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-10-19 13:59:38 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-10-19 13:59:38 +0200 |
commit | 23e69f11075b20c4907ebe902af08dcbb13ec175 (patch) | |
tree | 9bd59c8786c8a81370373484778c0aeb1770d095 /custom_mutators/libfuzzer/FuzzerLoop.cpp | |
parent | 77a63d8ccfd4b409c35227e174f1d6e809256e41 (diff) | |
parent | bb8a4d71da8f2b748a78ccc4416df6bffb393d80 (diff) | |
download | afl++-23e69f11075b20c4907ebe902af08dcbb13ec175.tar.gz |
Merge branch 'dev' of github.com:AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'custom_mutators/libfuzzer/FuzzerLoop.cpp')
-rw-r--r-- | custom_mutators/libfuzzer/FuzzerLoop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom_mutators/libfuzzer/FuzzerLoop.cpp b/custom_mutators/libfuzzer/FuzzerLoop.cpp index 08fda520..6716dbf5 100644 --- a/custom_mutators/libfuzzer/FuzzerLoop.cpp +++ b/custom_mutators/libfuzzer/FuzzerLoop.cpp @@ -1086,6 +1086,7 @@ ATTRIBUTE_INTERFACE size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) { assert(fuzzer::F); + fuzzer::F->GetMD().StartMutationSequence(); size_t r = fuzzer::F->GetMD().DefaultMutate(Data, Size, MaxSize); #ifdef INTROSPECTION introspection_ptr = fuzzer::F->GetMD().WriteMutationSequence(); |