Searched refs:p_filesz (Results 1 – 3 of 3) sorted by relevance
962 return GetDynamicProgramHeader().p_filesz / sizeof(Elf_Dyn); in GetDynamicNum()1190 if (program_header->p_filesz > program_header->p_memsz) { in Load()1192 static_cast<uint64_t>(program_header->p_filesz), in Load()1197 if (program_header->p_filesz < program_header->p_memsz && in Load()1198 !IsAligned<kPageSize>(program_header->p_filesz)) { in Load()1201 static_cast<uint64_t>(program_header->p_filesz), in Load()1206 if (file_length < (program_header->p_offset + program_header->p_filesz)) { in Load()1209 … static_cast<uint64_t>(program_header->p_offset + program_header->p_filesz), in Load()1213 if (program_header->p_filesz != 0u) { in Load()1216 program_header->p_filesz, in Load()[all …]
1564 Elf32_Word p_filesz; // Num. of bytes in file image of segment (may be zero) member1577 Elf64_Xword p_filesz; // Num. of bytes in file image of segment (may be zero) member
938 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()946 load.p_filesz = load.p_memsz = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * kMaxProgramHeaders; in MakeProgramHeaders()964 load.p_filesz = (shdr.sh_type != SHT_NOBITS ? shdr.sh_size : 0u); in MakeProgramHeaders()969 prev.p_filesz == prev.p_memsz && // Do not merge .bss in MakeProgramHeaders()970 load.p_filesz == load.p_memsz) { // Do not merge .bss in MakeProgramHeaders()973 prev.p_filesz = size; in MakeProgramHeaders()993 phdr.p_filesz = phdr.p_memsz = shdr.sh_size; in MakeProgramHeaders()1001 phdrs[0].p_filesz = phdrs[0].p_memsz = phdrs.size() * sizeof(Elf_Phdr); in MakeProgramHeaders()