Not ignoring all PE file load exceptions, but added null ref exception
This commit is contained in:
parent
157a125894
commit
500cdcaf1b
|
@ -167,9 +167,12 @@ namespace de4dot {
|
||||||
catch (BadImageFormatException) {
|
catch (BadImageFormatException) {
|
||||||
return; // Not a .NET file
|
return; // Not a .NET file
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (NullReferenceException) {
|
||||||
Log.w("Could not load file: {0}. Use -v to see stack trace.", file.Filename);
|
Log.w("Could not load file: {0}", file.Filename);
|
||||||
Utils.printStackTrace(ex, Log.LogLevel.verbose);
|
return;
|
||||||
|
}
|
||||||
|
catch (IOException) {
|
||||||
|
Log.w("Could not load file: {0}", file.Filename);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user