Ignore ArgumentOutOfRangeException when loading files

This commit is contained in:
de4dot 2011-10-20 12:28:15 +02:00
parent 8e83bc22f2
commit d76afbf8a1

View File

@ -172,6 +172,10 @@ namespace de4dot {
catch (BadImageFormatException) {
return false; // Not a .NET file
}
catch (ArgumentOutOfRangeException) {
Log.w("Could not load file (argument out of range): {0}", file.Filename);
return false;
}
catch (UnauthorizedAccessException) {
Log.w("Could not load file (not authorized): {0}", file.Filename);
return false;