Home
last modified time | relevance | path

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

123

/external/openscreen/third_party/abseil/src/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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/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 …]
/external/webrtc/third_party/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.h49 const ElfW(Shdr) &)>& callback);
54 ElfW(Shdr) *out);
/external/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.h49 const ElfW(Shdr) &)>& callback);
54 ElfW(Shdr) *out);
/external/libtextclassifier/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 …]
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_globals.cpp27 static void CheckCodeModel(ElfW(Addr) base, const ElfW(Phdr) * phdr, in CheckCodeModel()
28 ElfW(Half) phnum) { in CheckCodeModel()
29 ElfW(Addr) min_addr = -1ull, max_addr = 0; in CheckCodeModel()
33 ElfW(Addr) lo = base + phdr[i].p_vaddr, hi = lo + phdr[i].p_memsz; in CheckCodeModel()
50 ArrayRef<const hwasan_global> HwasanGlobalsFor(ElfW(Addr) base, in HwasanGlobalsFor()
51 const ElfW(Phdr) * phdr, in HwasanGlobalsFor()
52 ElfW(Half) phnum) { in HwasanGlobalsFor()
63 auto *nhdr = reinterpret_cast<const ElfW(Nhdr) *>(note); in HwasanGlobalsFor()
64 const char *name = note + sizeof(ElfW(Nhdr)); in HwasanGlobalsFor()
Dhwasan_dynamic_shadow.cpp84 extern __attribute((weak, visibility("hidden"))) ElfW(Rela) __rela_iplt_start[],
95 typedef ElfW(Addr) (*ifunc_resolver_t)(void); in InitShadowGOT()
96 for (ElfW(Rela) *r = __rela_iplt_start; r != __rela_iplt_end; ++r) { in InitShadowGOT()
97 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset); in InitShadowGOT()
98 ElfW(Addr) resolver = r->r_addend; in InitShadowGOT()
99 if (resolver == reinterpret_cast<ElfW(Addr)>(&__hwasan_premap_shadow)) { in InitShadowGOT()
Dhwasan_globals.h43 ArrayRef<const hwasan_global> HwasanGlobalsFor(ElfW(Addr) base,
44 const ElfW(Phdr) * phdr,
45 ElfW(Half) phnum);
Dhwasan_interface_internal.h30 void __hwasan_library_loaded(ElfW(Addr) base, const ElfW(Phdr) * phdr,
31 ElfW(Half) phnum);
34 void __hwasan_library_unloaded(ElfW(Addr) base, const ElfW(Phdr) * phdr,
35 ElfW(Half) phnum);
Dhwasan.cpp252 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()
255 reinterpret_cast<const ElfW(Phdr) *>( in __hwasan_init_static()
314 void __hwasan_library_loaded(ElfW(Addr) base, const ElfW(Phdr) * phdr, in __hwasan_library_loaded()
315 ElfW(Half) phnum) { in __hwasan_library_loaded()
320 void __hwasan_library_unloaded(ElfW(Addr) base, const ElfW(Phdr) * phdr, in __hwasan_library_unloaded()
321 ElfW(Half) phnum) { in __hwasan_library_unloaded()
/external/google-breakpad/src/common/linux/
Delf_core_dump.h50 typedef ElfW(Ehdr) Ehdr;
51 typedef ElfW(Nhdr) Nhdr;
52 typedef ElfW(Phdr) Phdr;
53 typedef ElfW(Word) Word;
54 typedef ElfW(Addr) Addr;
/external/google-breakpad/src/common/android/include/
Dlink.h55 ElfW(Addr) r_brk;
60 ElfW(Addr) r_ldbase;
64 ElfW(Addr) l_addr;
66 ElfW(Dyn)* l_ld;
/external/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()
/external/compiler-rt/lib/cfi/
Dcfi.cc20 typedef ElfW(Phdr) Elf_Phdr;
21 typedef ElfW(Ehdr) Elf_Ehdr;
180 const ElfW(Dyn) *dynamic = nullptr; in find_cfi_check_in_dso() local
184 (const ElfW(Dyn) *)(info->dlpi_addr + info->dlpi_phdr[i].p_vaddr); in find_cfi_check_in_dso()
190 for (const ElfW(Dyn) *p = dynamic; p->d_tag != PT_NULL; ++p) { in find_cfi_check_in_dso() local
221 for (const ElfW(Sym) *p = (const ElfW(Sym) *)symtab; (ElfW(Addr))p < strtab; in find_cfi_check_in_dso() local
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h285 bool GetLoadedElfHeader(uintptr_t start_addr, ElfW(Ehdr)* ehdr);
292 void ParseLoadedElfProgramHeaders(ElfW(Ehdr)* ehdr,
312 uintptr_t GetEffectiveLoadBias(ElfW(Ehdr)* ehdr, uintptr_t start_addr);
/external/rust/crates/grpcio-sys/grpc/third_party/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 …]
/external/libtextclassifier/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 …]
/external/openscreen/third_party/abseil/src/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 …]

123