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 aa2ce2d commit 4289dd0Copy full SHA for 4289dd0
contrib/devtools/symbol-check.py
@@ -212,6 +212,11 @@ def check_exported_symbols(binary) -> bool:
212
ok = False
213
return ok
214
215
+def check_RUNPATH(binary) -> bool:
216
+ assert binary.get(lief.ELF.DYNAMIC_TAGS.RUNPATH) is None
217
+ assert binary.get(lief.ELF.DYNAMIC_TAGS.RPATH) is None
218
+ return True
219
+
220
def check_ELF_libraries(binary) -> bool:
221
ok: bool = True
222
for library in binary.libraries:
@@ -277,6 +282,7 @@ def check_ELF_ABI(binary) -> bool:
277
282
('LIBRARY_DEPENDENCIES', check_ELF_libraries),
278
283
('INTERPRETER_NAME', check_ELF_interpreter),
279
284
('ABI', check_ELF_ABI),
285
+ ('RUNPATH', check_RUNPATH),
280
286
],
281
287
lief.EXE_FORMATS.MACHO: [
288
('DYNAMIC_LIBRARIES', check_MACHO_libraries),
0 commit comments