Control Flow Flattening
A code obfuscation technique that dismantles sequentially executing program logic and rewrites it as a state machine driven by a while loop, making it impossible to infer the original execution order through static analysis. It is commonly used for JavaScript anti-reverse-engineering protection.
Timeline (last 90 days)
Static reading is almost ineffective against control flow flattening; readable form can only be restored through dynamic execution or with the help of AST restoration tools.
Control flow flattening is a code obfuscation technique that transforms structured if-else constructs and loops into a flat dispatch structure based on switch-case.
All Facts (3)
Control flow flattening is a code obfuscation technique that transforms structured if-else constructs and loops into a flat dispatch structure based on switch-case.
60%UnverifiedModern web applications commonly employ obfuscation techniques such as variable name substitution, control flow flattening, string encryption, and code minification to protect core business logic.
60%UnverifiedStatic reading is almost ineffective against control flow flattening; readable form can only be restored through dynamic execution or with the help of AST restoration tools.
50%