What's ELF?
- standard file format for executables, object code, shared libraries, and core dumps
ELF File Types
- executables : runnable program, must have segmanets
- object file : links with other object files, must have sections
- dynamic libraries : links with other object file/executables. has both segments and sections
- core files : has no sections, has segments
ELF Header
- starts always at the beginning of the file
- e_shoff(section header offset), e_phoff(program header offset), e_entry(virt. addr. of entry point),
e_type(REL, DYN, EXEC, CORE) 등 ELF 파일에 대한 정보를 가지고 있다. (PE header와 비슷하다)
'안드로이드' 카테고리의 다른 글
Dalvik vs JVM (0) | 2021.03.08 |
---|---|
JVM (0) | 2021.03.06 |
JRE. JDK (0) | 2021.03.05 |
Java Bytecode 자바 바이트 코드 (0) | 2021.03.04 |