Also use ldfld/ldflda to detect arg types
This commit is contained in:
parent
c354ded987
commit
cc8e220281
|
@ -270,6 +270,14 @@ namespace de4dot.deobfuscators {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Code.Ldfld:
|
||||||
|
case Code.Ldflda:
|
||||||
|
args = getPushedArgInstructions(instructions, i);
|
||||||
|
if (args.Count < 1)
|
||||||
|
break;
|
||||||
|
addMethodArgType(getParameter(methodParams, method, args[0]), instr.Operand as FieldReference);
|
||||||
|
break;
|
||||||
|
|
||||||
//TODO: For better results, these should be checked:
|
//TODO: For better results, these should be checked:
|
||||||
case Code.Starg:
|
case Code.Starg:
|
||||||
case Code.Starg_S:
|
case Code.Starg_S:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user