refactor: rename (macho) ld64 to lld

Change some references to the macho ld64 to lld, which is now what is
used.
This commit is contained in:
fanquake
2024-06-10 13:20:54 +01:00
parent d851451705
commit 7cbfd7a7ce
2 changed files with 5 additions and 5 deletions

View File

@@ -239,7 +239,7 @@ def check_MACHO_sdk(binary) -> bool:
return True
return False
def check_MACHO_ld64(binary) -> bool:
def check_MACHO_lld(binary) -> bool:
if binary.build_version.tools[0].version == [18, 1, 6]:
return True
return False
@@ -282,7 +282,7 @@ lief.EXE_FORMATS.MACHO: [
('DYNAMIC_LIBRARIES', check_MACHO_libraries),
('MIN_OS', check_MACHO_min_os),
('SDK', check_MACHO_sdk),
('LD64', check_MACHO_ld64),
('LLD', check_MACHO_lld),
],
lief.EXE_FORMATS.PE: [
('DYNAMIC_LIBRARIES', check_PE_libraries),