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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 69fee656c..0ecc751a4 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -107,6 +107,8 @@ private:
std::unordered_map<Type, Name> logImportNames;
Name throwImportName;
+ Name tableGetImportName;
+ Name tableSetImportName;
std::unordered_map<Type, std::vector<Name>> globalsByType;
std::unordered_map<Type, std::vector<Name>> mutableGlobalsByType;
@@ -228,12 +230,15 @@ private:
void addImportLoggingSupport();
// An import that we call to throw an exception from outside.
void addImportThrowingSupport();
+ void addImportTableSupport();
void addHashMemorySupport();
// Special expression makers
Expression* makeHangLimitCheck();
Expression* makeImportLogging();
Expression* makeImportThrowing(Type type);
+ Expression* makeImportTableGet();
+ Expression* makeImportTableSet(Type type);
Expression* makeMemoryHashLogging();
// Function creation