Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
480 lines (477 sloc) 8.26 KB
.file "test3.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: test3.c -D_FORTIFY_SOURCE=2 -mtune=generic
# -auxbase-strip test3.s -g -O2 -fverbose-asm -fstack-protector
# options enabled: -falign-loops -fargument-alias
# -fasynchronous-unwind-tables -fauto-inc-dec -fbranch-count-reg
# -fcaller-saves -fcommon -fcprop-registers -fcrossjumping
# -fcse-follow-jumps -fdefer-pop -fdelete-null-pointer-checks
# -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types
# -fexpensive-optimizations -fforward-propagate -ffunction-cse -fgcse
# -fgcse-lm -fguess-branch-probability -fident -fif-conversion
# -fif-conversion2 -findirect-inlining -finline
# -finline-functions-called-once -finline-small-functions -fipa-cp
# -fipa-pure-const -fipa-reference -fira-share-save-slots
# -fira-share-spill-slots -fivopts -fkeep-static-consts
# -fleading-underscore -fmath-errno -fmerge-constants -fmerge-debug-strings
# -fmove-loop-invariants -fomit-frame-pointer -foptimize-register-move
# -foptimize-sibling-calls -fpeephole -fpeephole2 -freg-struct-return
# -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop
# -fsched-interblock -fsched-spec -fsched-stalled-insns-dep
# -fschedule-insns2 -fsigned-zeros -fsplit-ivs-in-unroller
# -fsplit-wide-types -fstack-protector -fstrict-aliasing -fstrict-overflow
# -fthread-jumps -ftoplevel-reorder -ftrapping-math -ftree-builtin-call-dce
# -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename -ftree-cselim
# -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im
# -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops=
# -ftree-pre -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-sra
# -ftree-switch-conversion -ftree-ter -ftree-vect-loop-version -ftree-vrp
# -funit-at-a-time -funwind-tables -fvar-tracking -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
.p2align 4,,15
.globl ex
.type ex, @function
ex:
.LFB0:
.file 1 "test3.c"
.loc 1 1 0
.cfi_startproc
.LVL0:
.loc 1 2 0
andl $1, %edi #, b
.LVL1:
.loc 1 4 0
leal (%rsi,%rsi,2), %eax #, D.1597
.loc 1 2 0
je .L6 #,
.loc 1 5 0
rep
ret
.p2align 4,,10
.p2align 3
.L6:
.loc 1 2 0
leal (%rsi,%rsi), %eax #, D.1597
.loc 1 5 0
ret
.cfi_endproc
.LFE0:
.size ex, .-ex
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB1:
.loc 1 6 0
.cfi_startproc
.LVL2:
.LBB4:
.LBB5:
.loc 1 8 0
testb $1, (%rsi) #,* argv
.loc 1 4 0
leal (%rdi,%rdi,2), %eax #, D.1643
.loc 1 8 0
je .L11 #,
.LBE5:
.LBE4:
.loc 1 9 0
rep
ret
.p2align 4,,10
.p2align 3
.L11:
.LBB7:
.LBB6:
.loc 1 2 0
leal (%rdi,%rdi), %eax #, D.1643
.LBE6:
.LBE7:
.loc 1 9 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
.Letext0:
.section .debug_info
.long 0x10f
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF3
.byte 0x1
.long .LASF4
.long .LASF5
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.string "ex"
.byte 0x1
.byte 0x1
.byte 0x1
.long 0x51
.byte 0x1
.long 0x51
.uleb128 0x3
.string "b"
.byte 0x1
.byte 0x1
.long 0x51
.uleb128 0x3
.string "a"
.byte 0x1
.byte 0x1
.long 0x51
.byte 0x0
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x5
.long 0x2d
.quad .LFB0
.quad .LFE0
.byte 0x2
.byte 0x77
.sleb128 8
.long 0x83
.uleb128 0x6
.long 0x3e
.byte 0x1
.byte 0x55
.uleb128 0x6
.long 0x47
.byte 0x1
.byte 0x54
.byte 0x0
.uleb128 0x7
.byte 0x1
.long .LASF6
.byte 0x1
.byte 0x6
.byte 0x1
.long 0x51
.quad .LFB1
.quad .LFE1
.byte 0x2
.byte 0x77
.sleb128 8
.long 0xea
.uleb128 0x8
.long .LASF0
.byte 0x1
.byte 0x6
.long 0x51
.byte 0x1
.byte 0x55
.uleb128 0x8
.long .LASF1
.byte 0x1
.byte 0x6
.long 0xea
.byte 0x1
.byte 0x54
.uleb128 0x9
.string "fn"
.byte 0x1
.byte 0x7
.long 0x10c
.uleb128 0xa
.long 0x2d
.quad .LBB4
.long .Ldebug_ranges0+0x0
.byte 0x1
.byte 0x8
.uleb128 0xb
.long 0x7b
.uleb128 0xb
.long 0x74
.byte 0x0
.byte 0x0
.uleb128 0xc
.byte 0x8
.long 0xf0
.uleb128 0xd
.byte 0x1
.byte 0x6
.long .LASF2
.uleb128 0xe
.byte 0x1
.long 0x51
.long 0x10c
.uleb128 0xf
.long 0x51
.uleb128 0xf
.long 0x51
.byte 0x0
.uleb128 0xc
.byte 0x8
.long 0xf7
.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 0x20
.uleb128 0xb
.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
.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 0x31
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0xa
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0x5
.byte 0x0
.uleb128 0x31
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x7
.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 0x8
.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 0x9
.uleb128 0x34
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0xa
.uleb128 0x1d
.byte 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x52
.uleb128 0x1
.uleb128 0x55
.uleb128 0x6
.uleb128 0x58
.uleb128 0xb
.uleb128 0x59
.uleb128 0xb
.byte 0x0
.byte 0x0
.uleb128 0xb
.uleb128 0x5
.byte 0x0
.uleb128 0x31
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0xc
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0xd
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0x0
.byte 0x0
.uleb128 0xe
.uleb128 0x15
.byte 0x1
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0xf
.uleb128 0x5
.byte 0x0
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x1e
.value 0x2
.long .Ldebug_info0
.long 0x113
.long 0x58
.string "ex"
.long 0x83
.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_ranges,"",@progbits
.Ldebug_ranges0:
.quad .LBB4-.Ltext0
.quad .LBE4-.Ltext0
.quad .LBB7-.Ltext0
.quad .LBE7-.Ltext0
.quad 0x0
.quad 0x0
.section .debug_str,"MS",@progbits,1
.LASF6:
.string "main"
.LASF1:
.string "argv"
.LASF0:
.string "argc"
.LASF5:
.string "/home/jason/git/narcissisticme.com/fnptrs"
.LASF2:
.string "char"
.LASF3:
.string "GNU C 4.4.3"
.LASF4:
.string "test3.c"
.ident "GCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3"
.section .note.GNU-stack,"",@progbits