.file "drop_privs.c"
# GNU C (Ubuntu/Linaro 4.7.3-1ubuntu1) version 4.7.3 (i686-linux-gnu)
# compiled by GNU C version 4.7.3, GMP version 5.0.5, MPFR version 3.1.1-p2, MPC version 0.9
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# angegebene Optionen: -fpreprocessed drop_privs.i -mtune=generic
# -march=i686 -auxbase-strip drop_privs -g -fno-stack-protector
# -fverbose-asm
# angeschaltete Optionen: -fasynchronous-unwind-tables -fauto-inc-dec
# -fbranch-count-reg -fcommon -fdebug-types-section
# -fdelete-null-pointer-checks -fdwarf2-cfi-asm -fearly-inlining
# -feliminate-unused-debug-types -ffunction-cse -fgcse-lm -fgnu-runtime
# -fident -finline-atomics -fira-share-save-slots -fira-share-spill-slots
# -fivopts -fkeep-static-consts -fleading-underscore -fmath-errno
# -fmerge-debug-strings -fmove-loop-invariants -fpcc-struct-return
# -fpeephole -fprefetch-loop-arrays -fsched-critical-path-heuristic
# -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
# -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
# -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fshow-column
# -fsigned-zeros -fsplit-ivs-in-unroller -fstrict-volatile-bitfields
# -ftrapping-math -ftree-coalesce-vars -ftree-cselim -ftree-forwprop
# -ftree-loop-if-convert -ftree-loop-im -ftree-loop-ivcanon
# -ftree-loop-optimize -ftree-parallelize-loops= -ftree-phiprop -ftree-pta
# -ftree-reassoc -ftree-scev-cprop -ftree-slp-vectorize
# -ftree-vect-loop-version -funit-at-a-time -funwind-tables
# -fvect-cost-model -fverbose-asm -fzero-initialized-in-bss -m32 -m80387
# -m96bit-long-double -maccumulate-outgoing-args -malign-stringops
# -mfancy-math-387 -mfp-ret-in-387 -mglibc -mieee-fp -mno-red-zone
# -mno-sse4 -mpush-args -msahf -mtls-direct-seg-refs
.text
.Ltext0:
.globl lowered_priviledge_function
.type lowered_priviledge_function, @function
lowered_priviledge_function:
.LFB0:
.file 1 "drop_privs.c"
.loc 1 4 0
.cfi_startproc
pushl %ebp #
.LCFI0:
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.LCFI1:
.cfi_def_cfa_register 5
subl $88, %esp #,
.loc 1 7 0
movl $5, (%esp) #,
call seteuid #
.loc 1 9 0
movl 8(%ebp), %eax # ptr, tmp59
movl %eax, 4(%esp) # tmp59,
leal -58(%ebp), %eax #, tmp60
movl %eax, (%esp) # tmp60,
call strcpy #
.loc 1 10 0
leave
.LCFI2:
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size lowered_priviledge_function, .-lowered_priviledge_function
.globl main
.type main, @function
main:
.LFB1:
.loc 1 12 0
.cfi_startproc
pushl %ebp #
.LCFI3:
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.LCFI4:
.cfi_def_cfa_register 5
andl $-16, %esp #,
subl $16, %esp #,
.loc 1 13 0
cmpl $0, 8(%ebp) #, argc
jle .L4 #,
.loc 1 14 0
movl 12(%ebp), %eax # argv, tmp62
addl $4, %eax #, D.2194
movl (%eax), %eax # *D.2194_3, D.2195
movl %eax, (%esp) # D.2195,
call lowered_priviledge_function #
.L4:
.loc 1 15 0
leave
.LCFI5:
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1:
.size main, .-main
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x10b
.value 0x2
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .LASF13
.byte 0x1
.long .LASF14
.long .LASF15
.long .Ltext0
.long .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x4
.byte 0x7
.long .LASF0
.uleb128 0x2
.byte 0x4
.byte 0x7
.long .LASF1
.uleb128 0x2
.byte 0x2
.byte 0x7
.long .LASF2
.uleb128 0x3
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x2
.byte 0x1
.byte 0x6
.long .LASF3
.uleb128 0x2
.byte 0x1
.byte 0x8
.long .LASF4
.uleb128 0x2
.byte 0x4
.byte 0x7
.long .LASF5
.uleb128 0x2
.byte 0x1
.byte 0x6
.long .LASF6
.uleb128 0x2
.byte 0x2
.byte 0x5
.long .LASF7
.uleb128 0x2
.byte 0x8
.byte 0x5
.long .LASF8
.uleb128 0x2
.byte 0x8
.byte 0x7
.long .LASF9
.uleb128 0x2
.byte 0x4
.byte 0x5
.long .LASF10
.uleb128 0x4
.byte 0x4
.long 0x41
.uleb128 0x5
.byte 0x1
.long .LASF16
.byte 0x1
.byte 0x4
.byte 0x1
.long .LFB0
.long .LFE0
.long .LLST0
.byte 0x1
.long 0xb7
.uleb128 0x6
.string "ptr"
.byte 0x1
.byte 0x4
.long 0xb7
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0x7
.long .LASF17
.byte 0x1
.byte 0x5
.long 0xbd
.byte 0x3
.byte 0x91
.sleb128 -66
.byte 0
.uleb128 0x4
.byte 0x4
.long 0x48
.uleb128 0x8
.long 0x41
.long 0xcd
.uleb128 0x9
.long 0x2c
.byte 0x31
.byte 0
.uleb128 0xa
.byte 0x1
.long .LASF18
.byte 0x1
.byte 0xc
.byte 0x1
.long 0x3a
.long .LFB1
.long .LFE1
.long .LLST1
.byte 0x1
.long 0x108
.uleb128 0xb
.long .LASF11
.byte 0x1
.byte 0xc
.long 0x3a
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0xb
.long .LASF12
.byte 0x1
.byte 0xc
.long 0x108
.byte 0x2
.byte 0x91
.sleb128 4
.byte 0
.uleb128 0x4
.byte 0x4
.long 0x79
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.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 0
.byte 0
.uleb128 0x2
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.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 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x1
.byte 0x1
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0x21
.byte 0
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2f
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xa
.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 0x2116
.uleb128 0xc
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB0-.Ltext0
.long .LCFI0-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long .LCFI0-.Ltext0
.long .LCFI1-.Ltext0
.value 0x2
.byte 0x74
.sleb128 8
.long .LCFI1-.Ltext0
.long .LCFI2-.Ltext0
.value 0x2
.byte 0x75
.sleb128 8
.long .LCFI2-.Ltext0
.long .LFE0-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long 0
.long 0
.LLST1:
.long .LFB1-.Ltext0
.long .LCFI3-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long .LCFI3-.Ltext0
.long .LCFI4-.Ltext0
.value 0x2
.byte 0x74
.sleb128 8
.long .LCFI4-.Ltext0
.long .LCFI5-.Ltext0
.value 0x2
.byte 0x75
.sleb128 8
.long .LCFI5-.Ltext0
.long .LFE1-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long 0
.long 0
.section .debug_aranges,"",@progbits
.long 0x1c
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0
.value 0
.value 0
.long .Ltext0
.long .Letext0-.Ltext0
.long 0
.long 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF8:
.string "long long int"
.LASF0:
.string "unsigned int"
.LASF15:
.string "/home/tomycat/Dokumente/hack"
.LASF18:
.string "main"
.LASF13:
.string "GNU C 4.7.3"
.LASF5:
.string "long unsigned int"
.LASF9:
.string "long long unsigned int"
.LASF16:
.string "lowered_priviledge_function"
.LASF4:
.string "unsigned char"
.LASF3:
.string "char"
.LASF10:
.string "long int"
.LASF7:
.string "short int"
.LASF11:
.string "argc"
.LASF2:
.string "short unsigned int"
.LASF6:
.string "signed char"
.LASF14:
.string "drop_privs.c"
.LASF17:
.string "buffer"
.LASF1:
.string "sizetype"
.LASF12:
.string "argv"
.ident "GCC: (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3"
.section .note.GNU-stack,"",@progbits