• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/

Lines Matching refs:struct

311 struct FileMetadata {
317 struct CommonInterceptorMetadata {
980 static void write_iovec(void *ctx, struct __sanitizer_iovec *iovec,
989 static void read_iovec(void *ctx, struct __sanitizer_iovec *iovec,
1458 // initialize the entire struct tm. For example, tm_zone pointer is left
2238 const struct __sanitizer_itimerval *nv =
2239 (const struct __sanitizer_itimerval *)new_value;
2571 struct __sanitizer_addrinfo *hints,
2572 struct __sanitizer_addrinfo **out) {
2586 struct __sanitizer_addrinfo *p = *out;
2651 static void write_hostent(void *ctx, struct __sanitizer_hostent *h) {
2673 INTERCEPTOR(struct __sanitizer_hostent *, gethostbyname, char *name) {
2676 struct __sanitizer_hostent *res = REAL(gethostbyname)(name);
2681 INTERCEPTOR(struct __sanitizer_hostent *, gethostbyaddr, void *addr, int len,
2686 struct __sanitizer_hostent *res = REAL(gethostbyaddr)(addr, len, type);
2691 INTERCEPTOR(struct __sanitizer_hostent *, gethostent, int fake) {
2694 struct __sanitizer_hostent *res = REAL(gethostent)(fake);
2707 INTERCEPTOR(struct __sanitizer_hostent *, gethostbyname2, char *name, int af) {
2710 struct __sanitizer_hostent *res = REAL(gethostbyname2)(name, af);
2720 INTERCEPTOR(int, gethostbyname_r, char *name, struct __sanitizer_hostent *ret,
2744 INTERCEPTOR(int, gethostent_r, struct __sanitizer_hostent *ret, char *buf,
2769 struct __sanitizer_hostent *ret, char *buf, SIZE_T buflen,
2796 struct __sanitizer_hostent *ret, char *buf, SIZE_T buflen,
2957 static void write_msghdr(void *ctx, struct __sanitizer_msghdr *msg,
2972 INTERCEPTOR(SSIZE_T, recvmsg, int fd, struct __sanitizer_msghdr *msg,
2995 INTERCEPTOR(int, recvmmsg, int fd, struct __sanitizer_mmsghdr *msgvec,
3046 static void read_msghdr(void *ctx, struct __sanitizer_msghdr *msg,
3070 INTERCEPTOR(SSIZE_T, sendmsg, int fd, struct __sanitizer_msghdr *msg,
3089 INTERCEPTOR(int, sendmmsg, int fd, struct __sanitizer_mmsghdr *msgvec,
3808 typedef int (*scandir_filter_f)(const struct __sanitizer_dirent *);
3809 typedef int (*scandir_compar_f)(const struct __sanitizer_dirent **,
3810 const struct __sanitizer_dirent **);
3815 static int wrapped_scandir_filter(const struct __sanitizer_dirent *dir) {
3821 static int wrapped_scandir_compar(const struct __sanitizer_dirent **a,
3822 const struct __sanitizer_dirent **b) {
3861 typedef int (*scandir64_filter_f)(const struct __sanitizer_dirent64 *);
3862 typedef int (*scandir64_compar_f)(const struct __sanitizer_dirent64 **,
3863 const struct __sanitizer_dirent64 **);
3868 static int wrapped_scandir64_filter(const struct __sanitizer_dirent64 *dir) {
3874 static int wrapped_scandir64_compar(const struct __sanitizer_dirent64 **a,
3875 const struct __sanitizer_dirent64 **b) {
5474 // struct sockaddr, so the following is sufficient.
6213 struct WrappedCookie {
7083 struct file_handle *handle, int *mount_id, int flags) {
7116 INTERCEPTOR(int, open_by_handle_at, int mount_fd, struct file_handle* handle,
7286 INTERCEPTOR(struct __sanitizer_ttyent *, getttyent, void) {
7289 struct __sanitizer_ttyent *ttyent = REAL(getttyent)();
7294 INTERCEPTOR(struct __sanitizer_ttyent *, getttynam, char *name) {
7299 struct __sanitizer_ttyent *ttyent = REAL(getttynam)(name);
7320 static void write_protoent(void *ctx, struct __sanitizer_protoent *p) {
7334 INTERCEPTOR(struct __sanitizer_protoent *, getprotoent) {
7337 struct __sanitizer_protoent *p = REAL(getprotoent)();
7343 INTERCEPTOR(struct __sanitizer_protoent *, getprotobyname, const char *name) {
7348 struct __sanitizer_protoent *p = REAL(getprotobyname)(name);
7354 INTERCEPTOR(struct __sanitizer_protoent *, getprotobynumber, int proto) {
7357 struct __sanitizer_protoent *p = REAL(getprotobynumber)(proto);
7371 INTERCEPTOR(int, getprotoent_r, struct __sanitizer_protoent *result_buf,
7372 char *buf, SIZE_T buflen, struct __sanitizer_protoent **result) {
7385 struct __sanitizer_protoent *result_buf, char *buf, SIZE_T buflen,
7386 struct __sanitizer_protoent **result) {
7401 struct __sanitizer_protoent *result_buf, char *buf,
7402 SIZE_T buflen, struct __sanitizer_protoent **result) {
7423 INTERCEPTOR(struct __sanitizer_netent *, getnetent) {
7426 struct __sanitizer_netent *n = REAL(getnetent)();
7443 INTERCEPTOR(struct __sanitizer_netent *, getnetbyname, const char *name) {
7448 struct __sanitizer_netent *n = REAL(getnetbyname)(name);
7465 INTERCEPTOR(struct __sanitizer_netent *, getnetbyaddr, u32 net, int type) {
7468 struct __sanitizer_netent *n = REAL(getnetbyaddr)(net, type);
7605 struct __sanitizer_regmatch *pmatch[], int eflags) {
7646 const struct __sanitizer_regmatch *rm, const char *str) {
7662 const struct __sanitizer_regmatch *rm, const char *sstr) {
7940 struct __sanitizer_iovec *iov = (struct __sanitizer_iovec *)argp;
9078 INTERCEPTOR(struct __sanitizer_cdbr *, cdbr_open, const char *path, int flags) {
9083 struct __sanitizer_cdbr *cdbr = REAL(cdbr_open)(path, flags);
9089 INTERCEPTOR(struct __sanitizer_cdbr *, cdbr_open_mem, void *base, SIZE_T size,
9096 struct __sanitizer_cdbr *cdbr =
9103 INTERCEPTOR(u32, cdbr_entries, struct __sanitizer_cdbr *cdbr) {
9111 INTERCEPTOR(int, cdbr_get, struct __sanitizer_cdbr *cdbr, u32 index,
9129 INTERCEPTOR(int, cdbr_find, struct __sanitizer_cdbr *cdbr, const void *key,
9149 INTERCEPTOR(void, cdbr_close, struct __sanitizer_cdbr *cdbr) {
9157 INTERCEPTOR(struct __sanitizer_cdbw *, cdbw_open) {
9160 struct __sanitizer_cdbw *ret = REAL(cdbw_open)();
9166 INTERCEPTOR(int, cdbw_put, struct __sanitizer_cdbw *cdbw, const void *key,
9182 INTERCEPTOR(int, cdbw_put_data, struct __sanitizer_cdbw *cdbw, const void *data,
9200 INTERCEPTOR(int, cdbw_put_key, struct __sanitizer_cdbw *cdbw, const void *key,
9214 INTERCEPTOR(int, cdbw_output, struct __sanitizer_cdbw *cdbw, int output,
9235 INTERCEPTOR(void, cdbw_close, struct __sanitizer_cdbw *cdbw) {
9401 struct WrappedFunopenCookie {
9476 struct WrappedFunopen2Cookie {
9825 INTERCEPTOR(int, uname, struct utsname *utsname) {
9845 // static __inline int uname(struct utsname *name) {