Home
last modified time | relevance | path

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

/external/valgrind/none/tests/solaris/
Dproc_auxv.c11 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/
Dinitimg-solaris.c315 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 …]
Dinitimg-linux.c349 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/
Dproc-auxv.c15 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()
DMakefile.am22 proc-auxv.vgtest proc-auxv.stderr.exp getregset.vgtest \
39 proc-auxv
Dproc-auxv.vgtest2 prog: proc-auxv
/external/fio/arch/
Darch-sh.h45 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/
Dmcmain_pic.vgtest2 # 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/
Dgelf_update_auxv.c67 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/
Dproc.c457 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/
Dlink_map.c104 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()
Dcore-file.c489 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()
DlibdwflP.h700 extern int dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size,
DChangeLog1159 (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/
Dsystem.cpp329 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/
Dprctl.h145 __u64 *auxv; /* auxiliary vector */ member
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h94 const wasteful_vector<elf_aux_val_t>& auxv() { return auxv_; } in auxv() function
Dlinux_ptrace_dumper_unittest.cc276 reinterpret_cast<void *>(dumper.auxv()[AT_SYSINFO_EHDR]); in TEST_F()
Dminidump_writer.cc648 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/
D3_10_BUGSTATUS.txt337 proc-auxv no auxv?
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc184 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/
Dcoredump-solaris.c170 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/
Dconfigure.ac3398 #include <sys/auxv.h>
3425 #include <sys/auxv.h>
DNEWS1056 253519 Memcheck reports auxv pointer accesses as invalid reads.
/external/libpng/
DCHANGES4415 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