diff --git a/instrumentation/MockInstrumentationWalker.cpp b/instrumentation/MockInstrumentationWalker.cpp index 0ced2f0..cb991c2 100644 --- a/instrumentation/MockInstrumentationWalker.cpp +++ b/instrumentation/MockInstrumentationWalker.cpp @@ -91,9 +91,7 @@ uint32_t MockInstrumentationWalker::mockWalk() noexcept { return 1U; // failed } else { wasm::ModuleUtils::iterDefinedFunctions(*module, [this](wasm::Function *const func) noexcept { - if (!std::regex_match(func->name.str.begin(), func->name.str.end(), functionFilter)) { - walkFunctionInModule(func, this->module); - } + walkFunctionInModule(func, this->module); }); return 0U; } diff --git a/instrumentation/MockInstrumentationWalker.hpp b/instrumentation/MockInstrumentationWalker.hpp index aedf2e3..f45f009 100644 --- a/instrumentation/MockInstrumentationWalker.hpp +++ b/instrumentation/MockInstrumentationWalker.hpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -139,7 +138,6 @@ class MockInstrumentationWalker final : public wasm::PostWalker