mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
9f269b41df
* 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)
5.0 KiB
5.0 KiB
Thank you to all contributors:
- Akash Shende
- Jakub Kramarz
- ckrooss
- ecksun
- Maciek Makowski
- Thomas Marcelis
- Chris Costes
- nathansoz
- RubanDeventhiran
- fuzhli
- andars
- Alexandru Pana
- Bogdan Rădulescu
- zil
- codelitt
- gulyasm
- alx741
- Haddayn
- Daniel Campoverde Carrión
- Guillaume Gomez
- Leandro Moreira
- Jonatan Pålsson
- George Horrell
- Ciro Santilli
- Kevin Soules
- Fabio Pozzi
- Kevin Swinton
- Leandro Moreira
- LYF610400210
- Cam Cope
- Miquel Sabaté Solà
- Michael Aquilina
- Gabriel Sullice
- Michael Drüing
- Alexander Polakov
- Anton Davydov
- Arpan Kapoor
- Brandon Fosdick
- Ashleigh Newman-Jones
- Terrell Russell
- Mario
- Ewoud Kohl van Wijngaarden
- Jochen Maes
- Brother-Lal
- Brian McKenna
- Josh Triplett
- James Flowers
- Alexander Harding
- Dzmitry Plashchynski
- Simarpreet Singh
- umatomba
- Vaibhav Tulsyan
- Brandon Wamboldt
- Maxime Leboeuf
- Maximilien Richer
- marmeladema
- Anisse Astier
- TheCodeArtist
- Ehsun N
- Adam Shannon
- Donny Nadolny
- Ehsun N
- Waqar Ahmed
- Ian Miell
- DongLiang Mu
- Johan Manuel
- Brian Rak
- Robin Peiremans
- xiaoqiang zhao
- aouelete
- Dennis Birkholz
- Anton Tyurin
- Bogdan Kulbida
- Matt Hudgins
- Ruth Grace Wong
- Jeremy Lacomis
- Dubyah
- Matthieu Tardy
- michaelian ennis
- Amitay Stern
- Matt Todd
- Piyush Pangtey
- Alfred Agrell
- Jakub Wilk
- Justus Adam
- Roy Wellington Ⅳ
- Jonathan Rennison
- Mack Stump
- Pushpinder Singh
- Xiaoqin Hu
- Jeremy Cline
- Kavindra Nikhurpa
- Connor Mullen
- Alex Gonzalez
- Tim Konick
- Anastas Stoyanovsky
- Faiz Halde
- Andrew Hayes
- Matthew Fernandez
- Yoshihiro YUNOMAE
- paulch
- Nathan Dautenhahn
- Sachin Patil
- Stéphan Gorget
- Adrian Reyes
- JB Cayrou
- Cornelius Diekmann