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

Function print_functions

api/python/examples/elf_reader.py:447–453  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

445
446@exceptions_handler(Exception)
447def print_functions(binary):
448 print("== Functions ==\n")
449
450 functions = binary.functions
451 print("Functions: ({:d})".format(len(functions)))
452 for idx, f in enumerate(functions):
453 print(" [{:d}] {}: 0x{:x}".format(idx, f.name, f.address))
454
455
456def main():

Callers 1

mainFunction · 0.70

Calls 2

printFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected