HomeSort by relevance Sort by last modified time
    Searched refs:ElfFile (Results 1 - 25 of 33) sorted by null

1 2

  /art/compiler/
elf_fixup.h 27 class ElfFile;
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);
elf_writer.cc 33 uint32_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) {
45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
elf_writer.h 33 class ElfFile;
44 // Returns runtime oat_data runtime address for an opened ElfFile.
45 static uint32_t GetOatDataAddress(ElfFile* elf_file);
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,
56 static bool Patch(const CompilerDriver* driver, ElfFile* elf_file,
65 ElfPatcher(const CompilerDriver* driver, ElfFile* elf_file, const OatFile* oat_file,
94 // Takes the pointer into the oat_file_ and get the pointer in to the ElfFile.
110 ElfFile* elf_file_;
elf_writer_test.cc 91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg));
99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg));
107 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg));
elf_fixup.cc 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg));
68 bool ElfFixup::FixupDynamic(ElfFile& elf_file, uintptr_t base_address) {
86 bool ElfFixup::FixupSectionHeaders(ElfFile& elf_file, uintptr_t base_address) {
104 bool ElfFixup::FixupProgramHeaders(ElfFile& elf_file, uintptr_t base_address) {
125 bool ElfFixup::FixupSymbols(ElfFile& elf_file, uintptr_t base_address, bool dynamic) {
127 // TODO: Unfortunate ELFObjectFile has protected symbol access, so use ElfFile
149 bool ElfFixup::FixupRelocations(ElfFile& elf_file, uintptr_t base_address) {
elf_stripper.cc 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, error_msg));
elf_writer_mclinker.h 71 uint32_t FixupCompiledCodeOffset(ElfFile& elf_file,
elf_writer_mclinker.cc 350 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(elf_file_, true, false, &error_msg));
388 uint32_t ElfWriterMclinker::FixupCompiledCodeOffset(ElfFile& elf_file,
  /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,
  /external/chromium_org/tools/relocation_packer/src/
elf_file.h 32 // ElfFile elf_file(fd);
67 // An ElfFile reads shared objects, and shuttles relative relocations
70 class ElfFile {
72 explicit ElfFile(int fd)
76 ~ElfFile() {}
95 // Load a new ElfFile from a filedescriptor. If flushing, the file must
elf_file_unittest.cc 122 TEST(ElfFile, PackRelocations) {
131 ElfFile elf_file(fileno(relocs_so));
143 TEST(ElfFile, UnpackRelocations) {
152 ElfFile elf_file(fileno(packed_relocs_so));
main.cc 158 relocation_packer::ElfFile elf_file(fd);
  /art/runtime/
elf_file.h 38 // Used for compile time and runtime for ElfFile access. Because of
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_;
elf_file.cc 109 ElfFile::ElfFile(File* file, bool writable, bool program_header_only, uint8_t* requested_base)
132 ElfFile* ElfFile::Open(File* file, bool writable, bool program_header_only,
134 std::unique_ptr<ElfFile> elf_file(new ElfFile(file, writable, program_header_only,
151 ElfFile* ElfFile::Open(File* file, int prot, int flags, std::string* error_msg) {
152 std::unique_ptr<ElfFile> elf_file(new ElfFile(file, (prot & PROT_WRITE) == PROT_WRITE, false
    [all...]
oat_file.h 36 class ElfFile;
45 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location,
78 ElfFile* GetElfFile() const {
334 std::unique_ptr<ElfFile> elf_file_;
  /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)
68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image,
86 static MaybePic IsOatPic(const ElfFile* oat_in);
123 static const OatHeader* GetOatHeader(const ElfFile* elf_file);
142 std::unique_ptr<ElfFile> oat_file_;
patchoat.cc 274 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat,
374 PatchOat::MaybePic PatchOat::IsOatPic(const ElfFile* oat_in) {
501 const OatHeader* PatchOat::GetOatHeader(const ElfFile* elf_file) {
572 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat,
    [all...]

Completed in 379 milliseconds

1 2