Searched refs:p_vaddr (Results 1 – 5 of 5) sorted by relevance
109 CHECK_EQ(ph->p_vaddr, ph->p_paddr) << elf_file.GetFile().GetPath() << " i=" << i; in FixupProgramHeaders()110 CHECK((ph->p_align == 0) || (0 == ((ph->p_vaddr - ph->p_offset) & (ph->p_align - 1)))) in FixupProgramHeaders()115 ph->p_vaddr, ph->p_vaddr + base_address); in FixupProgramHeaders()117 ph->p_vaddr += base_address; in FixupProgramHeaders()119 CHECK((ph->p_align == 0) || (0 == ((ph->p_vaddr - ph->p_offset) & (ph->p_align - 1)))) in FixupProgramHeaders()
265 program_headers[PH_PHDR].p_vaddr = phdr_offset; in Write()274 program_headers[PH_LOAD_R__].p_vaddr = 0; in Write()542 program_headers[PH_LOAD_R_X].p_vaddr = text_builder_.section_.sh_offset; in Write()549 program_headers[PH_LOAD_RW_].p_vaddr = dynamic_builder_.section_.sh_offset; in Write()556 program_headers[PH_DYNAMIC].p_vaddr = dynamic_builder_.section_.sh_offset; in Write()
1026 Elf32_Addr begin_vaddr = program_header->p_vaddr; in GetLoadedSize()1030 Elf32_Addr end_vaddr = program_header->p_vaddr + program_header->p_memsz; in GetLoadedSize()1116 uint8_t* reserve_base = reinterpret_cast<uint8_t*>(program_header->p_vaddr); in Load()1149 byte* p_vaddr = base_address_ + program_header->p_vaddr; in Load() local1174 std::unique_ptr<MemMap> segment(MemMap::MapFileAtAddress(p_vaddr, in Load()1186 if (segment->Begin() != p_vaddr) { in Load()1189 i, file_->GetPath().c_str(), p_vaddr, segment->Begin()); in Load()1196 byte* dsptr = base_address_ + GetDynamicProgramHeader().p_vaddr; in Load()
1555 Elf32_Addr p_vaddr; // Virtual address of beginning of segment member1568 Elf64_Addr p_vaddr; // Virtual address of beginning of segment member
668 if (hdr->p_vaddr != 0 && hdr->p_vaddr != hdr->p_offset) { in PatchElf()670 hdr->p_vaddr += delta_; in PatchElf()