KUNAI-static-analyzer
KUNAI-static-analyzer copied to clipboard
Create optimizations to improve IR code, or apply common deobfuscation
Create different templates for optimizations, optimizations can be applied at instruction level, block level and also at Graph level.
As optimizations can delete instructions, or can group instructions, or can delete blocks, find a safe way to delete this information and keep traversing them in order to apply more optimizations. Implement helper functions for deleting statements from blocks, and delete blocks from graphs.