File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
symbols/windows/extensions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ def _generator(self, procs):
341341 try :
342342 obj_name = entry .NameInfo .Name .String
343343 except (ValueError , exceptions .InvalidAddressException ):
344- obj_name = ""
344+ obj_name = None
345345
346346 except exceptions .InvalidAddressException :
347347 vollog .log (
@@ -359,7 +359,7 @@ def _generator(self, procs):
359359 format_hints .Hex (entry .HandleValue ),
360360 obj_type ,
361361 format_hints .Hex (entry .GrantedAccess ),
362- obj_name ,
362+ obj_name or renderers . NotAvailableValue () ,
363363 ),
364364 )
365365
Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ def get_full_key_name(self) -> str:
138138 kcb = self .KeyControlBlock
139139 while kcb .ParentKcb :
140140 if kcb .ParentKcb .vol .offset in seen :
141- return ""
141+ return None
142142 seen .add (kcb .ParentKcb .vol .offset )
143143
144144 if len (output ) > 128 :
145- return ""
145+ return None
146146
147147 if kcb .NameBlock .Name is None :
148148 break
You can’t perform that action at this time.
0 commit comments