Control flow graph flattening

The Control Flow Graph flattening of a program consists in flattening the control flow of each function by first breaking up the nesting of loops and if-statements, and then hiding each of them in a case of a large switch statement, that is wrapped inside the body of a loop.

Additional Resources

Subscribe to our Newsletter and don't miss important updates