OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:elf_base
(Results
1 - 6
of
6
) sorted by null
/external/libchrome/base/debug/
elf_reader_linux.h
17
// |
elf_base
|, if present. The caller must ensure that the file is fully mapped
19
Optional<std::string> BASE_EXPORT ReadElfBuildId(const void*
elf_base
);
21
// Returns the library name from the ELF file mapped at |
elf_base
|, if present.
23
Optional<std::string> BASE_EXPORT ReadElfLibraryName(const void*
elf_base
);
elf_reader_linux.cc
72
const char*
elf_base
= reinterpret_cast<const char*>(elf_mapped_base);
local
73
if (strncmp(
elf_base
, ELFMAG, SELFMAG) != 0)
76
const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(
elf_base
);
78
reinterpret_cast<const Phdr*>(
elf_base
+ elf_header->e_phoff);
82
segments.push_back({
elf_base
+ phdrs[i].p_offset, phdrs[i].p_filesz});
89
Optional<std::string> ReadElfBuildId(const void*
elf_base
) {
91
std::vector<ElfSegment> segs = FindElfSegments(
elf_base
, PT_NOTE);
104
Optional<std::string> ReadElfLibraryName(const void*
elf_base
) {
105
std::vector<ElfSegment> segs = FindElfSegments(
elf_base
, PT_DYNAMIC);
121
dynamic_iter->d_un.d_ptr + reinterpret_cast<const char*>(
elf_base
);
[
all
...]
/external/google-breakpad/src/common/linux/
elfutils.cc
43
void FindElfClassSection(const char *
elf_base
,
51
assert(
elf_base
);
55
assert(my_strncmp(
elf_base
, ELFMAG, SELFMAG) == 0);
57
const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(
elf_base
);
73
*section_start =
elf_base
+ section->sh_offset;
79
void FindElfClassSegment(const char *
elf_base
,
86
assert(
elf_base
);
90
assert(my_strncmp(
elf_base
, ELFMAG, SELFMAG) == 0);
92
const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(
elf_base
);
100
*segment_start =
elf_base
+ phdrs[i].p_offset
142
const char*
elf_base
=
local
178
const char*
elf_base
=
local
[
all
...]
elfutils.h
71
int ElfClass(const void*
elf_base
);
/external/google-breakpad/src/common/solaris/
file_id.cc
65
static bool FindElfTextSection(int fd, const void *
elf_base
,
123
*text_start = (char *)
elf_base
+ text_section->sh_offset;
/external/google-breakpad/src/client/linux/minidump_writer/
linux_dumper.cc
145
const void*
elf_base
, char* soname, size_t soname_size) {
146
if (!IsValidElf(
elf_base
)) {
154
if (!FindElfSection(
elf_base
, ".dynamic", SHT_DYNAMIC,
162
if (!FindElfSection(
elf_base
, ".dynstr", SHT_STRTAB,
Completed in 554 milliseconds