We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
library.exported_functions
1 parent bcc74d5 commit 131ad2aCopy full SHA for 131ad2a
tools/symbol-check.py
@@ -28,9 +28,9 @@ def get_exported_exports(library) -> list[str]:
28
if library.format == lief.Binary.FORMATS.ELF:
29
return [symbol.name for symbol in library.exported_symbols]
30
elif library.format == lief.Binary.FORMATS.PE:
31
- return [entry.name for entry in library.get_export().entries]
+ return [function.name for function in library.exported_functions]
32
elif library.format == lief.Binary.FORMATS.MACHO:
33
- return [symbol.name[1:] for symbol in library.exported_symbols]
+ return [function.name[1:] for function in library.exported_functions]
34
raise NotImplementedError(f"Unsupported format: {library.format}")
35
36
0 commit comments