Home
last modified time | relevance | path

Searched refs:Elf_Ehdr (Results 1 – 4 of 4) sorted by relevance

/art/libelffile/elf/
Delf_debug_reader.h38 using Elf_Ehdr ALIGNED(1) = typename ElfTypes::Ehdr;
64 header_ = Read<Elf_Ehdr>(/*offset=*/ 0); in ElfDebugReader()
70 CHECK_EQ(header_->e_ehsize, sizeof(Elf_Ehdr)); in ElfDebugReader()
101 const Elf_Ehdr* GetHeader() { return header_; } in GetHeader()
188 const Elf_Ehdr* header_;
Delf_builder.h81 using Elf_Ehdr = typename ElfTypes::Ehdr; variable
526 int size = sizeof(Elf_Ehdr);
578 Elf_Ehdr elf_header = MakeElfHeader(isa_); in End()
588 elf_header.e_phoff = sizeof(Elf_Ehdr); in End()
811 static InstructionSet GetIsaFromHeader(const Elf_Ehdr& header) { in GetIsaFromHeader()
829 static Elf_Ehdr MakeElfHeader(InstructionSet isa) { in MakeElfHeader()
830 Elf_Ehdr elf_header = Elf_Ehdr(); in MakeElfHeader()
883 elf_header.e_ehsize = sizeof(Elf_Ehdr); in MakeElfHeader()
899 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
908 load.p_filesz = load.p_memsz = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * kMaxProgramHeaders; in MakeProgramHeaders()
/art/runtime/
Delf_file_impl.h38 using Elf_Ehdr = typename ElfTypes::Ehdr; variable
78 Elf_Ehdr& GetHeader() const;
196 Elf_Ehdr* header_;
Delf_file.cc110 if (file_length < sizeof(Elf_Ehdr)) { in Setup()
112 "%zd bytes: '%s'", file_length, sizeof(Elf_Ehdr), in Setup()
119 size_t elf_header_size = sizeof(Elf_Ehdr); in Setup()
137 sizeof(Elf_Ehdr), file->GetPath().c_str()); in Setup()
425 header_ = reinterpret_cast<Elf_Ehdr*>(map_.Begin()); in SetMap()