Home
last modified time | relevance | path

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

/external/google-breakpad/src/common/linux/
Delfutils.cc43 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 …]
Delfutils.h71 int ElfClass(const void* elf_base);
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc145 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/
Dfile_id.cc65 static bool FindElfTextSection(int fd, const void *elf_base, in FindElfTextSection() argument
123 *text_start = (char *)elf_base + text_section->sh_offset; in FindElfTextSection()