/art/compiler/ |
D | elf_fixup.h | 27 class ElfFile; variable 37 static bool FixupDynamic(ElfFile& elf_file, uintptr_t base_address); 40 static bool FixupSectionHeaders(ElfFile& elf_file, uintptr_t base_address); 43 static bool FixupProgramHeaders(ElfFile& elf_file, uintptr_t base_address); 46 static bool FixupSymbols(ElfFile& elf_file, uintptr_t base_address, bool dynamic); 49 static bool FixupRelocations(ElfFile& elf_file, uintptr_t base_address);
|
D | elf_writer_test.cc | 91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F() 99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F() 107 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg)); in TEST_F()
|
D | elf_patcher.h | 36 static bool Patch(const CompilerDriver* driver, ElfFile* elf_file, 42 static bool Patch(const CompilerDriver* driver, ElfFile* elf_file, 48 static bool Patch(const CompilerDriver* driver, ElfFile* elf_file, in Patch() 56 static bool Patch(const CompilerDriver* driver, ElfFile* elf_file, in Patch() 65 ElfPatcher(const CompilerDriver* driver, ElfFile* elf_file, const OatFile* oat_file, in ElfPatcher() 110 ElfFile* elf_file_;
|
D | elf_writer.cc | 33 uint32_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) { in GetOatDataAddress() 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg)); in GetOatElfInformation()
|
D | elf_fixup.cc | 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg)); in Fixup() 68 bool ElfFixup::FixupDynamic(ElfFile& elf_file, uintptr_t base_address) { in FixupDynamic() 86 bool ElfFixup::FixupSectionHeaders(ElfFile& elf_file, uintptr_t base_address) { in FixupSectionHeaders() 104 bool ElfFixup::FixupProgramHeaders(ElfFile& elf_file, uintptr_t base_address) { in FixupProgramHeaders() 125 bool ElfFixup::FixupSymbols(ElfFile& elf_file, uintptr_t base_address, bool dynamic) { in FixupSymbols() 149 bool ElfFixup::FixupRelocations(ElfFile& elf_file, uintptr_t base_address) { in FixupRelocations()
|
D | elf_writer.h | 33 class ElfFile; variable 45 static uint32_t GetOatDataAddress(ElfFile* elf_file);
|
D | elf_stripper.cc | 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, error_msg)); in Strip()
|
D | elf_writer_mclinker.cc | 350 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(elf_file_, true, false, &error_msg)); in FixupOatMethodOffsets() 388 uint32_t ElfWriterMclinker::FixupCompiledCodeOffset(ElfFile& elf_file, in FixupCompiledCodeOffset()
|
D | elf_writer_mclinker.h | 71 uint32_t FixupCompiledCodeOffset(ElfFile& elf_file,
|
D | elf_patcher.cc | 39 bool ElfPatcher::Patch(const CompilerDriver* driver, ElfFile* elf_file, in Patch() 59 bool ElfPatcher::Patch(const CompilerDriver* driver, ElfFile* elf, const OatFile* oat_file, in Patch()
|
D | image_writer.cc | 1228 static OatHeader* GetOatHeaderFromElf(ElfFile* elf) { in GetOatHeaderFromElf() 1238 std::unique_ptr<ElfFile> elf(ElfFile::Open(elf_file, PROT_READ|PROT_WRITE, in PatchOatCodeAndMethods()
|
/art/runtime/ |
D | elf_file.cc | 109 ElfFile::ElfFile(File* file, bool writable, bool program_header_only, uint8_t* requested_base) in ElfFile() function in art::ElfFile 132 ElfFile* ElfFile::Open(File* file, bool writable, bool program_header_only, in Open() 134 std::unique_ptr<ElfFile> elf_file(new ElfFile(file, writable, program_header_only, in Open() 151 ElfFile* ElfFile::Open(File* file, int prot, int flags, std::string* error_msg) { in Open() 152 std::unique_ptr<ElfFile> elf_file(new ElfFile(file, (prot & PROT_WRITE) == PROT_WRITE, false, in Open() 160 bool ElfFile::Setup(int prot, int flags, std::string* error_msg) { in Setup() 317 ElfFile::~ElfFile() { in ~ElfFile() 327 bool ElfFile::CheckAndSet(Elf32_Off offset, const char* label, in CheckAndSet() 338 bool ElfFile::CheckSectionsLinked(const byte* source, const byte* target) const { in CheckSectionsLinked() 369 bool ElfFile::CheckSectionsExist(std::string* error_msg) const { in CheckSectionsExist() [all …]
|
D | elf_file.h | 41 class ElfFile { 43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg, 47 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg); 48 ~ElfFile(); 115 ElfFile(File* file, bool writable, bool program_header_only, uint8_t* requested_base); 204 std::unique_ptr<ElfFile> gdb_file_mapping_;
|
D | oat_file.h | 36 class ElfFile; variable 45 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location, 78 ElfFile* GetElfFile() const { in GetElfFile() 334 std::unique_ptr<ElfFile> elf_file_;
|
D | oat_file.cc | 45 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file, in OpenWithElfFile() 199 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, in ElfFileOpen()
|
D | runtime.cc | 617 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file.release(), false, false, &error_msg)); in OpenDexFilesFromImage()
|
/art/patchoat/ |
D | patchoat.h | 62 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) in PatchOat() 68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, in PatchOat() 86 static MaybePic IsOatPic(const ElfFile* oat_in); 123 static const OatHeader* GetOatHeader(const ElfFile* elf_file); 142 std::unique_ptr<ElfFile> oat_file_;
|
D | patchoat.cc | 274 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch() 374 PatchOat::MaybePic PatchOat::IsOatPic(const ElfFile* oat_in) { in IsOatPic() 501 const OatHeader* PatchOat::GetOatHeader(const ElfFile* elf_file) { in GetOatHeader() 572 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch()
|
/art/dex2oat/ |
D | dex2oat.cc | 341 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(oat_file, PROT_READ|PROT_WRITE, in PatchOatCode()
|