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

Function print_fields

api/python/examples/dex_reader.py:83–92  ·  view source on GitHub ↗
(dexfile)

Source from the content-addressed store, hash-verified

81
82@exceptions_handler(Exception)
83def print_fields(dexfile):
84 format_str = "{:<33} {:<30}"
85 format_hex = "{:<33} 0x{:<28x}"
86 format_dec = "{:<33} {:<30d}"
87
88 fields = dexfile.fields
89
90 print("== Fields ==")
91 for f in fields:
92 print(f)
93
94@exceptions_handler(Exception)
95def print_methods(dexfile):

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.50

Tested by

no test coverage detected