Return immediately if there's nothing to do
This commit is contained in:
parent
fa4e1fcc6b
commit
8e79777cdf
|
@ -100,6 +100,8 @@ namespace de4dot.code.deobfuscators {
|
|||
}
|
||||
|
||||
public void deobfuscate(Blocks blocks) {
|
||||
if (oldToNewMethod.Count == 0)
|
||||
return;
|
||||
foreach (var block in blocks.MethodBlocks.getAllBlocks()) {
|
||||
var instrs = block.Instructions;
|
||||
for (int i = 0; i < instrs.Count; i++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user