diff --git a/auto_obfuscate/src/flow.rs b/auto_obfuscate/src/flow.rs index 7823645..be4cdb9 100644 --- a/auto_obfuscate/src/flow.rs +++ b/auto_obfuscate/src/flow.rs @@ -112,7 +112,7 @@ impl VisitMut for FlowObfuscator { //if use macro enabled, use macro to expand to dummy loop if self.use_macro { let macro_call = syn::parse_quote! { - labyrinth_macros::generate_dummy_loop!() + labyrinth::flow_stmt!(); }; block.stmts.insert(0, macro_call); } else { diff --git a/auto_obfuscate/src/obfuscate.rs b/auto_obfuscate/src/obfuscate.rs index adcfd1f..b7c1531 100644 --- a/auto_obfuscate/src/obfuscate.rs +++ b/auto_obfuscate/src/obfuscate.rs @@ -22,10 +22,8 @@ impl Obfuscator { if self.string_obfuscator.enabled { result = self.string_obfuscator.obfuscate_strings(&result); } - println!("{}", result); if self.flow_obfuscator.enabled { result = self.flow_obfuscator.flow_obfuscate(&result); - println!("{}", result); } if self.rename_obfuscator.enabled { result = self.rename_obfuscator.rename(&result);