Set new locals by calling SetLocals(), not by writing to the field
This commit is contained in:
parent
b964e080cd
commit
87b20b00f2
|
@ -36,7 +36,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
||||||
|
|
||||||
public void read(MethodDef method) {
|
public void read(MethodDef method) {
|
||||||
this.parameters = method.Parameters;
|
this.parameters = method.Parameters;
|
||||||
this.locals = getLocals(method);
|
SetLocals(getLocals(method));
|
||||||
|
|
||||||
maxStackSize = (ushort)reader.ReadInt32();
|
maxStackSize = (ushort)reader.ReadInt32();
|
||||||
ReadInstructionsNumBytes(reader.ReadUInt32());
|
ReadInstructionsNumBytes(reader.ReadUInt32());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user