Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ld.elf_so i386 memcpy corruption - calligrawords hangs

On Thu, Oct 17, 2013 at 10:45:08AM +0200, Martin Husemann wrote:
> You could uncomment the following lines in the src/libexec/ld.elf_so/Makefile
> (re-)build and install ld.elf_so, and set LD_DEBUG=1 when starting the 
> program.

Better is to link your program with the alternate elf interpreter name.
Then you don't affect anything else.
If the filenames are the same length you should be able to find the
string in the elf program and patch it (technically it is a shared
string - but it is unlikely to be used twice).


David Laight:

Home | Main Index | Thread Index | Old Index