(binary)
| 101 | |
| 102 | @exceptions_handler(Exception) |
| 103 | def 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 | |
| 115 | def main(): |