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

Function print_classes

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

Source from the content-addressed store, hash-verified

89
90@exceptions_handler(Exception)
91def print_classes(binary):
92 format_str = "{:<33} {:<30}"
93 format_hex = "{:<33} 0x{:<28x}"
94 format_dec = "{:<33} {:<30d}"
95
96 classes = binary.classes
97
98 print("== Classes ==")
99 for cls in classes:
100 print(cls)
101
102@exceptions_handler(Exception)
103def print_methods(binary):

Callers 1

mainFunction · 0.70

Calls 1

printFunction · 0.50

Tested by

no test coverage detected