/external/valgrind/none/tests/solaris/ |
D | proc_auxv.c | 11 static int check_file(const char *path, auxv_t *auxv) in check_file() argument 30 if (memcmp(auxv, &rauxv, sizeof(rauxv))) { in check_file() 32 fprintf(stderr, "expected: type=%d, val=%ld\n", auxv->a_type, in check_file() 33 auxv->a_un.a_val); in check_file() 39 if (auxv->a_type == AT_NULL) in check_file() 42 auxv++; in check_file() 54 auxv_t *auxv; in main() local 60 auxv = (auxv_t*)(envp + 1); in main() 63 if (check_file("/proc/self/auxv", auxv)) in main() 68 if (check_file(buf, auxv)) in main() [all …]
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-solaris.c | 315 const HChar *type_name, vki_auxv_t *auxv) in copy_auxv_entry() argument 317 vg_assert(auxv != NULL); in copy_auxv_entry() 327 auxv->a_type = type; in copy_auxv_entry() 328 auxv->a_un.a_val = orig_auxv->a_un.a_val; in copy_auxv_entry() 387 vki_auxv_t *auxv; in setup_client_stack() local 455 auxsize = 9 * sizeof(*auxv); in setup_client_stack() 457 auxsize += sizeof(*auxv); in setup_client_stack() 460 auxsize += sizeof(*auxv); in setup_client_stack() 605 auxv = (auxv_t*)ptr; in setup_client_stack() 609 auxv->a_type = VKI_AT_SUN_PLATFORM; in setup_client_stack() [all …]
|
D | initimg-linux.c | 349 struct auxv struct 359 struct auxv *find_auxv(UWord* sp) in find_auxv() argument 378 return (struct auxv *)sp; in find_auxv() 400 struct auxv *auxv; in setup_client_stack() local 401 const struct auxv *orig_auxv; in setup_client_stack() 402 const struct auxv *cauxv; in setup_client_stack() 453 auxsize = sizeof(*auxv); /* there's always at least one entry: AT_NULL */ in setup_client_stack() 614 auxv = (struct auxv *)ptr; in setup_client_stack() 615 *client_auxv = (UInt *)auxv; in setup_client_stack() 624 auxv[0].a_type = AT_IGNOREPPC; in setup_client_stack() [all …]
|
/external/valgrind/memcheck/tests/linux/ |
D | proc-auxv.c | 15 ElfW(auxv_t) auxv; in main() 43 while (read(fd, &auxv, sizeof(auxv)) == sizeof(auxv)) in main() 45 if (auxv.a_type == AT_ENTRY) in main() 46 entry1 = (void *) auxv.a_un.a_val; in main() 47 if (auxv.a_type == AT_PLATFORM) in main() 48 platform1 = strdup((char *) auxv.a_un.a_val); in main()
|
D | Makefile.am | 22 proc-auxv.vgtest proc-auxv.stderr.exp getregset.vgtest \ 39 proc-auxv
|
D | proc-auxv.vgtest | 2 prog: proc-auxv
|
/external/fio/arch/ |
D | arch-sh.h | 45 Elf32_auxv_t *auxv; in arch_init() local 50 for (auxv = (Elf32_auxv_t *) envp; auxv->a_type != AT_NULL; auxv++) { in arch_init() 51 if (auxv->a_type == AT_HWCAP) { in arch_init() 52 if (auxv->a_un.a_val & CPU_HAS_LLSC) { in arch_init()
|
/external/valgrind/gdbserver_tests/ |
D | mcmain_pic.vgtest | 2 # On linux, this implies a proper transfer of the auxv 3 # information via the gdbserver protocol packet qXfer:auxv:read: 4 # The content of the auxv data can be shown by gdb using 5 # gdb command 'info auxv'
|
/external/elfutils/libelf/ |
D | gelf_update_auxv.c | 67 Elf32_auxv_t *auxv; in gelf_update_auxv() local 85 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx]; in gelf_update_auxv() 87 auxv->a_type = src->a_type; in gelf_update_auxv() 88 auxv->a_un.a_val = src->a_un.a_val; in gelf_update_auxv()
|
/external/ltrace/sysdeps/linux-gnu/ |
D | proc.c | 457 Elf32_auxv_t auxv; in fetch_auxv32_entry() local 458 if (read(fd, &auxv, sizeof(auxv)) != sizeof(auxv)) in fetch_auxv32_entry() 461 ret->a_type = auxv.a_type; in fetch_auxv32_entry() 462 ret->a_un.a_val = auxv.a_un.a_val; in fetch_auxv32_entry()
|
/external/elfutils/libdwfl/ |
D | link_map.c | 104 auxv_format_probe (const void *auxv, size_t size, in auxv_format_probe() argument 107 const Elf32_auxv_t (*a32)[size / sizeof (Elf32_auxv_t)] = (void *) auxv; in auxv_format_probe() 108 const Elf64_auxv_t (*a64)[size / sizeof (Elf64_auxv_t)] = (void *) auxv; in auxv_format_probe() 696 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size, in dwfl_link_map_report() argument 705 if (likely (auxv != NULL) in dwfl_link_map_report() 706 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report() 717 const Elf##NN##_auxv_t *av = auxv; \ in dwfl_link_map_report()
|
D | core-file.c | 489 const void *auxv = NULL; in dwfl_core_file_report() local 514 auxv = notes->d_buf + desc_pos; in dwfl_core_file_report() 531 int retval = dwfl_link_map_report (dwfl, auxv, auxv_size, in dwfl_core_file_report()
|
D | libdwflP.h | 700 extern int dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size,
|
D | ChangeLog | 1159 (grovel_auxv): Detect 32-bit vs. 64-bit auxv, possibly call 1206 (dwfl_link_map_report): Handle unaligned auxv data.
|
/external/opencv3/modules/core/src/ |
D | system.cpp | 329 Elf32_auxv_t auxv; in initialize() local 330 const size_t size_auxv_t = sizeof(auxv); in initialize() 332 while ((size_t)read(cpufile, &auxv, size_auxv_t) == size_auxv_t) in initialize() 334 if (auxv.a_type == AT_HWCAP) in initialize() 336 f.have[CV_CPU_NEON] = (auxv.a_un.a_val & 4096) != 0; in initialize()
|
/external/kernel-headers/original/uapi/linux/ |
D | prctl.h | 145 __u64 *auxv; /* auxiliary vector */ member
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.h | 94 const wasteful_vector<elf_aux_val_t>& auxv() { return auxv_; } in auxv() function
|
D | linux_ptrace_dumper_unittest.cc | 276 reinterpret_cast<void *>(dumper.auxv()[AT_SYSINFO_EHDR]); in TEST_F()
|
D | minidump_writer.cc | 648 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr) *>(dumper_->auxv()[AT_PHDR]); in WriteDSODebugStream() 650 int phnum = dumper_->auxv()[AT_PHNUM]; in WriteDSODebugStream()
|
/external/valgrind/docs/internals/ |
D | 3_10_BUGSTATUS.txt | 337 proc-auxv no auxv?
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 184 auxv(NULL), in CrashedProcess() 224 const uint8_t* auxv; member 638 crashinfo->auxv = range.data(); in ParseAuxVector() 1184 !writea(1, crashinfo.auxv, crashinfo.auxv_length)) { in main()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-solaris.c | 170 vki_auxv_t *auxv = (vki_auxv_t *) VG_(client_auxv); in count_auxv() local 171 while (auxv->a_type != VKI_AT_NULL) { in count_auxv() 173 auxv++; in count_auxv()
|
/external/valgrind/ |
D | configure.ac | 3398 #include <sys/auxv.h> 3425 #include <sys/auxv.h>
|
D | NEWS | 1056 253519 Memcheck reports auxv pointer accesses as invalid reads.
|
/external/libpng/ |
D | CHANGES | 4415 1003.1 API to check /proc/self/auxv avoiding buffer allocation and other 4854 is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
|