Memcpy backtrace no characters available

I do not know why I do not see this return line. Symbols from my own binary file will be downloaded and the package will be installed libc6-dbg. Do I need to tell gdb where to find the libc characters?

Program received signal SIGSEGV, Segmentation fault.
__memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:74
74  ../sysdeps/i386/i686/multiarch/../memcpy.S: No such file or directory.
(gdb) bt full
#0  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:74
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.
(gdb)
+4
source share
1 answer

From your backtrace, it is possible that you have a stack corruption that rewrites your return address (mainly because only two calls are available and no information about the memcpy code call). Is it possible that you are memcpyusing the address on the stack?

One way to check for this kind of failure is to use the watchgdb command :

  • - , . memcpy .
  • , .
  • .
  • : watch 0xXXXXXX
  • , .

, db .

+1

All Articles