(binary)
| 408 | |
| 409 | @exceptions_handler(Exception) |
| 410 | def print_segment_split_info(binary): |
| 411 | format_str = "{:<13} {:<30}" |
| 412 | format_hex = "{:<13} 0x{:<28x}" |
| 413 | format_dec = "{:<13} {:<30d}" |
| 414 | |
| 415 | print("== Segment Split Info ==") |
| 416 | |
| 417 | sinfo = binary.segment_split_info |
| 418 | |
| 419 | print(format_hex.format("Offset:", sinfo.data_offset)) |
| 420 | print(format_hex.format("Size:", sinfo.data_size)) |
| 421 | |
| 422 | print("") |
| 423 | |
| 424 | |
| 425 | @exceptions_handler(Exception) |