Ignore any exceptions during deobfuscation

This commit is contained in:
de4dot 2012-07-28 04:18:11 +02:00
parent 79eee87d76
commit a2c8e99b3f

View File

@ -720,6 +720,7 @@ namespace de4dot.code {
Log.indent();
if (hasNonEmptyBody(method)) {
try {
var blocks = new Blocks(method);
handler(blocks);
@ -729,6 +730,10 @@ namespace de4dot.code {
blocks.getCode(out allInstructions, out allExceptionHandlers);
DotNetUtils.restoreBody(method, allInstructions, allExceptionHandlers);
}
catch {
Log.w("Could not deobfuscate {0:X8}", method.MetadataToken.ToInt32());
}
}
Log.deIndent();
}