Searched refs:safe_to_deref (Results 1 – 7 of 7) sorted by relevance
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 547 && ML_(safe_to_deref)(tst->os_state.ustack, sizeof(vki_stack_t)) in VG_() 1127 if (ML_(safe_to_deref)(kfa, kfa->kfa_size)) { in spawn_pre_check_kfa() 1221 if (ML_(safe_to_deref)(attrs, sizeof(vki_kspawn_attr_t))) { in PRE() local 1233 if (ML_(safe_to_deref)(sap, sizeof(vki_spawn_attr_t))) { in PRE() local 1278 if ((ARG1 == 0) || !ML_(safe_to_deref)((HChar *) ARG1, 1)) { in PRE() 1642 if (!ML_(safe_to_deref)((const void *) filename, 1)) in handle_psinfo_open() 1718 if (!ML_(safe_to_deref)((const void *) filename, 1)) in handle_cmdline_open() 1817 && ML_(safe_to_deref)((void *) ARG2, 1) in PRE() 1823 && ML_(safe_to_deref)((void *) ARG4, 1) in PRE() 1849 && ML_(safe_to_deref)((void *) ARG3, 1) in PRE() [all …]
|
D | syswrap-generic.c | 151 Bool ML_(safe_to_deref) ( const void *start, SizeT size ) in ML_() argument 1050 if ( ML_(safe_to_deref)(&msg->msg_name, sizeof (void *)) in msghdr_foreachfield() 1057 if ( ML_(safe_to_deref)(&msg->msg_iov, sizeof (void *)) in msghdr_foreachfield() 1062 if (ML_(safe_to_deref)(&msg->msg_iovlen, sizeof (UInt))) { in msghdr_foreachfield() 1068 if (ML_(safe_to_deref)(&iov->iov_len, sizeof (UInt))) { in msghdr_foreachfield() 1079 if ( ML_(safe_to_deref) (&msg->msg_control, sizeof (void *)) in msghdr_foreachfield() 1135 if (! ML_(safe_to_deref) (&sa->sa_family, sizeof(vki_sa_family_t))) in pre_mem_read_sockaddr() 1141 if (ML_(safe_to_deref) (&saun->sun_path, sizeof (Addr))) { in pre_mem_read_sockaddr() 1210 if (a_p == NULL || ! ML_(safe_to_deref) (a_p, sizeof(UInt))) in deref_UInt() 2848 if (!ML_(safe_to_deref)((HChar **) ARG2, sizeof(HChar *))) { in PRE() [all …]
|
D | syswrap-linux.c | 1224 if (ML_(safe_to_deref) (tx, sizeof(struct vki_timex))) { in PRE() local 1431 if (ML_(safe_to_deref)((const HChar *) ARG2, VKI_TASK_COMM_LEN)) { in PRE() 1444 if (!ML_(safe_to_deref)(&name[i], 1) || name[i] == '\0') { in PRE() 1743 if (!ML_(safe_to_deref)(pss, sizeof(*pss))) { in PRE() 1756 if (ML_(safe_to_deref)(pss->ss, sizeof(*pss->ss))) { in PRE() 1798 if (!ML_(safe_to_deref)(guest_sigmask, sizeof(*guest_sigmask))) { in PRE() 2221 if (ML_(safe_to_deref)( (void*)ARG1, sizeof(struct vki_aio_ring))) { in PRE() 2720 if (ML_(safe_to_deref)(&evp->sigev_notify, sizeof(int)) in PRE() 3710 if (ML_(safe_to_deref)(sa,sizeof(struct vki_old_sigaction)) in PRE() 3724 && ! ML_(safe_to_deref)((void *)ARG2, in PRE() [all …]
|
D | syswrap-x86-linux.c | 491 } else if (ptr != NULL && ! ML_(safe_to_deref)(ptr, bytecount)) { in sys_modify_ldt() 525 if (info == NULL || ! ML_(safe_to_deref)(info, sizeof(vki_modify_ldt_t))) { in ML_() 579 if (info == NULL || ! ML_(safe_to_deref)(info, sizeof(vki_modify_ldt_t))) { in sys_get_thread_area()
|
D | syswrap-darwin.c | 2648 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in PRE() 2655 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in POST() 2669 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in PRE() 2676 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in POST() 2689 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in PRE() 2696 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in POST() 2710 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in PRE() 2717 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in POST() 2731 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in PRE() 2738 if (ML_(safe_to_deref)( (void*)ARG4, sizeof(vki_size_t) )) in POST() [all …]
|
D | priv_syswrap-generic.h | 54 extern Bool ML_(safe_to_deref) ( const void *start, SizeT size );
|
/external/valgrind/ |
D | NEWS | 439 359724 getsockname might crash - deref_UInt should call safe_to_deref
|