(binary)
| 445 | |
| 446 | @exceptions_handler(Exception) |
| 447 | def 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 | |
| 456 | def main(): |