Functions | |
def | find_used_labels (asm) |
def | is_identifier (tk) |
def | main () |
def | normalize_labels (asm) |
def | process_asm (asm) |
def | process_identifiers (l) |
def | transform_labels (asm) |
strip_asm.py - Cleanup ASM output for the specified file
def strip_asm.find_used_labels | ( | asm | ) |
Definition at line 12 of file strip_asm.py.
def strip_asm.is_identifier | ( | tk | ) |
Definition at line 52 of file strip_asm.py.
def strip_asm.main | ( | ) |
Definition at line 123 of file strip_asm.py.
def strip_asm.normalize_labels | ( | asm | ) |
Definition at line 22 of file strip_asm.py.
def strip_asm.process_asm | ( | asm | ) |
Strip the ASM of unwanted directives and lines
Definition at line 84 of file strip_asm.py.
def strip_asm.process_identifiers | ( | l | ) |
process_identifiers - process all identifiers and modify them to have consistent names across all platforms; specifically across ELF and MachO. For example, MachO inserts an additional understore at the beginning of names. This function removes that.
Definition at line 64 of file strip_asm.py.
def strip_asm.transform_labels | ( | asm | ) |
Definition at line 39 of file strip_asm.py.