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 typedef typename ElfTypes::Ehdr ALIGNED(1) Elf_Ehdr; typedef
63 header_ = Read<Elf_Ehdr>(/*offset=*/ 0); in ElfDebugReader()
68 CHECK_EQ(header_->e_ehsize, sizeof(Elf_Ehdr)); in ElfDebugReader()
91 const Elf_Ehdr* GetHeader() { return header_; } in GetHeader()
164 const Elf_Ehdr* header_;
Delf_builder.h81 using Elf_Ehdr = typename ElfTypes::Ehdr; variable
516 int size = sizeof(Elf_Ehdr);
568 Elf_Ehdr elf_header = MakeElfHeader(isa_); in End()
578 elf_header.e_phoff = sizeof(Elf_Ehdr); in End()
802 static Elf_Ehdr MakeElfHeader(InstructionSet isa) { in MakeElfHeader()
803 Elf_Ehdr elf_header = Elf_Ehdr(); in MakeElfHeader()
849 elf_header.e_ehsize = sizeof(Elf_Ehdr); in MakeElfHeader()
865 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
874 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
74 Elf_Ehdr& GetHeader() const;
203 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()