From 4afaeba89676b28ebaf9aa82ec793b0b5330c9da Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Thu, 21 Nov 2024 20:32:31 +0100 Subject: [PATCH] chore: disable CSE --- capi/src/compiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capi/src/compiler.rs b/capi/src/compiler.rs index 334d1ccd..8f457afc 100644 --- a/capi/src/compiler.rs +++ b/capi/src/compiler.rs @@ -53,7 +53,7 @@ fn _yrx_compiler_create<'a>(flags: u32) -> yara_x::Compiler<'a> { } if flags & YRX_ENABLE_CONDITION_OPTIMIZATION != 0 { compiler.hoisting(true); - compiler.common_subexpression_elimination(true); + //compiler.common_subexpression_elimination(true); } if flags & YRX_COLORIZE_ERRORS != 0 { compiler.colorize_errors(true);