Home
last modified time | relevance | path

Searched refs:ElfW (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc48 int ElfBind(const ElfW(Sym) *symbol) { return ELF32_ST_BIND(symbol->st_info); } in ElfBind()
49 int ElfType(const ElfW(Sym) *symbol) { return ELF32_ST_TYPE(symbol->st_info); } in ElfType()
52 int ElfBind(const ElfW(Sym) *symbol) { return ELF64_ST_BIND(symbol->st_info); }
53 int ElfType(const ElfW(Sym) *symbol) { return ELF64_ST_TYPE(symbol->st_info); }
56 int ElfBind(const ElfW(Sym) *) {
60 int ElfType(const ElfW(Sym) *) {
70 const T *GetTableElement(const ElfW(Ehdr) * ehdr, ElfW(Off) table_offset, in GetTableElement()
71 ElfW(Word) element_size, size_t index) { in GetTableElement()
96 const ElfW(Sym) *ElfMemImage::GetDynsym(int index) const { in ElfW() function
101 const ElfW(Versym) *ElfMemImage::GetVersym(int index) const { in ElfW() function
[all …]
Delf_mem_image.h66 const ElfW(Sym) *symbol; // Symbol in the dynamic symbol table.
90 const ElfW(Phdr)* GetPhdr(int index) const;
91 const ElfW(Sym)* GetDynsym(int index) const;
92 const ElfW(Versym)* GetVersym(int index) const;
93 const ElfW(Verdef)* GetVerdef(int index) const;
94 const ElfW(Verdaux)* GetVerdefAux(const ElfW(Verdef) *verdef) const;
95 const char* GetDynstr(ElfW(Word) offset) const;
96 const void* GetSymAddr(const ElfW(Sym) *sym) const;
97 const char* GetVerstr(ElfW(Word) offset) const;
117 const ElfW(Ehdr) *ehdr_;
[all …]
Dsymbolize.h52 const ElfW(Shdr) &)>& callback);
57 ElfW(Shdr) *out);
Dvdso_support.cc86 ElfW(auxv_t) aux; in Init()
/third_party/musl/ndk_musl_include/
Dlink.h14 #define ElfW(type) Elf64_ ## type macro
16 #define ElfW(type) Elf32_ ## type
22 ElfW(Addr) dlpi_addr;
24 const ElfW(Phdr) *dlpi_phdr;
25 ElfW(Half) dlpi_phnum;
33 ElfW(Addr) l_addr;
35 ElfW(Dyn) *l_ld;
42 ElfW(Addr) r_brk;
44 ElfW(Addr) r_ldbase;
/third_party/musl/porting/uniproton/kernel/include/
Dlink.h14 #define ElfW(type) Elf64_ ## type macro
16 #define ElfW(type) Elf32_ ## type
22 ElfW(Addr) dlpi_addr;
24 const ElfW(Phdr) *dlpi_phdr;
25 ElfW(Half) dlpi_phnum;
33 ElfW(Addr) l_addr;
35 ElfW(Dyn) *l_ld;
42 ElfW(Addr) r_brk;
44 ElfW(Addr) r_ldbase;
/third_party/musl/include/
Dlink.h14 #define ElfW(type) Elf64_ ## type macro
16 #define ElfW(type) Elf32_ ## type
22 ElfW(Addr) dlpi_addr;
24 const ElfW(Phdr) *dlpi_phdr;
25 ElfW(Half) dlpi_phnum;
33 ElfW(Addr) l_addr;
35 ElfW(Dyn) *l_ld;
42 ElfW(Addr) r_brk;
44 ElfW(Addr) r_ldbase;
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dlink.h14 #define ElfW(type) Elf64_ ## type macro
16 #define ElfW(type) Elf32_ ## type
22 ElfW(Addr) dlpi_addr;
24 const ElfW(Phdr) *dlpi_phdr;
25 ElfW(Half) dlpi_phnum;
33 ElfW(Addr) l_addr;
35 ElfW(Dyn) *l_ld;
42 ElfW(Addr) r_brk;
44 ElfW(Addr) r_ldbase;
/third_party/musl/porting/liteos_m/kernel/include/
Dlink.h14 #define ElfW(type) Elf64_ ## type macro
16 #define ElfW(type) Elf32_ ## type
22 ElfW(Addr) dlpi_addr;
24 const ElfW(Phdr) *dlpi_phdr;
25 ElfW(Half) dlpi_phnum;
33 ElfW(Addr) l_addr;
35 ElfW(Dyn) *l_ld;
42 ElfW(Addr) r_brk;
44 ElfW(Addr) r_ldbase;
/third_party/node/deps/postject/
Dpostject-api.h134 for (; n > 0; n--, p += sizeof(ElfW(Phdr))) { in postject_find_resource()
135 ElfW(Phdr)* phdr = (ElfW(Phdr)*)p; in postject_find_resource()
148 if (pos + sizeof(ElfW(Nhdr)) > end) { in postject_find_resource()
152 ElfW(Nhdr)* note = (ElfW(Nhdr)*)(uintptr_t)pos; in postject_find_resource()
154 strncmp((char*)(pos + sizeof(ElfW(Nhdr))), (char*)name, in postject_find_resource()
159 return (void*)((uintptr_t)note + sizeof(ElfW(Nhdr)) + in postject_find_resource()
163 pos += (sizeof(ElfW(Nhdr)) + roundup(note->n_namesz, 4) + in postject_find_resource()
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
Dpostject-api.h134 for (; n > 0; n--, p += sizeof(ElfW(Phdr))) { in postject_find_resource()
135 ElfW(Phdr)* phdr = (ElfW(Phdr)*)p; in postject_find_resource()
148 if (pos + sizeof(ElfW(Nhdr)) > end) { in postject_find_resource()
152 ElfW(Nhdr)* note = (ElfW(Nhdr)*)(uintptr_t)pos; in postject_find_resource()
154 strncmp((char*)(pos + sizeof(ElfW(Nhdr))), (char*)name, in postject_find_resource()
159 return (void*)((uintptr_t)note + sizeof(ElfW(Nhdr)) + in postject_find_resource()
163 pos += (sizeof(ElfW(Nhdr)) + roundup(note->n_namesz, 4) + in postject_find_resource()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
Dldso_dl_iterate_phdr_test.cpp51 for (ElfW(Half) i = 0; i < info->dlpi_phnum; ++i) { in CallBack002()
52 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); in CallBack002() local
54 ElfW(Dyn)* dyn = reinterpret_cast<ElfW(Dyn)*>(info->dlpi_addr + phdr->p_vaddr); in CallBack002()
/third_party/mesa3d/src/util/
Dbuild_id.c37 #ifndef ElfW
38 #define ElfW(type) Elf_##type macro
42 ElfW(Nhdr) nhdr;
91 size_t offset = sizeof(ElfW(Nhdr)) + in build_id_find_nhdr_callback()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc54 #include <link.h> // For ElfW() macro.
200 ElfW(Ehdr) elf_header;
204 std::array<ElfW(Phdr), 2> phdr;
336 // tmp_buf_ will be used to store arrays of ElfW(Shdr) and ElfW(Sym)
339 static_assert(alignof(ElfW(Shdr)) <= 16,
341 static_assert(alignof(ElfW(Sym)) <= 16,
459 ElfW(Ehdr) elf_header;
475 const int fd, ElfW(Half) sh_num, const off_t sh_offset, ElfW(Word) type,
476 ElfW(Shdr) * out, char *tmp_buf, int tmp_buf_size) {
477 ElfW(Shdr) *buf = reinterpret_cast<ElfW(Shdr) *>(tmp_buf);
[all …]
Dsymbolize_test.cc420 fd, [&sections](const absl::string_view name, const ElfW(Shdr) &) { in TEST()
/third_party/skia/third_party/externals/angle2/util/posix/
Dcrash_handler_posix.cpp316 ElfW(Ehdr) ehdr;
317 static_assert(SELFMAG <= sizeof(ElfW(Ehdr)), "SELFMAG too large");
319 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) &&
339 ElfW(Phdr) phdr;
/third_party/libunwind/src/dwarf/
DGfind_unwind_table.c46 #ifndef ElfW
47 #define ElfW(type) Elf_##type macro
174 note_offset = sizeof(ElfW(Nhdr)) + in dwarf_find_unwind_table()
/third_party/node/src/large_pages/
Dnode_large_page.cc147 #ifndef ElfW
148 #define ElfW(name) Elf_##name macro
163 const ElfW(Phdr)* phdr = &info->dlpi_phdr[idx]; in FindMapping() local
/third_party/musl/src/ldso/arm/
Dfind_exidx.c13 const ElfW(Phdr) *phdr = info->dlpi_phdr; in find_exidx()
/third_party/musl/src/ldso/
Ddl_iterate_phdr.c13 ElfW(Phdr) *phdr, *tls_phdr=0; in static_dl_iterate_phdr()
/third_party/libunwind/include/
Dlibunwind_i.h331 ElfW(Nhdr) nhdr;