Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) i functions
- All defined functions:
- Non-debugging symbols:
- 0x0804849c _init
- 0x080484d0 printf@plt
- 0x080484e0 fflush@plt
- 0x080484f0 getchar@plt
- 0x08048500 fgets@plt
- 0x08048510 time@plt
- 0x08048520 puts@plt
- 0x08048530 system@plt
- 0x08048540 exit@plt
- 0x08048550 srand@plt
- 0x08048560 __libc_start_main@plt
- 0x08048570 setvbuf@plt
- 0x08048580 memset@plt
- 0x08048590 rand@plt
- 0x080485a0 __isoc99_scanf@plt
- 0x080485b0 __gmon_start__@plt
- 0x080485c0 _start
- 0x080485f0 __x86.get_pc_thunk.bx
- 0x08048600 deregister_tm_clones
- 0x08048630 register_tm_clones
- 0x08048670 __do_global_dtors_aux
- 0x08048690 frame_dummy
- 0x080486bb askQuestion
- 0x0804875a runChallenge
- 0x080488c8 printWelcome
- 0x080488e4 identify
- 0x08048978 sys
- 0x080489a8 main
- 0x08048a10 __libc_csu_init
- 0x08048a70 __libc_csu_fini
- 0x08048a74 _fini
- 0xf7fd6a30 _dl_catch_exception@plt
- 0xf7fd6a40 malloc@plt
- 0xf7fd6a50 _dl_signal_exception@plt
- 0xf7fd6a60 calloc@plt
- 0xf7fd6a70 realloc@plt
- 0xf7fd6a80 _dl_signal_error@plt
- 0xf7fd6a90 _dl_catch_error@plt
- 0xf7fd6aa0 free@plt
- 0xf7fdf060 _dl_rtld_di_serinfo
- 0xf7fe5db0 _dl_debug_state
- 0xf7fe75d0 _dl_mcount
- 0xf7fe7e80 _dl_get_tls_static_info
- 0xf7fe7f70 _dl_allocate_tls_init
- 0xf7fe8200 _dl_allocate_tls
- 0xf7fe8240 _dl_deallocate_tls
- 0xf7fe8530 ___tls_get_addr
- 0xf7fe8570 __tls_get_addr
- 0xf7fe8960 _dl_make_stack_executable
- 0xf7fe8e70 _dl_find_dso_for_object
- 0xf7feaeb0 _dl_exception_create
- 0xf7feafb0 _dl_exception_create_format
- 0xf7feb240 _dl_exception_free
- ---Type <return> to continue, or q <return> to quit---q
- Quit
- (gdb) i b
- Num Type Disp Enb Address What
- 2 breakpoint keep y 0x0804895b <identify+119>
- breakpoint already hit 1 time
- 5 breakpoint keep y 0x08048978 <sys>
- breakpoint already hit 1 time
- 6 breakpoint keep y 0x08048979 <sys+1>
- breakpoint already hit 1 time
- (gdb) s
- Single stepping until exit from function identify,
- which has no line number information.
- aaaaaaaaaaaaaaaaaaaaaaaa78890408
- Program received signal SIGSEGV, Segmentation fault.
- 0x39383837 in ?? ()
- (gdb) i r
- eax 0x39383837 959985719
- ecx 0xf7faf89c -134547300
- edx 0xffffcfe4 -12316
- ebx 0x0 0
- esp 0xffffcfbc 0xffffcfbc
- ebp 0xffffd008 0xffffd008
- esi 0xf7fae000 -134553600
- edi 0x0 0
- eip 0x39383837 0x39383837
- eflags 0x10292 [ AF SF IF RF ]
- cs 0x23 35
- ss 0x2b 43
- ds 0x2b 43
- es 0x2b 43
- fs 0x0 0
- gs 0x63 99
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement