Created
July 2, 2013 22:59
-
-
Save earino/5913990 to your computer and use it in GitHub Desktop.
Disassembled output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.file "test.c" | |
.section .debug_abbrev,"",@progbits | |
.Ldebug_abbrev0: | |
.section .debug_info,"",@progbits | |
.Ldebug_info0: | |
.section .debug_line,"",@progbits | |
.Ldebug_line0: | |
.text | |
.Ltext0: | |
.cfi_sections .debug_frame | |
.section .rodata | |
.align 4 | |
.LC0: | |
.string "this is a test in which I eat bugs.\n" | |
.text | |
.globl main | |
.type main, @function | |
main: | |
.LFB0: | |
.file 1 "test.c" | |
.loc 1 1 0 | |
.cfi_startproc | |
pushl %ebp | |
.cfi_def_cfa_offset 8 | |
.cfi_offset 5, -8 | |
movl %esp, %ebp | |
.cfi_def_cfa_register 5 | |
subl $16, %esp | |
.loc 1 2 0 | |
movl $.LC0, -4(%ebp) | |
.loc 1 3 0 | |
movl $0, %eax | |
.loc 1 4 0 | |
leave | |
.cfi_restore 5 | |
.cfi_def_cfa 4, 4 | |
ret | |
.cfi_endproc | |
.LFE0: | |
.size main, .-main | |
.Letext0: | |
.section .debug_info | |
.long 0x82 | |
.value 0x3 | |
.long .Ldebug_abbrev0 | |
.byte 0x4 | |
.uleb128 0x1 | |
.long .LASF3 | |
.byte 0x1 | |
.long .LASF4 | |
.long .LASF5 | |
.long .Ltext0 | |
.long .Letext0 | |
.long .Ldebug_line0 | |
.uleb128 0x2 | |
.byte 0x1 | |
.long .LASF6 | |
.byte 0x1 | |
.byte 0x1 | |
.byte 0x1 | |
.long 0x6b | |
.long .LFB0 | |
.long .LFE0 | |
.byte 0x1 | |
.byte 0x9c | |
.long 0x6b | |
.uleb128 0x3 | |
.long .LASF0 | |
.byte 0x1 | |
.byte 0x1 | |
.long 0x6b | |
.byte 0x2 | |
.byte 0x91 | |
.sleb128 0 | |
.uleb128 0x3 | |
.long .LASF1 | |
.byte 0x1 | |
.byte 0x1 | |
.long 0x72 | |
.byte 0x2 | |
.byte 0x91 | |
.sleb128 4 | |
.uleb128 0x4 | |
.long .LASF7 | |
.byte 0x1 | |
.byte 0x2 | |
.long 0x78 | |
.byte 0x2 | |
.byte 0x91 | |
.sleb128 -12 | |
.byte 0x0 | |
.uleb128 0x5 | |
.byte 0x4 | |
.byte 0x5 | |
.string "int" | |
.uleb128 0x6 | |
.byte 0x4 | |
.long 0x78 | |
.uleb128 0x6 | |
.byte 0x4 | |
.long 0x7e | |
.uleb128 0x7 | |
.byte 0x1 | |
.byte 0x6 | |
.long .LASF2 | |
.byte 0x0 | |
.section .debug_abbrev | |
.uleb128 0x1 | |
.uleb128 0x11 | |
.byte 0x1 | |
.uleb128 0x25 | |
.uleb128 0xe | |
.uleb128 0x13 | |
.uleb128 0xb | |
.uleb128 0x3 | |
.uleb128 0xe | |
.uleb128 0x1b | |
.uleb128 0xe | |
.uleb128 0x11 | |
.uleb128 0x1 | |
.uleb128 0x12 | |
.uleb128 0x1 | |
.uleb128 0x10 | |
.uleb128 0x6 | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x2 | |
.uleb128 0x2e | |
.byte 0x1 | |
.uleb128 0x3f | |
.uleb128 0xc | |
.uleb128 0x3 | |
.uleb128 0xe | |
.uleb128 0x3a | |
.uleb128 0xb | |
.uleb128 0x3b | |
.uleb128 0xb | |
.uleb128 0x27 | |
.uleb128 0xc | |
.uleb128 0x49 | |
.uleb128 0x13 | |
.uleb128 0x11 | |
.uleb128 0x1 | |
.uleb128 0x12 | |
.uleb128 0x1 | |
.uleb128 0x40 | |
.uleb128 0xa | |
.uleb128 0x1 | |
.uleb128 0x13 | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x3 | |
.uleb128 0x5 | |
.byte 0x0 | |
.uleb128 0x3 | |
.uleb128 0xe | |
.uleb128 0x3a | |
.uleb128 0xb | |
.uleb128 0x3b | |
.uleb128 0xb | |
.uleb128 0x49 | |
.uleb128 0x13 | |
.uleb128 0x2 | |
.uleb128 0xa | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x4 | |
.uleb128 0x34 | |
.byte 0x0 | |
.uleb128 0x3 | |
.uleb128 0xe | |
.uleb128 0x3a | |
.uleb128 0xb | |
.uleb128 0x3b | |
.uleb128 0xb | |
.uleb128 0x49 | |
.uleb128 0x13 | |
.uleb128 0x2 | |
.uleb128 0xa | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x5 | |
.uleb128 0x24 | |
.byte 0x0 | |
.uleb128 0xb | |
.uleb128 0xb | |
.uleb128 0x3e | |
.uleb128 0xb | |
.uleb128 0x3 | |
.uleb128 0x8 | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x6 | |
.uleb128 0xf | |
.byte 0x0 | |
.uleb128 0xb | |
.uleb128 0xb | |
.uleb128 0x49 | |
.uleb128 0x13 | |
.byte 0x0 | |
.byte 0x0 | |
.uleb128 0x7 | |
.uleb128 0x24 | |
.byte 0x0 | |
.uleb128 0xb | |
.uleb128 0xb | |
.uleb128 0x3e | |
.uleb128 0xb | |
.uleb128 0x3 | |
.uleb128 0xe | |
.byte 0x0 | |
.byte 0x0 | |
.byte 0x0 | |
.section .debug_pubnames,"",@progbits | |
.long 0x17 | |
.value 0x2 | |
.long .Ldebug_info0 | |
.long 0x86 | |
.long 0x25 | |
.string "main" | |
.long 0x0 | |
.section .debug_aranges,"",@progbits | |
.long 0x1c | |
.value 0x2 | |
.long .Ldebug_info0 | |
.byte 0x4 | |
.byte 0x0 | |
.value 0x0 | |
.value 0x0 | |
.long .Ltext0 | |
.long .Letext0-.Ltext0 | |
.long 0x0 | |
.long 0x0 | |
.section .debug_str,"MS",@progbits,1 | |
.LASF1: | |
.string "argv" | |
.LASF5: | |
.string "/home/earino" | |
.LASF7: | |
.string "string" | |
.LASF3: | |
.string "GNU C 4.4.7 20120313 (Red Hat 4.4.7-3)" | |
.LASF0: | |
.string "argc" | |
.LASF4: | |
.string "test.c" | |
.LASF6: | |
.string "main" | |
.LASF2: | |
.string "char" | |
.ident "GCC: (GNU) 4.4.7 20120313 (Red Hat 4.4.7-3)" | |
.section .note.GNU-stack,"",@progbits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment