/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-tilegx-linux.c | 503 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 519 PRE_MEM_WRITE("clone(child_tidptr)", ARG4, sizeof(Int)); in PRE() 520 if (!VG_(am_is_valid_for_client)(ARG4, sizeof(Int), VKI_PROT_WRITE)) { in PRE() 543 (Long *)ARG4, /* child_tidptr */ in PRE() 556 (Int *)ARG4)); /* child_tidptr */ in PRE() 579 POST_MEM_WRITE(ARG4, sizeof(Int)); in PRE() 648 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 655 PRE_MEM_WRITE( "ptrace(peek)", ARG4, in PRE() 659 PRE_MEM_WRITE( "ptrace(getregs)", ARG4, in PRE() 664 PRE_MEM_WRITE( "ptrace(getfpregs)", ARG4, in PRE() [all …]
|
D | syswrap-arm-linux.c | 356 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 362 r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, in PRE() 431 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 456 PRE_MEM_READ("clone(tls_user_desc)", ARG4, sizeof(vki_modify_ldt_t)); in PRE() 457 if (!VG_(am_is_valid_for_client)(ARG4, sizeof(vki_modify_ldt_t), in PRE() 482 (Addr)ARG4)); /* set_tls */ in PRE() 613 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 620 PRE_MEM_WRITE( "ptrace(peek)", ARG4, in PRE() 624 PRE_MEM_WRITE( "ptrace(getregs)", ARG4, in PRE() 628 PRE_MEM_WRITE( "ptrace(getfpregs)", ARG4, in PRE() [all …]
|
D | syswrap-solaris.c | 1165 ARG1, (HChar *) ARG1, ARG2, ARG3, ARG4, ARG5); in PRE() 1257 PRE_MEM_READ("spawn(argenv)", ARG4, ARG5); in PRE() 1276 if ((ARG4 == 0) /* obviously bogus */ || in PRE() 1277 !VG_(am_is_valid_for_client)(ARG4, ARG5, VKI_PROT_READ)) { in PRE() 1335 HChar *argenv = (HChar *) ARG4; in PRE() 1337 while ((Addr) argenv < ARG4 + ARG5) { in PRE() 1342 if ((*argenv == '\0') && ((Addr) argenv == ARG4 + ARG5 - 1)) { in PRE() 1347 if ((Addr) argenv != ARG4 + ARG5) { in PRE() 1800 fd1, ARG2, (HChar *) ARG2, fd2, ARG4, (HChar *) ARG4, SARG5); in PRE() 1804 PRE_MEM_RASCIIZ("linkat(path2)", ARG4); in PRE() [all …]
|
D | syswrap-amd64-linux.c | 349 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 368 PRE_MEM_READ("clone(tlsinfo)", ARG4, sizeof(vki_modify_ldt_t)); in PRE() 369 if (!VG_(am_is_valid_for_client)(ARG4, sizeof(vki_modify_ldt_t), in PRE() 379 PRE_MEM_WRITE("clone(child_tidptr)", ARG4, sizeof(Int)); in PRE() 380 if (!VG_(am_is_valid_for_client)(ARG4, sizeof(Int), VKI_PROT_WRITE)) { in PRE() 403 (Long *)ARG4, /* child_tidptr */ in PRE() 416 (Int *)ARG4)); /* child_tidptr */ in PRE() 439 POST_MEM_WRITE(ARG4, sizeof(Int)); in PRE() 543 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 550 PRE_MEM_WRITE( "ptrace(peek)", ARG4, in PRE() [all …]
|
D | syswrap-darwin.c | 1828 PRINT("semctl ( %ld, %ld, %ld, %#lx )", SARG1, SARG2, SARG3, ARG4); in PRE() 1834 PRINT("semctl ( %ld, %ld, %ld, %#lx )", SARG1, SARG2, SARG3, ARG4); in PRE() 1839 PRINT("semctl ( %ld, %ld, %ld, %#lx )", SARG1, SARG2, SARG3, ARG4); in PRE() 1849 ML_(generic_PRE_sys_semctl)(tid, ARG1,ARG2,ARG3,ARG4); in PRE() 1853 ML_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4); in POST() 1861 ARG1, (HChar*)ARG1, SARG2, ARG3, ARG4); in PRE() 1957 ARG1, (char*)ARG1, ARG2, ARG3, ARG4); in PRE() 1987 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6); in PRE() 1993 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8); in PRE() 2006 SARG1, ARG2, ARG3, ARG4, ARG5, ARG6); in PRE() [all …]
|
D | syswrap-x86-linux.c | 828 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 847 PRE_MEM_READ("clone(tlsinfo)", ARG4, sizeof(vki_modify_ldt_t)); in PRE() 848 if (!VG_(am_is_valid_for_client)(ARG4, sizeof(vki_modify_ldt_t), in PRE() 913 (vki_modify_ldt_t *)ARG4)); /* set_tls */ in PRE() 1076 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 1084 PRE_MEM_WRITE( "ptrace(peek)", ARG4, in PRE() 1088 PRE_MEM_WRITE( "ptrace(getregs)", ARG4, in PRE() 1092 PRE_MEM_WRITE( "ptrace(getfpregs)", ARG4, in PRE() 1096 PRE_MEM_WRITE( "ptrace(getfpxregs)", ARG4, in PRE() 1100 PRE_MEM_WRITE( "ptrace(get_thread_area)", ARG4, in PRE() [all …]
|
D | syswrap-linux.c | 541 ARG1,(HChar*)ARG1, ARG2,(HChar*)ARG2, ARG3,(HChar*)ARG3, ARG4, ARG5); in PRE() 788 PRINT("sys_llseek ( %lu, 0x%lx, 0x%lx, %#lx, %lu )", ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 796 PRE_MEM_WRITE( "llseek(result)", ARG4, sizeof(vki_loff_t)); in PRE() 802 POST_MEM_WRITE( ARG4, sizeof(vki_loff_t) ); in POST() 1092 PRINT("sys_sendfile ( %ld, %ld, %#lx, %lu )", SARG1,SARG2,ARG3,ARG4); in PRE() 1109 PRINT("sendfile64 ( %ld, %ld, %#lx, %lu )",SARG1,SARG2,ARG3,ARG4); in PRE() 1135 PRINT("sys_futex ( %#lx, %ld, %ld, %#lx, %#lx )", ARG1,SARG2,SARG3,ARG4,ARG5); in PRE() 1197 if (ARG4 != 0) in PRE() 1198 PRE_MEM_READ( "futex(timeout)", ARG4, sizeof(struct vki_timespec) ); in PRE() 1275 SARG1, ARG2, ARG3, ARG4, ARG5, ARG6); in PRE() [all …]
|
D | syswrap-s390x-linux.c | 334 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 342 PRE_MEM_WRITE( "ptrace(peek)", ARG4, in PRE() 346 PRE_MEM_WRITE( "ptrace(geteventmsg)", ARG4, sizeof(unsigned long)); in PRE() 349 PRE_MEM_WRITE( "ptrace(getsiginfo)", ARG4, sizeof(vki_siginfo_t)); in PRE() 352 PRE_MEM_READ( "ptrace(setsiginfo)", ARG4, sizeof(vki_siginfo_t)); in PRE() 389 ML_(linux_PRE_getregset)(tid, ARG3, ARG4); in PRE() 392 ML_(linux_PRE_setregset)(tid, ARG3, ARG4); in PRE() 405 POST_MEM_WRITE( ARG4, sizeof (long)); in POST() 408 POST_MEM_WRITE( ARG4, sizeof(unsigned long)); in POST() 414 POST_MEM_WRITE( ARG4, sizeof(vki_siginfo_t)); in POST() [all …]
|
D | syswrap-mips64-linux.c | 323 PRINT("sys_tee ( %ld, %ld, %lu, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 331 SARG1, ARG2, SARG3, ARG4, ARG5, ARG6); in PRE() 395 PRINT("sys_reboot ( %ld, %ld, %lu, %#lx )", SARG1, ARG2, ARG3, ARG4); in PRE() 418 PRINT("sys_ptrace ( %ld, %ld, %#lx, %#lx )", SARG1, SARG2, ARG3, ARG4); in PRE() 426 PRE_MEM_WRITE("ptrace(peek)", ARG4, sizeof(long)); in PRE() 429 PRE_MEM_WRITE("ptrace(geteventmsg)", ARG4, sizeof(unsigned long)); in PRE() 432 PRE_MEM_WRITE("ptrace(getsiginfo)", ARG4, sizeof(vki_siginfo_t)); in PRE() 435 PRE_MEM_READ("ptrace(setsiginfo)", ARG4, sizeof(vki_siginfo_t)); in PRE() 438 ML_(linux_PRE_getregset)(tid, ARG3, ARG4); in PRE() 451 POST_MEM_WRITE (ARG4, sizeof(long)); in POST() [all …]
|
D | syswrap-ppc32-linux.c | 408 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 414 r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, in PRE() 427 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 433 r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, in PRE() 537 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 580 (Addr)ARG4)); /* child_tls */ in PRE()
|
D | syswrap-arm64-linux.c | 445 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 451 r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 529 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 580 (Addr)ARG4)); /* tls_val */ in PRE()
|
D | syswrap-mips32-linux.c | 541 r = mips_PRE_sys_mmap(tid, ARG1, ARG2, ARG3, ARG4, ARG5, in PRE() 553 r = mips_PRE_sys_mmap(tid, ARG1, ARG2, ARG3, ARG4, ARG5, (Off64T) ARG6); in PRE() 597 SARG1, ARG2, (HChar*)ARG2, ARG3, ARG4); in PRE() 626 ARG4, ARG5); in PRE() 670 ARG1, ARG2, ARG3, ARG4, ARG5); in PRE() 676 (Addr) ARG4)); /* child_tls */ in PRE()
|
D | syswrap-ppc64-linux.c | 557 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 ); in PRE() 563 r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, in PRE() 637 PRINT("sys_clone ( %lx, %#lx, %#lx, %#lx, %#lx )",ARG1,ARG2,ARG3,ARG4,ARG5); in PRE() 680 (Addr)ARG4)); /* child_tls */ in PRE()
|
D | syswrap-generic.c | 2504 ARG4, ARG5); in PRE() 2514 if (ARG4) in PRE() 2515 PRE_MEM_WRITE( "getpmsg(bandp)", (Addr)ARG4, sizeof(int)); in PRE() 2623 if (ARG4 & VKI_MREMAP_FIXED) { in PRE() 2625 ARG1, ARG2, ARG3, ARG4, ARG5); in PRE() 2632 ARG1, ARG2, ARG3, ARG4); in PRE() 2638 do_mremap((Addr)ARG1, ARG2, (Addr)ARG5, ARG3, ARG4, tid) in PRE() 2687 ARG1, ARG2, ARG3, (Long)MERGE64(ARG4,ARG5)); in PRE() 2748 ARG1, ARG2, ARG3, (Long)MERGE64(ARG4,ARG5)); in PRE() 4239 ARG4, ARG5); in PRE() [all …]
|
D | syswrap-x86-solaris.c | 719 ARG1, ARG2, ARG3, ARG4, SARG5, ARG6, ARG7); in PRE() 729 r = ML_(generic_PRE_sys_mmap)(tid, ARG1, ARG2, ARG3, ARG4, ARG5, offset); in PRE() 920 SARG1, ARG2, ARG3, ARG4, ARG5); in PRE() 942 SARG1, ARG2, ARG3, ARG4, ARG5); in PRE()
|
D | priv_types_n_macros.h | 317 #define ARG4 (arrghs->arg4) macro 327 #define SARG4 ((Word)ARG4)
|
D | syswrap-xen.c | 258 ARG1, SARG2, ARG3, ARG4); in PRE()
|