File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
BinaryObjectScanner/Protection Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,19 @@ public partial class Macrovision
102102 if ( name . OptionalEquals ( "SafeDisc" , StringComparison . OrdinalIgnoreCase ) )
103103 return "SafeDisc" ;
104104
105- // Found in Redump entries 20729 and 65569.
106- // Get the debug data
107- if ( pex . FindCodeViewDebugTableByPath ( "SafeDisc" ) . Count > 0 )
108- return "SafeDisc" ;
109- if ( pex . FindCodeViewDebugTableByPath ( "Safedisk" ) . Count > 0 )
110- return "SafeDisc" ;
105+ try
106+ {
107+ // Found in Redump entries 20729 and 65569.
108+ // Get the debug data
109+ if ( pex . FindCodeViewDebugTableByPath ( "SafeDisc" ) . Count > 0 )
110+ return "SafeDisc" ;
111+ if ( pex . FindCodeViewDebugTableByPath ( "Safedisk" ) . Count > 0 )
112+ return "SafeDisc" ;
113+ }
114+ catch
115+ {
116+ // Absorb inconsistent debug data errors
117+ }
111118
112119 // TODO: Investigate various section names:
113120 // "STLPORT_" - Found in Redump entry 11638.
You can’t perform that action at this time.
0 commit comments