summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerTracePC.h
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2018-07-17 16:12:00 +0000
committerMatt Morehouse <mascasa@google.com>2018-07-17 16:12:00 +0000
commit823b254fc6354740a99e824b7757c83668496918 (patch)
tree187080159b0a558afb27cdb1a51d7131ee794d6d /lib/fuzzer/FuzzerTracePC.h
parent2dad1b7d1d75e6cf0d337744c6c133c821d3dcff (diff)
libFuzzer: prevent irrelevant strings from leaking into auto-dictionary
This is a fix for bug 37047. https://bugs.llvm.org/show_bug.cgi?id=37047 Implemented by basically reversing the logic. Previously all strings were considered, with some operations excluded. Now strings are excluded by default, and only strings during the CB considered. Patch By: pdknsk Differential Revision: https://reviews.llvm.org/D48800 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerTracePC.h')
-rw-r--r--lib/fuzzer/FuzzerTracePC.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fuzzer/FuzzerTracePC.h b/lib/fuzzer/FuzzerTracePC.h
index 424c20722..416b28427 100644
--- a/lib/fuzzer/FuzzerTracePC.h
+++ b/lib/fuzzer/FuzzerTracePC.h
@@ -180,7 +180,6 @@ private:
std::pair<size_t, size_t> FocusFunction = {-1, -1}; // Module and PC IDs.
-
ValueBitMap ValueProfileMap;
uintptr_t InitialStack;
};