Understanding AST for Code Transformation
Exploring Abstract Syntax Tree (AST) manipulation to understand how obfuscation tools work.
The first step involves parsing JavaScript code into an AST structure:
let a,b=1;
// 注释
var obj = {
"name":1+3*2,
"func":function add(a,b){
let a1=3;
return a+b
}
}
function add(a,v){
return a+v;
}
let ...
Posted on Fri, 17 Jul 2026 17:16:36 +0000 by chrispols