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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 6f73feca9..3e8ec5b97 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -104,10 +104,11 @@ private:
Name funcrefTableName;
std::unordered_map<Type, Name> logImportNames;
-
Name throwImportName;
Name tableGetImportName;
Name tableSetImportName;
+ Name callExportImportName;
+ Name callExportCatchImportName;
std::unordered_map<Type, std::vector<Name>> globalsByType;
std::unordered_map<Type, std::vector<Name>> mutableGlobalsByType;
@@ -225,9 +226,8 @@ private:
void finalizeTable();
void prepareHangLimitSupport();
void addHangLimitSupport();
- // Imports that we call to log out values.
void addImportLoggingSupport();
- // An import that we call to throw an exception from outside.
+ void addImportCallingSupport();
void addImportThrowingSupport();
void addImportTableSupport();
void addHashMemorySupport();
@@ -238,6 +238,7 @@ private:
Expression* makeImportThrowing(Type type);
Expression* makeImportTableGet();
Expression* makeImportTableSet(Type type);
+ Expression* makeImportCallExport(Type type);
Expression* makeMemoryHashLogging();
// Function creation