sys_execve1 ELF 실행 & execve ELF 실행되는 과정 요약 Source Code 분석 먼저 실행가능한 파일(ELF)에 대한 정보를 담게될 linux_binprm에 대해서 살펴보자. /* * This structure is used to hold the arguments that are used when loading binaries. */ struct linux_binprm { char buf[BINPRM_BUF_SIZE]; // ELF Header의 128개 문자르 저장한다 #ifdef CONFIG_MMU struct vm_area_struct *vma; unsigned long vma_pages; #else # define MAX_ARG_PAGES32 struct page *page[MAX_ARG_PAGES]; #endif stru.. 2024. 2. 2. 이전 1 다음