From 21fdbaa80229b534d49b093db97013df74563415 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Wed, 1 May 2024 01:15:45 +0200 Subject: [PATCH] chore: don't call WASM. --- lib/src/scanner/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/scanner/mod.rs b/lib/src/scanner/mod.rs index e72801091..f7e138414 100644 --- a/lib/src/scanner/mod.rs +++ b/lib/src/scanner/mod.rs @@ -638,8 +638,9 @@ impl<'r> Scanner<'r> { // while ScanContext::search_for_patterns is being executed, the result // will be Ok(1). If the scan completes successfully the result is // Ok(0).` - let func_result = - self.wasm_main_func.call(self.wasm_store.as_context_mut(), ()); + //let func_result = + // self.wasm_main_func.call(self.wasm_store.as_context_mut(), ()); + let func_result = Ok(0); let ctx = self.wasm_store.data_mut();