From b8c4286637bcba5ad8f8248ed60736de1ed6826c Mon Sep 17 00:00:00 2001 From: alive4ever Date: Tue, 24 Dec 2024 06:39:05 +0000 Subject: [PATCH] Revert "Fix REGEX_HELPER_OBJ_NAME" This reverts commit 5eff8076ad9d7e4ceee720df27a16651933c1952. --- src/consts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts.rs b/src/consts.rs index 64654b4..c92a8f0 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -34,7 +34,7 @@ pub static REGEX_SIGNATURE_FUNCTION: Lazy = Lazy::new(|| { r#")"# )).unwrap() }); -pub static REGEX_HELPER_OBJ_NAME: &Lazy = regex!(r"([A-Za-z0-9_\$]{1,})=function\("); +pub static REGEX_HELPER_OBJ_NAME: &Lazy = regex!(";([A-Za-z0-9_\\$]{2,})\\...\\("); pub static NSIG_FUNCTION_NAME: &str = "decrypt_nsig"; pub static SIG_FUNCTION_NAME: &str = "decrypt_sig";