1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-05 23:09:38 +00:00
linux-insides/Misc
diekmann 391030ed94 Improved picture of stack layout
* Added dots around envp and argv since those are arrays of pointers.
  While argc and NULL are just 8B, argv and envp are of variable size,
  usually more than 8B. The dots visualize this.

* In the first image, moved rsp to point to argc. This is the initial
  stack and register layout at the beginning of _start. Only after libc
  popped the top of the stack into rsi, rsp will point to beginning of
  argv. (*)

(*)
I verified this by writing my own _start implementation:
  039ac7c03c/start.asm (L61)
2017-09-21 21:52:41 +03:00
..
contribute.md Сделать все ссылки Github ссылками на конкретный коммит 2017-09-21 21:38:18 +03:00
how_kernel_compiled.md Сделать все ссылки Github ссылками на конкретный коммит 2017-09-21 21:38:18 +03:00
linkers.md Сделать все ссылки Github ссылками на конкретный коммит 2017-09-21 21:38:18 +03:00
program_startup.md Improved picture of stack layout 2017-09-21 21:52:41 +03:00
README.md fix a small spell problem 2015-08-17 16:41:29 +08:00

Misc

This chapter contains parts which are not directly related to the Linux kernel source code and implementation of different subsystems.