Commit Graph

2 Commits

Author SHA1 Message Date
pagran
e8fe80d627 add trash block generator (#825)
add trash block generator

For making static code analysis even more difficult, added feature for
generating trash blocks that will never be executed. In combination
with control flow flattening makes it hard to separate trash code from
the real one, plus it causes a large number of trash references to
different methods.

Trash blocks contain 2 types of statements:
1. Function/method call with writing the results into local variables
and passing them to other calls
2. Shuffling or assigning random values to local variables
2024-01-16 16:01:53 +01:00
pagran
0e2e483472 add control flow obfuscation
Implemented control flow flattening with additional features such as block splitting and junk jumps
2023-06-25 22:57:27 +02:00