Fix method names
This commit is contained in:
parent
0a0b491072
commit
b28dd6277a
|
@ -180,12 +180,12 @@ namespace de4dot.PE {
|
|||
writer.Write(data);
|
||||
}
|
||||
|
||||
public void writeUint16(uint rva, ushort data) {
|
||||
public void writeUInt16(uint rva, ushort data) {
|
||||
seekRva(rva);
|
||||
writer.Write(data);
|
||||
}
|
||||
|
||||
public void writeUint32(uint rva, uint data) {
|
||||
public void writeUInt32(uint rva, uint data) {
|
||||
seekRva(rva);
|
||||
writer.Write(data);
|
||||
}
|
||||
|
|
|
@ -302,8 +302,8 @@ namespace de4dot.code.deobfuscators.CliSecure {
|
|||
if (methodInfo.flags == 0 || methodInfo.codeOffs == 0)
|
||||
continue;
|
||||
uint rva = methodsDecrypter.peImage.offsetReadUInt32(offset);
|
||||
methodsDecrypter.peImage.writeUint16(rva, (ushort)methodInfo.flags);
|
||||
methodsDecrypter.peImage.writeUint32(rva + 8, methodInfo.localVarSigTok);
|
||||
methodsDecrypter.peImage.writeUInt16(rva, (ushort)methodInfo.flags);
|
||||
methodsDecrypter.peImage.writeUInt32(rva + 8, methodInfo.localVarSigTok);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user