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

Function print_functions

api/python/examples/macho_reader.py:667–672  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

665
666@exceptions_handler(Exception)
667def print_functions(binary):
668 print("== Functions ==\n")
669
670 print("Functions: ({:d})".format(len(binary.functions)))
671 for idx, f in enumerate(binary.functions):
672 print(" [{:d}] {}: 0x{:x}".format(idx, f.name, f.address))
673
674@exceptions_handler(Exception)
675def print_build_version(binary):

Callers 1

mainFunction · 0.70

Calls 2

printFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected