libc inicialization
César
divcesar@gmail.com
Sat Oct 13 02:08:00 GMT 2012
Hello there.
I'm developing (with help of two colleagues) an Linux x86 32 Bits
process emulator (that uses interpretation as emulation technique). We
have get quite far, our emulator already is able to emulate some
dynamic linked toy benchmarks. However we are stuck in glibc
initialization routines!
We have implemented some code todo register and stack (argc, argv,
envp, auxv, ...) initialization, however something is wrong because
the program crashes when executing glibc init routines. My questions
are:
1. What should be the register values at the time of invocation of
libc init routines? And what should be the stack content?
2. Does libc interact with the loader? How? Does glibc access the PCB
(process control block)?
We have read some texts (in general blog posts) but they are
contraditory (or incomplete) at some points. Are the any documentation
explaining these points?
We apreciate any help.
César.
More information about the Libc-alpha
mailing list