Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
368 lines (365 sloc) 6.35 KB
.file "test4.c"
# GNU C (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu)
# compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: test4.c -D_FORTIFY_SOURCE=2 -mtune=generic
# -auxbase-strip test4.s -g -O0 -fverbose-asm -fstack-protector
# options enabled: -falign-loops -fargument-alias
# -fasynchronous-unwind-tables -fauto-inc-dec -fbranch-count-reg -fcommon
# -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types
# -ffunction-cse -fgcse-lm -fident -finline-functions-called-once
# -fira-share-save-slots -fira-share-spill-slots -fivopts
# -fkeep-static-consts -fleading-underscore -fmath-errno
# -fmerge-debug-strings -fmove-loop-invariants -fpeephole
# -freg-struct-return -fsched-interblock -fsched-spec
# -fsched-stalled-insns-dep -fsigned-zeros -fsplit-ivs-in-unroller
# -fstack-protector -ftrapping-math -ftree-cselim -ftree-loop-im
# -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops=
# -ftree-reassoc -ftree-scev-cprop -ftree-switch-conversion
# -ftree-vect-loop-version -funit-at-a-time -funwind-tables
# -fvect-cost-model -fverbose-asm -fzero-initialized-in-bss
# -m128bit-long-double -m64 -m80387 -maccumulate-outgoing-args
# -malign-stringops -mfancy-math-387 -mfp-ret-in-387 -mfused-madd -mglibc
# -mieee-fp -mmmx -mno-sse4 -mpush-args -mred-zone -msse -msse2
# -mtls-direct-seg-refs
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
# Compiler executable checksum: 2129e1a56226bd6e8f7af5e0a3ff467d
.globl ex
.type ex, @function
ex:
.LFB0:
.file 1 "test4.c"
.loc 1 1 0
.cfi_startproc
pushq %rbp #
.LCFI0:
.cfi_def_cfa_offset 16
movq %rsp, %rbp #,
.cfi_offset 6, -16
.LCFI1:
.cfi_def_cfa_register 6
movl %edi, -4(%rbp) # a, a
.loc 1 2 0
movl -4(%rbp), %eax # a, tmp60
imull -4(%rbp), %eax # a, D.1592
.loc 1 3 0
leave
ret
.cfi_endproc
.LFE0:
.size ex, .-ex
.globl main
.type main, @function
main:
.LFB1:
.loc 1 4 0
.cfi_startproc
pushq %rbp #
.LCFI2:
.cfi_def_cfa_offset 16
movq %rsp, %rbp #,
.cfi_offset 6, -16
.LCFI3:
.cfi_def_cfa_register 6
subq $16, %rsp #,
movl %edi, -4(%rbp) # argc, argc
movq %rsi, -16(%rbp) # argv, argv
.loc 1 5 0
movl $2, %edi #,
call ex #
.loc 1 6 0
leave
ret
.cfi_endproc
.LFE1:
.size main, .-main
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB0-.Ltext0
.quad .LCFI0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI0-.Ltext0
.quad .LCFI1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI1-.Ltext0
.quad .LFE0-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad 0x0
.quad 0x0
.LLST1:
.quad .LFB1-.Ltext0
.quad .LCFI2-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI2-.Ltext0
.quad .LCFI3-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI3-.Ltext0
.quad .LFE1-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad 0x0
.quad 0x0
.section .debug_info
.long 0xb1
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF4
.byte 0x1
.long .LASF5
.long .LASF6
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.string "ex"
.byte 0x1
.byte 0x1
.byte 0x1
.long 0x5e
.quad .LFB0
.quad .LFE0
.long .LLST0
.long 0x5e
.uleb128 0x3
.string "a"
.byte 0x1
.byte 0x1
.long 0x5e
.byte 0x2
.byte 0x91
.sleb128 -20
.byte 0x0
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x5
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x4
.byte 0x1
.long 0x5e
.quad .LFB1
.quad .LFE1
.long .LLST1
.long 0xa7
.uleb128 0x6
.long .LASF1
.byte 0x1
.byte 0x4
.long 0x5e
.byte 0x2
.byte 0x91
.sleb128 -20
.uleb128 0x6
.long .LASF2
.byte 0x1
.byte 0x4
.long 0xa7
.byte 0x2
.byte 0x91
.sleb128 -32
.byte 0x0
.uleb128 0x7
.byte 0x8
.long 0xad
.uleb128 0x8
.byte 0x1
.byte 0x6
.long .LASF3
.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 0x8
.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 0x6
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0x0
.byte 0x0
.uleb128 0x5
.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 0x6
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x6
.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 0x7
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x8
.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 0x1e
.value 0x2
.long .Ldebug_info0
.long 0xb5
.long 0x2d
.string "ex"
.long 0x65
.string "main"
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0x0
.value 0x0
.value 0x0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0x0
.quad 0x0
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "argc"
.LASF6:
.string "/home/jason/git/narcissisticme.com/fnptrs"
.LASF4:
.string "GNU C 4.4.3"
.LASF5:
.string "test4.c"
.LASF2:
.string "argv"
.LASF0:
.string "main"
.LASF3:
.string "char"
.ident "GCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3"
.section .note.GNU-stack,"",@progbits