Update detection of ASN code
This commit is contained in:
parent
1a1350410a
commit
63648a9505
|
@ -78,9 +78,9 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v3 {
|
||||||
index = 0;
|
index = 0;
|
||||||
if (!instrs[index++].isLdcI4())
|
if (!instrs[index++].isLdcI4())
|
||||||
return false;
|
return false;
|
||||||
if (instrs[index].OpCode.Code != Code.Stloc_S)
|
if (!instrs[index].isStloc())
|
||||||
return false;
|
return false;
|
||||||
var local = instrs[index++].Operand as VariableDefinition;
|
var local = Instr.getLocalVar(blocks.Locals, instrs[index++]);
|
||||||
if (local == null)
|
if (local == null)
|
||||||
return false;
|
return false;
|
||||||
if (!checkLdloc(blocks.Locals, instrs[index++], local))
|
if (!checkLdloc(blocks.Locals, instrs[index++], local))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user