10 Commits (1526623107380a3bf5d9bb2d5f735b6c99be0d22)

Author SHA1 Message Date
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)
7 years ago
Cornelius Diekmann 1972d27d76 Language: Added articles. Content: exec* family
Language improvement: Added articles like `the`, `a`, ...

Content: The `exec*` family is a `C` wrapper, the syscall is usually only `execve`.
7 years ago
Chandan Rai 0851b0fa4a corrected typos 7 years ago
PaulCher 1727112b64 Fixing broken links and links pointing to the wrong part of code. Fixed 8 years ago
proninyaroslav 1e47e02143 Исправление ссылок 8 years ago
mudongliang 678a137fa1 fix typos and semantics in program startup 8 years ago
cloud ed157db372 fix typos 8 years ago
0xAX 1b8fcbef2f Update program_startup.md 8 years ago
0xAX 7df9f32334 Update program_startup.md 8 years ago
0xAX 2b1f7f5896 Create program_startup.md 8 years ago