Searched refs:elf_base (Results 1 – 6 of 6) sorted by relevance
/external/google-breakpad/src/common/linux/ |
D | elfutils.cc | 43 void FindElfClassSection(const char *elf_base, in FindElfClassSection() argument 51 assert(elf_base); in FindElfClassSection() 55 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); in FindElfClassSection() 57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection() 73 *section_start = elf_base + section->sh_offset; in FindElfClassSection() 79 void FindElfClassSegment(const char *elf_base, in FindElfClassSegment() argument 86 assert(elf_base); in FindElfClassSegment() 90 assert(my_strncmp(elf_base, ELFMAG, SELFMAG) == 0); in FindElfClassSegment() 92 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment() 100 *segment_start = elf_base + phdrs[i].p_offset; in FindElfClassSegment() [all …]
|
D | elfutils.h | 71 int ElfClass(const void* elf_base);
|
/external/libchrome/base/debug/ |
D | elf_reader_linux.cc | 72 const char* elf_base = reinterpret_cast<const char*>(elf_mapped_base); in FindElfSegments() local 73 if (strncmp(elf_base, ELFMAG, SELFMAG) != 0) in FindElfSegments() 76 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfSegments() 78 reinterpret_cast<const Phdr*>(elf_base + elf_header->e_phoff); in FindElfSegments() 82 segments.push_back({elf_base + phdrs[i].p_offset, phdrs[i].p_filesz}); in FindElfSegments() 89 Optional<std::string> ReadElfBuildId(const void* elf_base) { in ReadElfBuildId() argument 91 std::vector<ElfSegment> segs = FindElfSegments(elf_base, PT_NOTE); in ReadElfBuildId() 104 Optional<std::string> ReadElfLibraryName(const void* elf_base) { in ReadElfLibraryName() argument 105 std::vector<ElfSegment> segs = FindElfSegments(elf_base, PT_DYNAMIC); in ReadElfLibraryName() 121 dynamic_iter->d_un.d_ptr + reinterpret_cast<const char*>(elf_base); in ReadElfLibraryName()
|
D | elf_reader_linux.h | 19 Optional<std::string> BASE_EXPORT ReadElfBuildId(const void* elf_base); 23 Optional<std::string> BASE_EXPORT ReadElfLibraryName(const void* elf_base);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 145 const void* elf_base, char* soname, size_t soname_size) { in ElfFileSoNameFromMappedFile() argument 146 if (!IsValidElf(elf_base)) { in ElfFileSoNameFromMappedFile() 154 if (!FindElfSection(elf_base, ".dynamic", SHT_DYNAMIC, in ElfFileSoNameFromMappedFile() 162 if (!FindElfSection(elf_base, ".dynstr", SHT_STRTAB, in ElfFileSoNameFromMappedFile()
|
/external/google-breakpad/src/common/solaris/ |
D | file_id.cc | 65 static bool FindElfTextSection(int fd, const void *elf_base, in FindElfTextSection() argument 123 *text_start = (char *)elf_base + text_section->sh_offset; in FindElfTextSection()
|