The generator function or function* provides a useful yield expression that can be used to divert control flow. This can be used instead of a break statement as a more versatile option for obfuscating the code.
This would allow Control Flow Flattening to obfuscate code even more than what it can do currently. This could be added to control flow flattening or it's own transformation.
The generator function or
function*
provides a usefulyield
expression that can be used to divert control flow. This can be used instead of abreak
statement as a more versatile option for obfuscating the code.This would allow Control Flow Flattening to obfuscate code even more than what it can do currently. This could be added to control flow flattening or it's own transformation.