Searched refs:hdr (Results 1 – 3 of 3) sorted by relevance
/sdk/emulator/qtools/ |
D | read_elf.cpp | 34 void SwapElfHeader(Elf32_Ehdr *hdr) in SwapElfHeader() argument 36 hdr->e_type = SwapHalf(hdr->e_type); in SwapElfHeader() 37 hdr->e_machine = SwapHalf(hdr->e_machine); in SwapElfHeader() 38 hdr->e_version = SwapWord(hdr->e_version); in SwapElfHeader() 39 hdr->e_entry = SwapAddr(hdr->e_entry); in SwapElfHeader() 40 hdr->e_phoff = SwapOff(hdr->e_phoff); in SwapElfHeader() 41 hdr->e_shoff = SwapOff(hdr->e_shoff); in SwapElfHeader() 42 hdr->e_flags = SwapWord(hdr->e_flags); in SwapElfHeader() 43 hdr->e_ehsize = SwapHalf(hdr->e_ehsize); in SwapElfHeader() 44 hdr->e_phentsize = SwapHalf(hdr->e_phentsize); in SwapElfHeader() [all …]
|
D | read_elf.h | 8 Elf32_Shdr *ReadSectionHeaders(Elf32_Ehdr *hdr, FILE *fobj); 9 char *ReadStringTable(Elf32_Ehdr *hdr, Elf32_Shdr *shdr, FILE *fobj); 10 Elf32_Shdr *FindSymbolTableSection(Elf32_Ehdr *hdr, 13 Elf32_Shdr *FindSymbolStringTableSection(Elf32_Ehdr *hdr, 17 void AdjustElfSymbols(Elf32_Ehdr *hdr, Elf32_Sym *elf_symbols,
|
D | trace_reader.h | 585 Elf32_Ehdr *hdr; in ReadElfSymbols() local 615 hdr = ReadElfHeader(fobj); in ReadElfSymbols() 616 if (hdr == NULL) { in ReadElfSymbols() 621 shdr = ReadSectionHeaders(hdr, fobj); in ReadElfSymbols() 626 char *section_names = ReadStringTable(hdr, shdr, fobj); in ReadElfSymbols() 629 symtab = FindSymbolTableSection(hdr, shdr, section_names); in ReadElfSymbols() 636 symstr = FindSymbolStringTableSection(hdr, shdr, section_names); in ReadElfSymbols() 649 AdjustElfSymbols(hdr, elf_symbols, num_entries); in ReadElfSymbols() 660 int num_alloc = num_entries + hdr->e_shnum + 1; in ReadElfSymbols() 692 if (section == 0 || section >= hdr->e_shnum) in ReadElfSymbols() [all …]
|