We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cefbf0b commit 092daa2Copy full SHA for 092daa2
contrib/devtools/symbol-check.py
@@ -240,6 +240,11 @@ def check_MACHO_sdk(binary) -> bool:
240
return True
241
return False
242
243
+def check_MACHO_ld64(binary) -> bool:
244
+ if binary.build_version.tools[0].version == [711, 0, 0]:
245
+ return True
246
+ return False
247
+
248
def check_PE_libraries(binary) -> bool:
249
ok: bool = True
250
for dylib in binary.libraries:
@@ -278,6 +283,7 @@ def check_ELF_ABI(binary) -> bool:
278
283
('DYNAMIC_LIBRARIES', check_MACHO_libraries),
279
284
('MIN_OS', check_MACHO_min_os),
280
285
('SDK', check_MACHO_sdk),
286
+ ('LD64', check_MACHO_ld64),
281
287
],
282
288
lief.EXE_FORMATS.PE: [
289
('DYNAMIC_LIBRARIES', check_PE_libraries),
0 commit comments