Update code since GetUserString() arg is now a token
This commit is contained in:
parent
f608d80fa1
commit
1a1ccb2121
|
@ -142,7 +142,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
tamperDetection.find();
|
||||
constantsDecrypter = new ConstantsDecrypter(module);
|
||||
constantsDecrypter.find();
|
||||
foundObfuscatorUserString = Utils.StartsWith(module.GetUserString(1), "\u0011\"3D9B94A98B-76A8-4810-B1A0-4BE7C4F9C98D", StringComparison.Ordinal);
|
||||
foundObfuscatorUserString = Utils.StartsWith(module.GetUserString(0x70000001), "\u0011\"3D9B94A98B-76A8-4810-B1A0-4BE7C4F9C98D", StringComparison.Ordinal);
|
||||
}
|
||||
|
||||
void initializeVersion(TypeDefinition attr) {
|
||||
|
|
|
@ -176,7 +176,7 @@ namespace de4dot.code.deobfuscators.ILProtector {
|
|||
}
|
||||
|
||||
protected override string readInlineString(Instruction instr) {
|
||||
return module.GetUserString(reader.ReadUInt32() & 0x00FFFFFF);
|
||||
return module.GetUserString(reader.ReadUInt32());
|
||||
}
|
||||
|
||||
protected override MemberReference readInlineTok(Instruction instr) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user