[KongchangAI]
ConceptControl Flow Flattening / CFF

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)

Sep 15

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.

Unverified50%
Sep 6

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.

Unverified60%

All Facts (3)

Source Articles