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

Function print_methods

api/python/examples/oat_reader.py:103–112  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

101
102@exceptions_handler(Exception)
103def print_methods(binary):
104 format_str = "{:<33} {:<30}"
105 format_hex = "{:<33} 0x{:<28x}"
106 format_dec = "{:<33} {:<30d}"
107
108 methods = binary.methods
109
110 print("== Methods ==")
111 for m in methods:
112 print(m)
113
114
115def main():

Callers 1

mainFunction · 0.70

Calls 1

printFunction · 0.50

Tested by

no test coverage detected