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

1 2

  /art/compiler/
elf_fixup.h 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 24 #include "elf_file.h"
34 ElfWriter::ElfWriter(const CompilerDriver& driver, File* elf_file)
35 : compiler_driver_(&driver), elf_file_(elf_file) {}
39 llvm::ELF::Elf32_Addr ElfWriter::GetOatDataAddress(ElfFile* elf_file) {
40 llvm::ELF::Elf32_Addr oatdata_address = elf_file->FindSymbolAddress(llvm::ELF::SHT_DYNSYM,
50 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, false, false));
51 CHECK(elf_file.get() != NULL);
53 oat_loaded_size = elf_file->GetLoadedSize();
55 oat_data_offset = GetOatDataAddress(elf_file.get());
elf_stripper.cc 25 #include "elf_file.h"
31 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
32 CHECK(elf_file.get() != NULL);
68 section_headers.reserve(elf_file->GetSectionHeaderNum());
71 llvm::ELF::Elf32_Shdr& string_section = elf_file->GetSectionNameStringSection();
72 for (llvm::ELF::Elf32_Word i = 0; i < elf_file->GetSectionHeaderNum(); i++) {
73 llvm::ELF::Elf32_Shdr& sh = elf_file->GetSectionHeader(i);
74 const char* name = elf_file->GetString(string_section, sh.sh_name);
93 llvm::ELF::Elf32_Off offset = elf_file->GetSectionHeader(1).sh_offset;
96 llvm::ELF::Elf32_Shdr& old_sh = elf_file->GetSectionHeader(section_headers_original_indexes[i])
    [all...]
elf_fixup.cc 21 #include "elf_file.h"
30 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
31 CHECK(elf_file.get() != NULL);
34 ::llvm::ELF::Elf32_Addr oatdata_address = ElfWriter::GetOatDataAddress(elf_file.get());
37 if (!FixupDynamic(*elf_file.get(), base_address)) {
41 if (!FixupSectionHeaders(*elf_file.get(), base_address)) {
45 if (!FixupProgramHeaders(*elf_file.get(), base_address)) {
49 if (!FixupSymbols(*elf_file.get(), base_address, true)) {
53 if (!FixupSymbols(*elf_file.get(), base_address, false)) {
57 if (!FixupRelocations(*elf_file.get(), base_address))
    [all...]
elf_writer.h 47 static llvm::ELF::Elf32_Addr GetOatDataAddress(ElfFile* elf_file);
50 ElfWriter(const CompilerDriver& driver, File* elf_file);
elf_writer_quick.h 43 ElfWriterQuick(const CompilerDriver& driver, File* elf_file);
elf_writer_mclinker.h 58 ElfWriterMclinker(const CompilerDriver& driver, File* elf_file);
70 uint32_t FixupCompiledCodeOffset(ElfFile& elf_file,
elf_writer_mclinker.cc 34 #include "elf_file.h"
45 ElfWriterMclinker::ElfWriterMclinker(const CompilerDriver& driver, File* elf_file)
46 : ElfWriter(driver, elf_file), oat_input_(NULL) {}
50 bool ElfWriterMclinker::Create(File* elf_file,
56 ElfWriterMclinker elf_writer(driver, elf_file);
347 UniquePtr<ElfFile> elf_file(ElfFile::Open(elf_file_, true, false));
348 CHECK(elf_file.get() != NULL) << elf_file_->GetPath();
350 llvm::ELF::Elf32_Addr oatdata_address = GetOatDataAddress(elf_file.get());
368 uint32_t offset = FixupCompiledCodeOffset(*elf_file.get(), oatdata_address, *compiled_method);
382 uint32_t ElfWriterMclinker::FixupCompiledCodeOffset(ElfFile& elf_file,
    [all...]
  /external/qemu/elff/
elff_api.cc 19 #include "elf_file.h"
29 ElfFile* elf_file = ElfFile::Create(elf_file_path); local
30 return reinterpret_cast<ELFF_HANDLE>(elf_file);
dwarf_die.cc 21 #include "elf_file.h"
33 ElfFile* DIEObject::elf_file() const { function in class:DIEObject
34 return parent_cu()->elf_file();
140 while (elf_file()->get_range(range_off, &low, &high) &&
213 while (elf_file()->get_range<Elf_Xword>(off, &low, &high) &&
221 while (elf_file()->get_range<Elf_Word>(off, &low, &high) &&
dwarf_cu.h 146 ElfFile* elf_file() const { function in class:DwarfCU
453 stmtl_header_.unit_length = elf_file()->pull_val(stmtl_hdr->unit_length.size);
454 stmtl_header_.version = elf_file()->pull_val(stmtl_hdr->version);
455 stmtl_header_.header_length = elf_file()->pull_val(stmtl_hdr->header_length);
dwarf_die.h 50 ElfFile* elf_file() const;
  /ndk/sources/host-tools/ndk-stack/elff/
elff_api.cc 19 #include "elf_file.h"
29 ElfFile* elf_file = ElfFile::Create(elf_file_path); local
30 return reinterpret_cast<ELFF_HANDLE>(elf_file);
dwarf_die.cc 23 #include "elf_file.h"
35 ElfFile* DIEObject::elf_file() const { function in class:DIEObject
36 return parent_cu()->elf_file();
142 while (elf_file()->get_range(range_off, &low, &high) &&
215 while (elf_file()->get_range<Elf_Xword>(off, &low, &high) &&
223 while (elf_file()->get_range<Elf_Word>(off, &low, &high) &&
dwarf_cu.h 146 ElfFile* elf_file() const { function in class:DwarfCU
453 stmtl_header_.unit_length = elf_file()->pull_val(stmtl_hdr->unit_length.size);
454 stmtl_header_.version = elf_file()->pull_val(stmtl_hdr->version);
455 stmtl_header_.header_length = elf_file()->pull_val(stmtl_hdr->header_length);
dwarf_die.h 50 ElfFile* elf_file() const;
  /sdk/emulator/qtools/
bb_dump.cpp 15 fprintf(stderr, "Usage: %s [options] trace_file elf_file\n", program);
28 char *elf_file = argv[optind++]; local
31 trace->ReadKernelSymbols(elf_file);
check_trace.cpp 18 fprintf(stderr, "Usage: %s [options] trace_file elf_file\n", program);
31 char *elf_file = argv[optind++]; local
34 trace->ReadKernelSymbols(elf_file);
q2g.cpp 28 fprintf(stderr, "Usage: %s [options] trace_file elf_file gtrace_file\n",
42 char *elf_file = argv[optind++]; local
46 trace->ReadKernelSymbols(elf_file);
read_method.cpp 74 fprintf(stderr, "Usage: %s [options] trace_name elf_file\n",
87 char *elf_file = argv[optind++]; local
90 trace->ReadKernelSymbols(elf_file);
bb2sym.cpp 24 fprintf(stderr, "Usage: %s [options] trace_file elf_file\n", program);
53 char *elf_file = argv[optind++]; local
56 trace->ReadKernelSymbols(elf_file);
coverage.cpp 73 fprintf(stderr, "Usage: %s [options] trace_file elf_file\n", program);
86 char *elf_file = argv[optind++]; local
90 trace->ReadKernelSymbols(elf_file);
profile_trace.cpp 42 fprintf(stderr, "Usage: %s [options] trace_file elf_file\n", program);
55 char *elf_file = argv[optind++]; local
59 trace->ReadKernelSymbols(elf_file);
read_trace.cpp 20 "Usage: %s [options] [-- -s start_time] trace_file elf_file\n",
55 char *elf_file = argv[optind++]; local
59 trace->ReadKernelSymbols(elf_file);
  /external/oprofile/opjitconv/
opjitconv.c 211 int copy_elffile(char * elf_file, char * tmp_elffile)
216 sprintf(sys_cmd_buffer, "/bin/cp -p %s %s", tmp_elffile, elf_file);
223 fd = open(elf_file, 0);
259 char * elf_file = NULL; local
329 elf_file = xmalloc(result_dir_length +
331 strncpy(elf_file, anon_dir, result_dir_length);
332 elf_file[result_dir_length] = '\0';
333 strcat(elf_file, proc_id);
334 strcat(elf_file, ".jo");
345 jofd = open(elf_file, O_RDONLY)
    [all...]

Completed in 402 milliseconds

1 2