summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-04 01:36:55 -0500
committerMason Reed <mason@vector35.com>2024-11-04 01:36:55 -0500
commite6a0cb470745e09721f28ba2ad62f5ea71d63599 (patch)
treea2d63fa7e98b1e60dcc466a52fd8fb6b0184a06f /plugins
parentbf0fcd9aa63a6adb19f839e0a6013ca32a365ebc (diff)
WARP: Increase trivial LLIL threshold to 20 bytes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/warp/src/matcher.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/warp/src/matcher.rs b/plugins/warp/src/matcher.rs
index bd4e0df6..59a26fcf 100644
--- a/plugins/warp/src/matcher.rs
+++ b/plugins/warp/src/matcher.rs
@@ -22,7 +22,8 @@ use crate::cache::{cached_call_site_constraints, cached_function_match, try_cach
use crate::convert::to_bn_type;
use crate::plugin::on_matched_function;
-pub const TRIVIAL_FUNCTION_DELTA_THRESHOLD: u64 = 8;
+// TODO: Make this configurable.
+pub const TRIVIAL_FUNCTION_DELTA_THRESHOLD: u64 = 20;
pub static PLAT_MATCHER_CACHE: OnceLock<DashMap<PlatformID, Matcher>> = OnceLock::new();