Skip to content

Commit

Permalink
Add comment regarding math expr visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-nz committed Jul 11, 2023
1 parent 239e524 commit bb9323b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/bin/deobfuscator/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ fn main() {
as_folder(deobfuscate::proxy_vars::Visitor::default()),
as_folder(deobfuscate::strings::Visitor),
as_folder(deobfuscate::computed_member_expr::Visitor),
as_folder(deobfuscate::math_expr::Visitor::new(0.2))

// You can un-comment this line to evaluate the math expression.
// Since we don't know the input here, we can only use a dummy input,
// unless you specify the input manually.
// This is mainly used for debug purposes.
//as_folder(deobfuscate::math_expr::Visitor::new(0.2))
)
)
.expect("process_js_with_custom_pass failed");
Expand Down

0 comments on commit bb9323b

Please sign in to comment.