이 글은 리눅스에서 `execve` 시스템 호출 후 프로그램의 `main` 함수가 실행되기까지의 내부 과정을
ELF 파일 구조, 커널 로딩 과정, 동적 링킹 등을 중심으로 설명합니다.
*원문: https://amit.prasad.me/blog/before-main
The Journey Before main() | Amit's Blog
A while back, I worked on a RISC-V-based userspace simulator for fun. In doing so, taught myself a lot more than I wanted to know about what happens in-between when the Kernel is asked to run a program, and when the first line of our program’s main funct
amit.prasad.me
반응형
'【Fundamental Tech】 > Linux Kernel' 카테고리의 다른 글
| 공유 라이브러리의 로드 타임 재배치 (0) | 2025.10.31 |
|---|---|
| 프로그램 실행 방식: ELF 바이너리 (0) | 2025.10.31 |
| NUMA (0) | 2025.01.29 |
| VSCode를 이용한 Linux Kernel 분석 (0) | 2025.01.29 |
| 깨진 심볼릭 링크 검색/삭제 (0) | 2023.05.07 |
댓글