js-confuser icon indicating copy to clipboard operation
js-confuser copied to clipboard

feat: Generator functions for control flow flattening

Open MichaelXF opened this issue 2 years ago • 0 comments

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.

MichaelXF avatar Jul 13 '23 04:07 MichaelXF