58 lines · plain
1.section .debug_line,"",@progbits2# Leading good section3.long .Lunit1_end - .Lunit1_start # Length of Unit (DWARF-32 format)4.Lunit1_start:5.short 4 # DWARF version number6.long .Lprologue1_end-.Lprologue1_start # Length of Prologue7.Lprologue1_start:8.byte 1 # Minimum Instruction Length9.byte 1 # Maximum Operations per Instruction10.byte 1 # Default is_stmt11.byte -5 # Line Base12.byte 14 # Line Range13.byte 13 # Opcode Base14.byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths15.asciz "dir1" # Include table16.asciz "dir2"17.byte 018.asciz "file1" # File table19.byte 0, 0, 020.asciz "file2"21.byte 1, 0, 022.byte 023.Lprologue1_end:24.byte 0, 9, 2 # DW_LNE_set_address25.quad 0x0badbeef26.byte 0, 1, 1 # DW_LNE_end_sequence27.Lunit1_end:28 29# Malformed section30.long 0xfffffffe # reserved unit length31 32# Trailing good section33.long .Lunit3_end - .Lunit3_start # Length of Unit (DWARF-32 format)34.Lunit3_start:35.short 4 # DWARF version number36.long .Lprologue3_end-.Lprologue3_start # Length of Prologue37.Lprologue3_start:38.byte 1 # Minimum Instruction Length39.byte 1 # Maximum Operations per Instruction40.byte 1 # Default is_stmt41.byte -5 # Line Base42.byte 14 # Line Range43.byte 13 # Opcode Base44.byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # Standard Opcode Lengths45.asciz "dir1" # Include table46.asciz "dir2"47.byte 048.asciz "file1" # File table49.byte 0, 0, 050.asciz "file2"51.byte 1, 0, 052.byte 053.Lprologue3_end:54.byte 0, 9, 2 # DW_LNE_set_address55.quad 0xcafebabe56.byte 0, 1, 1 # DW_LNE_end_sequence57.Lunit3_end:58