mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-29 22:04:35 +00:00
10 lines
231 B
Python
10 lines
231 B
Python
|
import lief
|
||
|
import sys
|
||
|
|
||
|
pe = lief.parse(sys.argv[1])
|
||
|
exports = pe.get_export()
|
||
|
|
||
|
for e in filter(lambda e: e.is_forwarded, exports.entries):
|
||
|
fwd = e.forward_information
|
||
|
print(f"{e.name:<35} -> {fwd.library}.{fwd.function}")
|