10 gdb

10 gdb



hakingff’ live:/ramdisk/home/haking


5

printfCnou ue are in fn\n");

6

}

7

8

main O {

9

int a;

10

int b;

11

a=l; b=2;



(gdb) break 5

Breakpoint 1 at 0x804835c: file stack_2.c, linę 5. (gdb) run

Starting program: /ramdisk/home/haking/stack_2


Breakpoint 1, fn (argl=l, arg2=2) at stack_2 5    printfCnou ue are in fn\n");

(gdb) print $esp

$1 = (void *) 0xbffffa90

(gdb) x/24 $esp


0xbffffa90 0xbffffaa0 0xbffffab0 0xbffffac0 0xbffffad0 0xbffffae0 (gdb) |


0x00000004

0x00000001

0x00000002

0x00000001

0x40159238

0xbffffac0


0x00000003

0x00000002

0x00000001

0xbffffb44

0x40015020

0x40038732


.c :5


0xbffffab8

0x00000000

0xbffffbl8

0xbffffb4c

0x080483e8

0x00000000


0x0804839a

0x40159238

0x40038770

0x00000000

0xbffffbl8

0x00000000



Wyszukiwarka

Podobne podstrony:
18 gdb hakingff’ live:/ramdisk/home/haking ) main (int argc, char *argv[]) { fn(argv[ll); print
08 gdb v ^ 1^_hakingg live:/ramdisk/home/haking_j n □ X Type "shou copying" to see the con
11 gdb hakingff’ live:/ramdisk/home/haking m 0xbffffaa0:
12 gdb m hakingff’ live:/ramdisk/home/haking 0xbffffae0:
hakingg’ live:/ramdisk/home/haking There is absolutely no uarranty for GDB. Type "shou uarranty
16 gdb hakingff’ live:/ramdisk/home/haking (gdb) list 1
18 gdb 2 hakingff’ live:/ramdisk/home/haking (gdb) break 3 Breakpoint 1 at 0x8048382: file stack_l.c
29 gdb □ hakingff live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon This GDB uas configured as
39 gdb ** ^ __haking@>live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon__) ° □ X m [haking@live
lazyjoe F ->- haking@live:/ramdisk/home/haking/lazyjoe/listings Plik Edycja Widok lerminal Zakła
lazyjoeb F ->- haking@live:/ramdisk/home/haking/lazyjoe/listings Plik Edycja Widok lerminal Zakł
hakingff’ live:/ramdisk/home/haking &buf=0xbffff9b0 num=272 Segmentation fault (core
19 1 r—    :-^ ^ «« ^ 1^__hakingg live:/ramdisk/home/haking_ J n □ X [hakingQlive hak
&buf=0xbffff9b0 f haking£> live:/ramdisk/home/haking [haking@live haking]$ ./egg_2.pg I nc
36 hexdump n □ X ł_hakingg’ live:/ramdisk/home/haking_J [hakingQlive haking]$ echo -en
hakingśP live:/ramdisk/home/haking <7    ^ m [haking@live haking]$ ./vuln_2 m
38 gdb □ X haking£live:/ramdisk/home/haking/libgtop-1.0.6/src/daemon [haking@live daemon]$ gdb
15 gdb haking?Plive:/ramdisk/home/haking Type "shou copying" to see the conditions. There
haking?Plive:/ramdisk/home/haking 7    printf("num=%d


więcej podobnych podstron