File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
qiling/loader/macho_parser Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 4545LC_LOAD_DYLINKER = 0x0000000E
4646LC_MAIN = 0x80000028
4747LC_LOAD_DYLIB = 0x0000000C
48+ LC_LOAD_WEAK_DYLIB = 0x80000018
4849LC_ENCRYPTION_INFO_64 = 0x0000002C
4950LC_BUILD_VERSION = 0x00000032
5051LC_DYLD_EXPORTS_TRIE = 0x80000033
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ def get_complete(self):
3939 LC_LOAD_DYLINKER : LoadDylinker ,
4040 LC_MAIN : LoadMain ,
4141 LC_LOAD_DYLIB : LoadDyLib ,
42+ LC_LOAD_WEAK_DYLIB : LoadWeakDyLib ,
4243 LC_ENCRYPTION_INFO_64 : LoadEncryptionInfo64 ,
4344 LC_DYLD_EXPORTS_TRIE : LoadDyldExportTrie ,
4445 LC_DYLD_CHAINED_FIXUPS : LoadDyldChainedFixups ,
@@ -255,6 +256,11 @@ def get_complete(self):
255256 pass
256257
257258
259+ class LoadWeakDyLib (LoadDyLib ):
260+ def __init__ (self , data ):
261+ super ().__init__ (data )
262+
263+
258264class LoadUnixThread (LoadCommand ):
259265
260266 def __init__ (self , data ):
You can’t perform that action at this time.
0 commit comments