Remove newlines from names when calling the logger
This commit is contained in:
parent
c069d8005c
commit
b71e8fdfdc
|
@ -56,14 +56,18 @@ namespace de4dot.code.deobfuscators.Goliath_NET {
|
||||||
if (infos.Count == 0)
|
if (infos.Count == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Log.v("Found proxy delegate: {0} ({1:X8})", type, type.MetadataToken.ToUInt32());
|
Log.v("Found proxy delegate: {0} ({1:X8})", Utils.removeNewlines(type), type.MetadataToken.ToUInt32());
|
||||||
RemovedDelegateCreatorCalls++;
|
RemovedDelegateCreatorCalls++;
|
||||||
Log.indent();
|
Log.indent();
|
||||||
foreach (var info in infos) {
|
foreach (var info in infos) {
|
||||||
var di = info.delegateInfo;
|
var di = info.delegateInfo;
|
||||||
add(info.method, di.field);
|
add(info.method, di.field);
|
||||||
addDelegateInfo(di);
|
addDelegateInfo(di);
|
||||||
Log.v("Field: {0}, Opcode: {1}, Method: {2} ({3:X8})", di.field.Name, di.callOpcode, di.methodRef, di.methodRef.MetadataToken.ToUInt32());
|
Log.v("Field: {0}, Opcode: {1}, Method: {2} ({3:X8})",
|
||||||
|
Utils.removeNewlines(di.field.Name),
|
||||||
|
di.callOpcode,
|
||||||
|
Utils.removeNewlines(di.methodRef),
|
||||||
|
di.methodRef.MetadataToken.ToUInt32());
|
||||||
}
|
}
|
||||||
Log.deIndent();
|
Log.deIndent();
|
||||||
delegateTypesDict[type] = true;
|
delegateTypesDict[type] = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user