Searched refs:Elf_Addr (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | elf_file_impl.h | 38 using Elf_Addr = typename ElfTypes::Addr; 93 Elf_Addr FindSymbolAddress(Elf_Word section_type, 116 bool Fixup(Elf_Addr base_address); 117 bool FixupDynamic(Elf_Addr base_address); 118 bool FixupSectionHeaders(Elf_Addr base_address); 119 bool FixupProgramHeaders(Elf_Addr base_address); 120 bool FixupSymbols(Elf_Addr base_address, bool dynamic); 121 bool FixupRelocations(Elf_Addr base_address); 122 bool FixupDebugSections(Elf_Addr base_address_delta); 123 bool ApplyOatPatchesTo(const char* target_section_name, Elf_Addr base_address_delta); [all …]
|
D | elf_file.cc | 495 uint8_t elf_class = (sizeof(Elf_Addr) == sizeof(Elf64_Addr)) ? ELFCLASS64 : ELFCLASS32; in SetMap() 921 unsigned char type = (sizeof(Elf_Addr) == sizeof(Elf64_Addr)) in FindSymbolByName() 1084 Elf_Addr min_vaddr = static_cast<Elf_Addr>(-1); in GetLoadedSize() 1085 Elf_Addr max_vaddr = 0u; in GetLoadedSize() 1091 Elf_Addr begin_vaddr = program_header->p_vaddr; in GetLoadedSize() 1095 Elf_Addr end_vaddr = program_header->p_vaddr + program_header->p_memsz; in GetLoadedSize() 1112 Elf_Addr loaded_size = max_vaddr - min_vaddr; in GetLoadedSize() 1404 bool ElfFileImpl<ElfTypes>::FixupDebugSections(Elf_Addr base_address_delta) { in FixupDebugSections() 1415 const char* target_section_name, Elf_Addr delta) { in ApplyOatPatchesTo() 1442 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, in ApplyOatPatches() [all …]
|
/art/compiler/ |
D | elf_writer_quick.cc | 118 template <typename Elf_Addr, typename Address, PatchResult kPatchResult> 120 Elf_Addr buffer_address, Elf_Addr base_address, in Patch() 145 using Elf_Addr = typename ElfTypes::Addr; in Write() typedef 166 is64bit ? Patch<Elf_Addr, uint64_t, kPointerRelativeAddress> : in Write() 167 Patch<Elf_Addr, uint32_t, kPointerRelativeAddress>, in Write() 171 Patch<Elf_Addr, uint32_t, kSectionRelativeAddress>, text)); in Write() 174 is64bit ? Patch<Elf_Addr, uint64_t, kAbsoluteAddress> : in Write() 175 Patch<Elf_Addr, uint32_t, kAbsoluteAddress>, in Write() 181 Patch<Elf_Addr, uint32_t, kAbsoluteAddress>, text)); in Write() 190 Patch<Elf_Addr, uint32_t, kAbsoluteAddress>, text)); in Write()
|
D | elf_builder.h | 45 using Elf_Addr = typename ElfTypes::Addr; 154 Elf_Addr buffer_address, 155 Elf_Addr base_address, 303 Elf_Addr addr, bool is_relative, Elf_Word size, 350 Elf_Addr addr_; 652 Elf_Addr load_address = file_offset; in Write() 879 elf_header.e_ident[EI_CLASS] = (sizeof(Elf_Addr) == sizeof(Elf32_Addr)) in MakeElfHeader()
|