Lines Matching refs:base_address

1602 bool ElfFileImpl<ElfTypes>::Fixup(Elf_Addr base_address) {  in Fixup()  argument
1603 if (!FixupDynamic(base_address)) { in Fixup()
1607 if (!FixupSectionHeaders(base_address)) { in Fixup()
1611 if (!FixupProgramHeaders(base_address)) { in Fixup()
1615 if (!FixupSymbols(base_address, true)) { in Fixup()
1619 if (!FixupSymbols(base_address, false)) { in Fixup()
1623 if (!FixupRelocations(base_address)) { in Fixup()
1627 static_assert(sizeof(Elf_Off) >= sizeof(base_address), "Potentially losing precision."); in Fixup()
1628 if (!FixupDebugSections(static_cast<Elf_Off>(base_address))) { in Fixup()
1636 bool ElfFileImpl<ElfTypes>::FixupDynamic(Elf_Addr base_address) { in FixupDynamic() argument
1646 static_cast<uint64_t>(d_ptr + base_address)); in FixupDynamic()
1648 d_ptr += base_address; in FixupDynamic()
1656 bool ElfFileImpl<ElfTypes>::FixupSectionHeaders(Elf_Addr base_address) { in FixupSectionHeaders() argument
1668 static_cast<uint64_t>(sh->sh_addr + base_address)); in FixupSectionHeaders()
1670 sh->sh_addr += base_address; in FixupSectionHeaders()
1676 bool ElfFileImpl<ElfTypes>::FixupProgramHeaders(Elf_Addr base_address) { in FixupProgramHeaders() argument
1688 static_cast<uint64_t>(ph->p_vaddr + base_address)); in FixupProgramHeaders()
1690 ph->p_vaddr += base_address; in FixupProgramHeaders()
1691 ph->p_paddr += base_address; in FixupProgramHeaders()
1699 bool ElfFileImpl<ElfTypes>::FixupSymbols(Elf_Addr base_address, bool dynamic) { in FixupSymbols() argument
1716 static_cast<uint64_t>(symbol->st_value + base_address)); in FixupSymbols()
1718 symbol->st_value += base_address; in FixupSymbols()
1725 bool ElfFileImpl<ElfTypes>::FixupRelocations(Elf_Addr base_address) { in FixupRelocations() argument
1736 static_cast<uint64_t>(rel.r_offset + base_address)); in FixupRelocations()
1738 rel.r_offset += base_address; in FixupRelocations()
1747 static_cast<uint64_t>(rela.r_offset + base_address)); in FixupRelocations()
1749 rela.r_offset += base_address; in FixupRelocations()
1923 bool ElfFile::Fixup(uint64_t base_address) { in Fixup() argument
1925 return elf64_->Fixup(static_cast<Elf64_Addr>(base_address)); in Fixup()
1928 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
1929 return elf32_->Fixup(static_cast<Elf32_Addr>(base_address)); in Fixup()
1931 DELEGATE_TO_IMPL(Fixup, base_address); in Fixup()