/ndk/sources/host-tools/ndk-stack/elff/ |
elff_api.cc | 29 ElfFile* elf_file = ElfFile::Create(elf_file_path); 37 delete reinterpret_cast<ElfFile*>(handle); 49 return reinterpret_cast<ElfFile*>(handle)->is_exec(); 63 if (reinterpret_cast<ElfFile*>(handle)->get_pc_address_info(address, 78 reinterpret_cast<ElfFile*>(handle)->free_pc_address_info(address_info);
|
elf_alloc.h | 24 class ElfFile; 65 * of ElfFile that's being parsed is alive. To save performance on the numerous 75 * Instance (always one) of this class is created by ElfFile object when it is 122 * allocator, instantiated in ElfFile object (see ElfAllocator class). 129 void* operator new(size_t size, const ElfFile* elf);
|
dwarf_die.h | 23 class ElfFile; 50 ElfFile* elf_file() const;
|
elf_file.cc | 14 * Contains implementation of ElfFile classes that encapsulate an ELF file. 39 // Base ElfFile implementation 42 ElfFile::ElfFile() 55 ElfFile::~ElfFile() { 81 ElfFile* ElfFile::Create(const char* path) { 82 ElfFile* ret = NULL; 146 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) [all...] |
dwarf_cu.h | 103 friend class ElfFile; 107 * elf - Instance of ElfFile containing this compilation unit. 109 explicit DwarfCU(ElfFile* elf); 116 * elf - Instance of ElfFile containing this compilation unit. 125 static DwarfCU* create_instance(ElfFile* elf, const void* hdr); 145 /* Gets instance of ElfFile containing this compilation unit. */ 146 ElfFile* elf_file() const { 299 ElfFile* elf_file_; 331 * elf - Instance of ElfFile containing this compilation unit. 335 DwarfCUImpl(ElfFile* elf, const Dwarf_CUHdr* hdr) [all...] |
elf_file.h | 14 * Contains declaration of ElfFile classes that encapsulate an ELF file. 35 class ElfFile { 37 /* Constructs ElfFile instance. */ 38 ElfFile(); 40 /* Destructs ElfFile instance. */ 41 virtual ~ElfFile(); 49 * Initialized ElfFileImpl instance, typecasted back to ElfFile object on 53 static ElfFile* Create(const char* path); 112 /* Initializes ElfFile instance. This method is called from Create method of 573 class ElfFileImpl : protected ElfFile { [all...] |
elf_alloc.cc | 60 void* DwarfAllocBase::operator new(size_t size, const ElfFile* elf) {
|
dwarf_cu.cc | 24 DwarfCU::DwarfCU(ElfFile* elf) 37 DwarfCU* DwarfCU::create_instance(ElfFile* elf, const void* hdr) { 297 DwarfCUImpl<Dwarf_CUHdr, Dwarf_Off>::DwarfCUImpl(ElfFile* elf,
|
dwarf_die.cc | 35 ElfFile* DIEObject::elf_file() const {
|
/art/runtime/ |
elf_file.h | 36 // Used for compile time and runtime for ElfFile access. Because of 39 class ElfFile { 41 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg, 45 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg); 46 ~ElfFile(); 94 explicit ElfFile(ElfFileImpl32* elf32); 95 explicit ElfFile(ElfFileImpl64* elf64); 100 DISALLOW_COPY_AND_ASSIGN(ElfFile);
|
oat_file.h | 36 class ElfFile; 48 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location, 87 ElfFile* GetElfFile() const { 319 std::unique_ptr<ElfFile> elf_file_;
|
elf_file.cc | [all...] |
oat_file.cc | 87 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file, 129 // If we aren't trying to execute, we just use our own ElfFile loader for a couple reasons: 330 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, [all...] |
runtime.cc | 728 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file.release(), false, false, &error_msg)); [all...] |
/art/compiler/ |
elf_writer.cc | 33 uintptr_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) { 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg)); 57 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg));
|
elf_writer.h | 33 class ElfFile; 44 // Returns runtime oat_data runtime address for an opened ElfFile. 45 static uintptr_t GetOatDataAddress(ElfFile* elf_file);
|
elf_writer_test.cc | 66 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); 74 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); 82 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg));
|
image_writer.cc | [all...] |
/bionic/tools/relocation_packer/src/ |
elf_file.h | 30 // An ElfFile reads shared objects, and shuttles relative relocations 34 class ElfFile { 36 explicit ElfFile(int fd) 40 ~ElfFile() {} 63 // Load a new ElfFile from a filedescriptor. If flushing, the file must
|
elf_file_unittest.cc | 104 relocation_packer::ElfFile<ELF> elf_file(fileno(packed_relocs_so)); 140 relocation_packer::ElfFile<ELF> elf_file(fileno(relocs_so)); 178 TEST(ElfFile, PackRelocationsArm32) { 182 TEST(ElfFile, PackRelocationsArm64) { 186 TEST(ElfFile, UnpackRelocationsArm32) { 190 TEST(ElfFile, UnpackRelocationsArm64) {
|
main.cc | 122 relocation_packer::ElfFile<ELF32_traits> elf_file(fd.get()); 131 relocation_packer::ElfFile<ELF64_traits> elf_file(fd.get());
|
elf_file.cc | 134 bool ElfFile<ELF>::Load() { 429 void ElfFile<ELF>::AdjustDynamicSectionForHole(Elf_Scn* dynamic_section, 507 void ElfFile<ELF>::ResizeSection(Elf* elf, Elf_Scn* section, size_t new_size, 605 bool ElfFile<ELF>::PackRelocations() { 640 bool ElfFile<ELF>::PackTypedRelocations(std::vector<typename ELF::Rela>* relocations) { 754 bool ElfFile<ELF>::UnpackRelocations() { 788 bool ElfFile<ELF>::UnpackTypedRelocations(const std::vector<uint8_t>& packed) { [all...] |
/art/patchoat/ |
patchoat.h | 61 // Takes ownership only of the ElfFile. All other pointers are only borrowed. 62 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) 69 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, 87 static MaybePic IsOatPic(const ElfFile* oat_in); 167 static const OatHeader* GetOatHeader(const ElfFile* elf_file); 190 std::unique_ptr<ElfFile> oat_file_;
|
patchoat.cc | 258 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, 358 PatchOat::MaybePic PatchOat::IsOatPic(const ElfFile* oat_in) { 566 const OatHeader* PatchOat::GetOatHeader(const ElfFile* elf_file) { 667 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, [all...] |
/ndk/sources/host-tools/ndk-depends/ |
ndk-depends.cc | 706 class ElfFile { 708 ElfFile() 711 virtual ~ElfFile() { 1031 ElfFile libfile; [all...] |