summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r--src/tools/fuzzing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 4eb0c3960..d761bc3bd 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -112,6 +112,10 @@ private:
// The heap types we can pick from to generate instructions.
std::vector<HeapType> interestingHeapTypes;
+ // A mapping of a heap type to the subset of interestingHeapTypes that are
+ // subtypes of it.
+ std::unordered_map<HeapType, std::vector<HeapType>> interestingHeapSubTypes;
+
Index numAddedFunctions = 0;
// RAII helper for managing the state used to create a single function.