Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$ gdb --args out/Debug/../../third_party/gold/gold64 -o out/Debug/libvpx_obj_int_extract -z noexecstack out/Debug/obj.host/libvpx_obj_int_extract/third_party/libvpx/source/libvpx-internal/build/make/obj_int_extract.o -lc
- GNU gdb (GDB) 7.5-gg5
- Copyright (C) 2012 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux".
- <http://wiki/Main/GnuDebugger FAQ: http://go/gdb Email: gdb-team IRC: gdb>
- Reading symbols from /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64...done.
- WARNING: no debugging symbols found in /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64.
- Either the binary was compiled without debugging information
- or the debugging information was removed (e.g., with strip or strip -g).
- Debugger capabilities will be very limited.
- For further information: http://wiki/Main/GdbFaq#No_debugging_symbols_found
- (gdb) break posix_fallocate
- Function "posix_fallocate" not defined.
- Make breakpoint pending on future shared library load? (y or [n]) y
- Breakpoint 1 (posix_fallocate) pending.
- (gdb) break pwrite
- Function "pwrite" not defined.
- Make breakpoint pending on future shared library load? (y or [n]) y
- Breakpoint 2 (pwrite) pending.
- (gdb) commands
- Type commands for breakpoint(s) 2, one per line.
- End with a line saying just "end".
- >continue
- >end
- (gdb) run
- Starting program: /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64 -o out/Debug/libvpx_obj_int_extract -z noexecstack out/Debug/obj.host/libvpx_obj_int_extract/third_party/libvpx/source/libvpx-internal/build/make/obj_int_extract.o -lc
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/usr/grte/v2/lib64/libthread_db.so.1".
- Breakpoint 1, posix_fallocate (fd=12, offset=0, len=20888)
- at ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c:38
- 38 ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: No such file or directory.
- (gdb) disas
- Dump of assembler code for function posix_fallocate:
- => 0x00007ffff6f51eb0 <+0>: mov 0x2a6032(%rip),%eax # 0x7ffff71f7ee8 <__have_fallocate>
- 0x00007ffff6f51eb6 <+6>: push %rbx
- 0x00007ffff6f51eb7 <+7>: mov %rsi,%r9
- 0x00007ffff6f51eba <+10>: mov %edi,%ebx
- 0x00007ffff6f51ebc <+12>: mov %rdx,%r8
- 0x00007ffff6f51ebf <+15>: test %eax,%eax
- 0x00007ffff6f51ec1 <+17>: js 0x7ffff6f51f00 <posix_fallocate+80>
- 0x00007ffff6f51ec3 <+19>: mov %rdx,%r10
- 0x00007ffff6f51ec6 <+22>: movslq %edi,%rdi
- 0x00007ffff6f51ec9 <+25>: mov %rsi,%rdx
- 0x00007ffff6f51ecc <+28>: mov $0x11d,%eax
- 0x00007ffff6f51ed1 <+33>: xor %esi,%esi
- 0x00007ffff6f51ed3 <+35>: syscall
- 0x00007ffff6f51ed5 <+37>: xor %edx,%edx
- 0x00007ffff6f51ed7 <+39>: cmp $0xfffff000,%eax
- 0x00007ffff6f51edc <+44>: jbe 0x7ffff6f51eec <posix_fallocate+60>
- 0x00007ffff6f51ede <+46>: cmp $0xffffffda,%eax
- 0x00007ffff6f51ee1 <+49>: je 0x7ffff6f51ef0 <posix_fallocate+64>
- 0x00007ffff6f51ee3 <+51>: cmp $0xffffffa1,%eax
- 0x00007ffff6f51ee6 <+54>: je 0x7ffff6f51f00 <posix_fallocate+80>
- 0x00007ffff6f51ee8 <+56>: mov %eax,%edx
- ---Type <return> to continue, or q <return> to quit---q
- Quit
- (gdb) break *0x00007ffff6f51ed3
- Breakpoint 3 at 0x7ffff6f51ed3: file ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c, line 42.
- (gdb) c
- Continuing.
- Breakpoint 3, 0x00007ffff6f51ed3 in posix_fallocate (fd=12, offset=0,
- len=20888) at ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c:42
- 42 in ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
- (gdb) info registers
- rax 0x11d 285
- rbx 0xc 12
- rcx 0x7ffff6f4f374 140737336636276
- rdx 0x0 0
- rsi 0x0 0
- rdi 0xc 12
- rbp 0xc 0xc
- rsp 0x7fffffff8340 0x7fffffff8340
- r8 0x5198 20888
- r9 0x0 0
- r10 0x5198 20888
- r11 0x7ffff6f51eb0 140737336647344
- r12 0x5198 20888
- r13 0x7fffffffdc90 140737488346256
- r14 0x7fffffffe275 140737488347765
- r15 0x7fffffffdc90 140737488346256
- rip 0x7ffff6f51ed3 0x7ffff6f51ed3 <posix_fallocate+35>
- eflags 0x246 [ PF ZF IF ]
- cs 0x33 51
- ss 0x2b 43
- ds 0x0 0
- es 0x0 0
- fs 0x0 0
- ---Type <return> to continue, or q <return> to quit---q
- Quit
- (gdb) print $rdi = 9999
- $1 = 9999
- (gdb) stepi
- 44 in ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
- (gdb) info registers
- rax 0xfffffffffffffff7 -9
- rbx 0xc 12
- rcx 0xffffffffffffffff -1
- rdx 0x0 0
- rsi 0x0 0
- rdi 0x270f 9999
- rbp 0xc 0xc
- rsp 0x7fffffff8340 0x7fffffff8340
- r8 0x5198 20888
- r9 0x0 0
- r10 0x5198 20888
- r11 0x346 838
- r12 0x5198 20888
- r13 0x7fffffffdc90 140737488346256
- r14 0x7fffffffe275 140737488347765
- r15 0x7fffffffdc90 140737488346256
- rip 0x7ffff6f51ed5 0x7ffff6f51ed5 <posix_fallocate+37>
- eflags 0x246 [ PF ZF IF ]
- cs 0x33 51
- ss 0x2b 43
- ds 0x0 0
- es 0x0 0
- fs 0x0 0
- ---Type <return> to continue, or q <return> to quit---q
- Quit
- (gdb) print $rax = -95
- $2 = -95
- (gdb) c
- Continuing.
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 ../sysdeps/unix/syscall-template.S: No such file or directory.
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 in ../sysdeps/unix/syscall-template.S
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 in ../sysdeps/unix/syscall-template.S
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 in ../sysdeps/unix/syscall-template.S
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 in ../sysdeps/unix/syscall-template.S
- Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
- 82 in ../sysdeps/unix/syscall-template.S
- [Inferior 1 (process 7558) exited normally]
- (gdb) quit
- tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$ hexdump out/Debug/libvpx_obj_int_extract | head -n 100
- 0000000 457f 464c 0102 0001 0000 0000 0000 0000
- 0000010 0002 003e 0001 0000 0000 0000 0000 0000
- 0000020 0040 0000 0000 0000 4a18 0000 0000 0000
- 0000030 0000 0000 0040 0038 0006 0040 001e 001d
- 0000040 0006 0000 0004 0000 0040 0000 0000 0000
- 0000050 0040 0040 0000 0000 0040 0040 0000 0000
- 0000060 0150 0000 0000 0000 0150 0000 0000 0000
- 0000070 0008 0000 0000 0000 0003 0000 0004 0000
- 0000080 0190 0000 0000 0000 0190 0040 0000 0000
- 0000090 0190 0040 0000 0000 000f 0000 0000 0000
- 00000a0 000f 0000 0000 0000 0001 0000 0000 0000
- 00000b0 0001 0000 0005 0000 0000 0000 0000 0000
- 00000c0 0000 0040 0000 0000 0000 0040 0000 0000
- 00000d0 2610 0000 0000 0000 2610 0000 0000 0000
- 00000e0 1000 0000 0000 0000 0001 0000 0006 0000
- 00000f0 2610 0000 0000 0000 3610 0040 0000 0000
- 0000100 3610 0040 0000 0000 0238 0000 0000 0000
- 0000110 0238 0000 0000 0000 1000 0000 0000 0000
- 0000120 0002 0000 0006 0000 2610 0000 0000 0000
- 0000130 3610 0040 0000 0000 3610 0040 0000 0000
- 0000140 0180 0000 0000 0000 0180 0000 0000 0000
- 0000150 0008 0000 0000 0000 e551 6474 0006 0000
- 0000160 0000 0000 0000 0000 0000 0000 0000 0000
- *
- 0000190 6c2f 6269 6c2f 3664 2e34 6f73 312e 0000
- 00001a0 0000 0000 0000 0000 0000 0000 0000 0000
- 00001b0 0000 0000 0000 0000 0001 0000 0011 0000
- 00001c0 0000 0000 0000 0000 0000 0000 0000 0000
- 00001d0 001e 0000 0012 0000 0000 0000 0000 0000
- 00001e0 0000 0000 0000 0000 0027 0000 0012 0000
- 00001f0 0000 0000 0000 0000 0000 0000 0000 0000
- 0000200 002e 0000 0012 0000 0000 0000 0000 0000
- 0000210 0000 0000 0000 0000 0035 0000 0012 0000
- 0000220 0000 0000 0000 0000 0000 0000 0000 0000
- 0000230 003c 0000 0012 0000 0000 0000 0000 0000
- 0000240 0000 0000 0000 0000 0043 0000 0012 0000
- 0000250 0000 0000 0000 0000 0000 0000 0000 0000
- 0000260 004a 0000 0012 0000 0000 0000 0000 0000
- 0000270 0000 0000 0000 0000 004f 0000 0012 0000
- 0000280 0000 0000 0000 0000 0000 0000 0000 0000
- 0000290 006a 0000 0012 0000 0000 0000 0000 0000
- 00002a0 0000 0000 0000 0000 0072 0000 0012 0000
- 00002b0 0000 0000 0000 0000 0000 0000 0000 0000
- 00002c0 0079 0000 0012 0000 0000 0000 0000 0000
- 00002d0 0000 0000 0000 0000 0081 0000 0012 0000
- 00002e0 0000 0000 0000 0000 0000 0000 0000 0000
- 00002f0 0088 0000 0012 0000 0000 0000 0000 0000
- 0000300 0000 0000 0000 0000 008e 0000 0012 0000
- 0000310 0000 0000 0000 0000 0000 0000 0000 0000
- 0000320 0094 0000 0012 0000 0000 0000 0000 0000
- 0000330 0000 0000 0000 0000 009b 0000 0012 0000
- 0000340 0000 0000 0000 0000 0000 0000 0000 0000
- 0000350 00a2 0000 0012 0000 0000 0000 0000 0000
- 0000360 0000 0000 0000 0000 00a8 0000 0012 0000
- 0000370 0000 0000 0000 0000 0000 0000 0000 0000
- 0000380 00af 0000 0012 0000 0000 0000 0000 0000
- 0000390 0000 0000 0000 0000 7300 6474 7265 0072
- 00003a0 4c47 4249 5f43 2e32 2e32 0035 696c 6362
- 00003b0 732e 2e6f 0036 6676 7270 6e69 6674 6d00
- 00003c0 6d65 7063 0079 656d 736d 7465 7300 7274
- 00003d0 7063 0079 7473 6372 706d 7000 6972 746e
- 00003e0 0066 7570 7374 5f00 735f 6174 6b63 635f
- 00003f0 6b68 665f 6961 006c 4c47 4249 5f43 2e32
- 0000400 0034 7066 6972 746e 0066 7766 6972 6574
- 0000410 6600 706f 6e65 3436 7000 7265 6f72 0072
- 0000420 7366 6565 006b 7466 6c65 006c 616d 6c6c
- 0000430 636f 7200 7765 6e69 0064 7266 6165 0064
- 0000440 6366 6f6c 6573 6600 6572 0065 0000 0000
- 0000450 0011 0000 0015 0000 0002 0000 0000 0000
- 0000460 000f 0000 0013 0000 0008 0000 0000 0000
- 0000470 0006 0000 0012 0000 000c 0000 000e 0000
- 0000480 0010 0000 0000 0000 0014 0000 0004 0000
- 0000490 0011 0000 0000 0000 0000 0000 0000 0000
- 00004a0 0000 0000 0000 0000 0000 0000 0000 0000
- *
- 00004c0 0005 0000 0000 0000 0007 0000 0003 0000
- 00004d0 0000 0000 000d 0000 0001 0000 000b 0000
- 00004e0 000a 0000 0000 0000 0000 0000 0009 0000
- 00004f0 0000 0002 0002 0002 0002 0002 0002 0002
- 0000500 0002 0003 0002 0002 0002 0002 0002 0002
- 0000510 0002 0002 0002 0002 0002 0000 0001 0002
- 0000520 0014 0000 0010 0000 0000 0000 1a75 0969
- 0000530 0000 0002 0008 0000 0010 0000 6914 0d69
- 0000540 0000 0003 0060 0000 0000 0000 0000 0000
- 0000550 3790 0040 0000 0000 0006 0000 0001 0000
- 0000560 0000 0000 0000 0000 37b0 0040 0000 0000
- 0000570 0007 0000 0002 0000 0000 0000 0000 0000
- 0000580 37b8 0040 0000 0000 0007 0000 0003 0000
- 0000590 0000 0000 0000 0000 37c0 0040 0000 0000
- 00005a0 0007 0000 0004 0000 0000 0000 0000 0000
- 00005b0 37c8 0040 0000 0000 0007 0000 0005 0000
- 00005c0 0000 0000 0000 0000 37d0 0040 0000 0000
- 00005d0 0007 0000 0006 0000 0000 0000 0000 0000
- 00005e0 37d8 0040 0000 0000 0007 0000 0007 0000
- 00005f0 0000 0000 0000 0000 37e0 0040 0000 0000
- 0000600 0007 0000 0008 0000 0000 0000 0000 0000
- 0000610 37e8 0040 0000 0000 0007 0000 0009 0000
- 0000620 0000 0000 0000 0000 37f0 0040 0000 0000
- 0000630 0007 0000 000a 0000 0000 0000 0000 0000
- 0000640 37f8 0040 0000 0000 0007 0000 000b 0000
- tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement