Home
last modified time | relevance | path

Searched refs:e_phoff (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/
Delf.h105 Elf32_Off e_phoff; member
123 Elf64_Off e_phoff; // The program header table's file offset in bytes. 若没有,则为0 member
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs402 if ehdr.e_phoff == 0 { in parse_segments()
436 let phoff: usize = ehdr.e_phoff.try_into()?; in parse_segments()
608 if (seg_to_load.p_offset <= ehdr.e_phoff) in load()
609 && (ehdr.e_phoff < (seg_to_load.p_offset + seg_to_load.p_filesz)) in load()
612 (ehdr.e_phoff - seg_to_load.p_offset + seg_to_load.p_vaddr) as usize, in load()