reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
  137     POST_WRITE(iovec[i].iov_base, sz);
  163         POST_WRITE(msg->msg_iov[i].iov_base, msg->msg_iov[i].iov_len);
  165       POST_WRITE(msg->msg_control, msg->msg_controllen);
  180         POST_WRITE(msg->msg_hdr.msg_iov[i].iov_base,
  183       POST_WRITE(msg->msg_hdr.msg_control, msg->msg_hdr.msg_controllen);
  184       POST_WRITE(&msg->msg_len, sizeof(msg->msg_len));
  186     if (timeout) POST_WRITE(timeout, struct_timespec_sz);
  198     POST_WRITE(buf, res);
  206     if (tloc) POST_WRITE(tloc, sizeof(long));
  214     if (tptr) POST_WRITE(tptr, sizeof(long));
  222     if (tv) POST_WRITE(tv, timeval_sz);
  223     if (tz) POST_WRITE(tz, struct_timezone_sz);
  231     if (tv) POST_WRITE(tv, timeval_sz);
  232     if (tz) POST_WRITE(tz, struct_timezone_sz);
  241     if (txc_p) POST_WRITE(txc_p, struct_timex_sz);
  250     if (tbuf) POST_WRITE(tbuf, struct_tms_sz);
  262     if (rqtp) POST_WRITE(rqtp, struct_timespec_sz);
  263     if (rmtp) POST_WRITE(rmtp, struct_timespec_sz);
  299     if (ruid) POST_WRITE(ruid, sizeof(unsigned));
  300     if (euid) POST_WRITE(euid, sizeof(unsigned));
  301     if (suid) POST_WRITE(suid, sizeof(unsigned));
  309     if (rgid) POST_WRITE(rgid, sizeof(unsigned));
  310     if (egid) POST_WRITE(egid, sizeof(unsigned));
  311     if (sgid) POST_WRITE(sgid, sizeof(unsigned));
  332     if (grouplist) POST_WRITE(grouplist, res * sizeof(*grouplist));
  377   if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
  396     if (dataptr) POST_WRITE(dataptr, __user_cap_data_struct_sz);
  414     if (set) POST_WRITE(set, old_sigset_t_sz);
  422     if (set) POST_WRITE(set, old_sigset_t_sz);
  423     if (oset) POST_WRITE(oset, old_sigset_t_sz);
  431     if (value) POST_WRITE(value, struct_itimerval_sz);
  439     if (value) POST_WRITE(value, struct_itimerval_sz);
  440     if (ovalue) POST_WRITE(ovalue, struct_itimerval_sz);
  450     if (timer_event_spec) POST_WRITE(timer_event_spec, struct_sigevent_sz);
  451     if (created_timer_id) POST_WRITE(created_timer_id, sizeof(long));
  459     if (setting) POST_WRITE(setting, struct_itimerspec_sz);
  475     if (old_setting) POST_WRITE(old_setting, struct_itimerspec_sz);
  493     if (tp) POST_WRITE(tp, struct_timespec_sz);
  502     if (tx) POST_WRITE(tx, struct_timex_sz);
  511     if (tp) POST_WRITE(tp, struct_timespec_sz);
  523     if (rmtp) POST_WRITE(rmtp, struct_timespec_sz);
  535     if (param) POST_WRITE(param, struct_sched_param_sz);
  553     if (param) POST_WRITE(param, struct_sched_param_sz);
  569     if (user_mask_ptr) POST_WRITE(user_mask_ptr, len);
  589     if (interval) POST_WRITE(interval, struct_timespec_sz);
  619     if (segments) POST_WRITE(segments, struct_kexec_segment_sz);
  636     if (stat_addr) POST_WRITE(stat_addr, sizeof(int));
  637     if (ru) POST_WRITE(ru, struct_rusage_sz);
  647     if (infop) POST_WRITE(infop, siginfo_t_sz);
  648     if (ru) POST_WRITE(ru, struct_rusage_sz);
  656     if (stat_addr) POST_WRITE(stat_addr, sizeof(int));
  664     if (tidptr) POST_WRITE(tidptr, sizeof(int));
  688     if (set) POST_WRITE(set, sigsetsize);
  689     if (oset) POST_WRITE(oset, sigsetsize);
  697     if (set) POST_WRITE(set, sigsetsize);
  710     if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
  719     if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
  739     if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
  782       POST_WRITE(dev_name,
  785       POST_WRITE(dir_name,
  788       POST_WRITE(type, __sanitizer::internal_strlen((const char *)type) + 1);
  797       POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
  806       POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
  829     if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz);
  841     if (buf) POST_WRITE(buf, struct_statfs_sz);
  852     if (buf) POST_WRITE(buf, struct_statfs64_sz);
  860     if (buf) POST_WRITE(buf, struct_statfs_sz);
  868     if (buf) POST_WRITE(buf, struct_statfs64_sz);
  881     if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz);
  889     if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz);
  901     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat_sz);
  913     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat_sz);
  921     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat_sz);
  930     if (ubuf) POST_WRITE(ubuf, struct_ustat_sz);
  943     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat64_sz);
  951     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat64_sz);
  963     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat64_sz);
 1012     if (value) POST_WRITE(value, res);
 1027     if (value) POST_WRITE(value, res);
 1039     if (value) POST_WRITE(value, res);
 1050     if (list) POST_WRITE(list, res);
 1061     if (list) POST_WRITE(list, res);
 1069     if (list) POST_WRITE(list, res);
 1151       POST_WRITE(vec, (len + GetPageSizeCached() - 1) / GetPageSizeCached());
 1240     if (fildes) POST_WRITE(fildes, sizeof(int) * 2);
 1247     if (fildes) POST_WRITE(fildes, sizeof(int) * 2);
 1280     if (ctx) POST_WRITE(ctx, sizeof(*ctx));
 1284     if (*ctx) POST_WRITE(*ctx, 32);
 1300     if (ioevpp) POST_WRITE(ioevpp, res * sizeof(*ioevpp));
 1301     if (timeout) POST_WRITE(timeout, struct_timespec_sz);
 1324       POST_WRITE(buf, len);
 1332         POST_WRITE(iovec[v].iov_base, iovec[v].iov_len);
 1352       POST_WRITE(result, sizeof(*result));
 1355       POST_WRITE(iocb, sizeof(*iocb));
 1364     if (offset) POST_WRITE(offset, sizeof(*offset));
 1373     if (offset) POST_WRITE(offset, sizeof(*offset));
 1385       POST_WRITE(buf, __sanitizer::internal_strlen((const char *)buf) + 1);
 1560       POST_WRITE(filename,
 1562     if (times) POST_WRITE(times, struct_utimbuf_sz);
 1571       POST_WRITE(filename,
 1573     if (utimes) POST_WRITE(utimes, timeval_sz);
 1587     if (result) POST_WRITE(result, sizeof(long long));
 1620     if (buf) POST_WRITE(buf, res);
 1674       POST_WRITE(buf, __sanitizer::internal_strlen((const char *)buf) + 1);
 1711       POST_WRITE(buf, __sanitizer::internal_strlen((const char *)buf) + 1);
 1727     if (dirent) POST_WRITE(dirent, res);
 1735     if (dirent) POST_WRITE(dirent, res);
 1746       POST_WRITE(optval,
 1758       POST_WRITE(optval,
 1760     if (optlen) POST_WRITE(optlen, sizeof(int));
 1769     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1778     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1787     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1788     if (arg2) POST_WRITE(arg2, sizeof(unsigned));
 1798     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1799     if (arg2) POST_WRITE(arg2, sizeof(unsigned));
 1809     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1810     if (arg2) POST_WRITE(arg2, sizeof(unsigned));
 1820     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 1821     if (arg2) POST_WRITE(arg2, sizeof(unsigned));
 1840     if (arg4) POST_WRITE(arg4, sizeof(*arg4));
 1860     if (buf) POST_WRITE(buf, res);
 1870     if (buf) POST_WRITE(buf, res);
 1871     if (arg4) POST_WRITE(arg4, sizeof(*arg4));
 1872     if (arg5) POST_WRITE(arg5, sizeof(int));
 1884     if (sv) POST_WRITE(sv, sizeof(int) * 2);
 1891     if (args) POST_WRITE(args, sizeof(long));
 1904     if (ufds) POST_WRITE(ufds, nfds * sizeof(*ufds));
 1916     if (inp) POST_WRITE(inp, sizeof(*inp));
 1917     if (outp) POST_WRITE(outp, sizeof(*outp));
 1918     if (exp) POST_WRITE(exp, sizeof(*exp));
 1919     if (tvp) POST_WRITE(tvp, timeval_sz);
 1939     if (event) POST_WRITE(event, struct_epoll_event_sz);
 1949     if (events) POST_WRITE(events, struct_epoll_event_sz);
 1961     if (events) POST_WRITE(events, struct_epoll_event_sz);
 1970       POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
 1979       POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
 1988       POST_WRITE(name, __sanitizer::internal_strlen((const char *)name) + 1);
 1996     if (name) POST_WRITE(name, struct_new_utsname_sz);
 2004     if (arg0) POST_WRITE(arg0, struct_old_utsname_sz);
 2012     if (arg0) POST_WRITE(arg0, struct_oldold_utsname_sz);
 2020     if (rlim) POST_WRITE(rlim, struct_rlimit_sz);
 2028     if (rlim) POST_WRITE(rlim, struct_rlimit_sz);
 2036     if (rlim) POST_WRITE(rlim, struct_rlimit_sz);
 2049     if (old_rlim) POST_WRITE(old_rlim, struct_rlimit64_sz);
 2058     if (ru) POST_WRITE(ru, struct_rusage_sz);
 2083     if (msgp) POST_WRITE(msgp, res);
 2092     if (buf) POST_WRITE(buf, struct_msqid_ds_sz);
 2122       POST_WRITE(shmaddr,
 2136       POST_WRITE(shmaddr,
 2152     if (buf) POST_WRITE(buf, sizeof(__sanitizer_shmid_ds));
 2164     if (attr) POST_WRITE(attr, struct_mq_attr_sz);
 2193     if (msg_ptr) POST_WRITE(msg_ptr, res);
 2194     if (msg_prio) POST_WRITE(msg_prio, sizeof(*msg_prio));
 2211     if (omqstat) POST_WRITE(omqstat, struct_mq_attr_sz);
 2258       POST_WRITE(args->oldlenp, sizeof(*args->oldlenp));
 2259       POST_WRITE(args->oldval, *args->oldlenp);
 2268     if (info) POST_WRITE(info, struct_sysinfo_sz);
 2281       POST_WRITE(buf, __sanitizer::internal_strlen((const char *)buf) + 1);
 2326       POST_WRITE((void *)data, struct_user_regs_struct_sz);
 2328       POST_WRITE((void *)data, struct_user_fpregs_struct_sz);
 2330       POST_WRITE((void *)data, struct_user_fpxregs_struct_sz);
 2332       POST_WRITE((void *)data, siginfo_t_sz);
 2335       POST_WRITE(iov->iov_base, iov->iov_len);
 2338       POST_WRITE((void *)data, sizeof(void *));
 2388     if (nmask) POST_WRITE(nmask, sizeof(long));
 2410     if (status) POST_WRITE(status, nr_pages * sizeof(*status));
 2420     if (nmask) POST_WRITE(nmask, sizeof(long));
 2430     if (policy) POST_WRITE(policy, sizeof(int));
 2431     if (nmask) POST_WRITE(nmask, sizeof(long));
 2459     if (unpc) POST_WRITE(unpc, sizeof(*unpc));
 2460     if (ustatus) POST_WRITE(ustatus, sizeof(*ustatus));
 2538     if (utimes) POST_WRITE(utimes, timeval_sz);
 2587     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat_sz);
 2601     if (statbuf) POST_WRITE(statbuf, struct_kernel_stat64_sz);
 2614       POST_WRITE(buf, __sanitizer::internal_strlen((const char *)buf) + 1);
 2628     if (utimes) POST_WRITE(utimes, struct_timespec_sz);
 2642     if (off_in) POST_WRITE(off_in, sizeof(long long));
 2643     if (off_out) POST_WRITE(off_out, sizeof(long long));
 2674     if (cpu) POST_WRITE(cpu, sizeof(unsigned));
 2675     if (node) POST_WRITE(node, sizeof(unsigned));
 2685     if (user_mask) POST_WRITE(user_mask, sizemask);
 2694     if (user_mask) POST_WRITE(user_mask, sizemask);
 2710     if (otmr) POST_WRITE(otmr, struct_itimerspec_sz);
 2718     if (otmr) POST_WRITE(otmr, struct_itimerspec_sz);
 2746     if (arg1) POST_WRITE(arg1, sizeof(*arg1));
 2747     if (arg2) POST_WRITE(arg2, sizeof(*arg2));
 2748     if (arg3) POST_WRITE(arg3, sizeof(*arg3));
 2749     if (arg4) POST_WRITE(arg4, struct_timespec_sz);
 2761     if (arg0) POST_WRITE(arg0, sizeof(*arg0));
 2762     if (arg2) POST_WRITE(arg2, struct_timespec_sz);
 2855   if (res >= 0 && oldact) POST_WRITE(oldact, sizeof(*oldact));
 2873     POST_WRITE(oldact, oldact_sz);
 2885     POST_WRITE(buf, res);