Lines Matching full:program_header
331 byte* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize);
332 CHECK_LT(program_header, End()) << file_->GetPath();
333 return *reinterpret_cast<llvm::ELF::Elf32_Phdr*>(program_header);
338 llvm::ELF::Elf32_Phdr& program_header = GetProgramHeader(i);
339 if (program_header.p_type == type) {
340 return &program_header;
579 llvm::ELF::Elf32_Phdr& program_header = GetProgramHeader(i);
580 if (program_header.p_type != llvm::ELF::PT_LOAD) {
583 llvm::ELF::Elf32_Addr begin_vaddr = program_header.p_vaddr;
587 llvm::ELF::Elf32_Addr end_vaddr = program_header.p_vaddr + program_header.p_memsz;
603 llvm::ELF::Elf32_Phdr& program_header = GetProgramHeader(i);
606 if (program_header.p_type == llvm::ELF::PT_DYNAMIC) {
607 dynamic_program_header_ = &program_header;
612 if (program_header.p_type != llvm::ELF::PT_LOAD) {
628 if (program_header.p_vaddr == 0) {
638 if (program_header.p_memsz == 0) {
641 byte* p_vaddr = base_address_ + program_header.p_vaddr;
643 if (executable && ((program_header.p_flags & llvm::ELF::PF_X) != 0)) {
646 if ((program_header.p_flags & llvm::ELF::PF_W) != 0) {
649 if ((program_header.p_flags & llvm::ELF::PF_R) != 0) {
659 if (file_length < (program_header.p_offset + program_header.p_memsz)) {
662 << " of " << (program_header.p_offset + program_header.p_memsz)
667 program_header.p_memsz,
669 program_header.p_offset,