MCPcopy Create free account
hub / github.com/lief-project/LIEF / disassemble

Function disassemble

api/python/examples/disassembler.py:12–14  ·  view source on GitHub ↗
(target: lief.Binary, addr: int)

Source from the content-addressed store, hash-verified

10from pathlib import Path
11
12def disassemble(target: lief.Binary, addr: int):
13 for inst in target.disassemble(addr):
14 print(inst)
15
16def main() -> int:
17 parser = argparse.ArgumentParser()

Callers 1

mainFunction · 0.70

Calls 2

printFunction · 0.50
disassembleMethod · 0.45

Tested by

no test coverage detected