MCPcopy Create free account
hub / github.com/qilingframework/qiling / make_ldr_data

Function make_ldr_data

qiling/os/windows/structs.py:924–943  ·  view source on GitHub ↗
(archbits: int)

Source from the content-addressed store, hash-verified

922
923
924def make_ldr_data(archbits: int):
925 native_type = struct.get_native_type(archbits)
926 Struct = struct.get_aligned_struct(archbits)
927
928 ListEntry = make_list_entry(archbits)
929
930 class PEB_LDR_DATA(Struct):
931 _fields_ = (
932 ('Length', ctypes.c_uint32),
933 ('Initialized', ctypes.c_uint32),
934 ('SsHandle', native_type),
935 ('InLoadOrderModuleList', ListEntry),
936 ('InMemoryOrderModuleList', ListEntry),
937 ('InInitializationOrderModuleList', ListEntry),
938 ('EntryInProgress', native_type),
939 ('ShutdownInProgress', native_type),
940 ('selfShutdownThreadId', native_type)
941 )
942
943 return PEB_LDR_DATA
944
945
946def make_ldr_data_table_entry(archbits: int):

Callers 1

init_ldr_dataMethod · 0.85

Calls 1

make_list_entryFunction · 0.85

Tested by

no test coverage detected