@@ -816,17 +816,17 @@ def get_peb32(self) -> interfaces.objects.ObjectInterface:
816816 if self ._context .symbol_space .has_type (
817817 sym_table + constants .BANG + "_EWOW64PROCESS"
818818 ):
819- offset = proc .Peb
819+ offset = proc .Peb
820820
821821 # vista sp0-sp1 and 2003 sp1-sp2
822822 elif self ._context .symbol_space .has_type (
823823 sym_table + constants .BANG + "_WOW64_PROCESS"
824824 ):
825- offset = proc .Wow64
825+ offset = proc .Wow64
826826
827827 else :
828- offset = proc
829-
828+ offset = proc
829+
830830 peb32 = self ._context .object (
831831 f"{ self ._32bit_table_name } { constants .BANG } _PEB32" ,
832832 layer_name = proc_layer_name ,
@@ -838,7 +838,8 @@ def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]:
838838 """Generator for DLLs in the order that they were loaded."""
839839 try :
840840 pebs = [
841- self .get_peb (), self .get_peb32 (),
841+ self .get_peb (),
842+ self .get_peb32 (),
842843 ]
843844 for peb in pebs :
844845 if peb :
@@ -850,7 +851,7 @@ def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]:
850851 peb .Ldr = peb .Ldr .cast ("pointer" , subtype = ldr_data )
851852 sym_table = self ._32bit_table_name
852853 for entry in peb .Ldr .InLoadOrderModuleList .to_list (
853- f"{ sym_table } { constants .BANG } " + "_LDR_DATA_TABLE_ENTRY" ,
854+ f"{ sym_table } { constants .BANG } " + "_LDR_DATA_TABLE_ENTRY" ,
854855 "InLoadOrderLinks" ,
855856 ):
856857 yield entry
@@ -862,7 +863,8 @@ def init_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]:
862863
863864 try :
864865 pebs = [
865- self .get_peb (), self .get_peb32 (),
866+ self .get_peb (),
867+ self .get_peb32 (),
866868 ]
867869 for peb in pebs :
868870 if peb :
@@ -885,7 +887,8 @@ def mem_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]:
885887 """Generator for DLLs in the order that they appear in memory"""
886888 try :
887889 pebs = [
888- self .get_peb (), self .get_peb32 (),
890+ self .get_peb (),
891+ self .get_peb32 (),
889892 ]
890893 for peb in pebs :
891894 if peb :
0 commit comments