|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Before the main work Will the procedure in the course of implementation, before entering the main function to do specific work, who can deliver the process shows that Thank you |
Before the main work Is the main entrance to addresses, with the process, but also how to become an executive program is a process. This, I am afraid they have to look at the system call execve.
In short, the environmental variables into intermediate, and the main parameters Yazhan complete text and data initialization, and initialized to 0 bss distribution space.
Dual wrong, then please correct me |
Before the main work I want people to help me analyze the ELF document loading process, thank you. |
Before the main work Http://www.cstc.net.cn/docs/docs.php?id=317 |
Before the main work Generally, the need to implement a procedure for the common DLL exec and the main task completed
1. Loading procedures
2. DLL loading
3. Re-positioning
4. The right to control applications
Elf format of the paper, you can see there. Init and. Fini section
They were withdrawn in the process initialization and normal operation.
See the message, the landlord should be concerned about. Init section do what Eastern?
Bar codes to detect targets |
Before the main work 1. Elf enforceability of the loading process is the first step, according to head elf information to determine the loading section addresses, and other text content.
2. Use DLL loading shared object, this process is very complicated, involving relocation operation. (The DLL can be imported from the observation tracking code)
3. Executable File initialization dynamic linker
4. To the main control |
| |