/external/strace/linux/crisv10/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 11 for (i = 0; i < tcp->s_ent->nargs; ++i) 12 if (upeek(tcp->pid, crisregs[i], &tcp->u_arg[i]) < 0)
|
/external/strace/linux/sh/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 15 for (i = 0; i < tcp->s_ent->nargs; ++i) 16 if (upeek(tcp->pid, syscall_regs[i], &tcp->u_arg[i]) < 0)
|
/external/strace/linux/sh64/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 9 for (i = 0; i < tcp->s_ent->nargs; ++i) 10 if (upeek(tcp->pid, REG_GENERAL(syscall_regs[i]), 11 &tcp->u_arg[i]) < 0)
|
/external/strace/linux/sparc/ |
arch_getrval2.c | 2 getrval2(struct tcb *tcp)
|
/external/strace/linux/xtensa/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 16 for (i = 0; i < tcp->s_ent->nargs; ++i) 17 if (upeek(tcp->pid, xtensaregs[i], &tcp->u_arg[i]) < 0)
|
/external/strace/ |
umask.c | 5 tprintf("%#lo", tcp->u_arg[0]);
|
utime.c | 15 printpath(tcp, tcp->u_arg[0]); 17 if (!umove_or_printaddr(tcp, tcp->u_arg[1], &u)) {
|
kcmp.c | 33 pid_t pid1 = tcp->u_arg[0]; 34 pid_t pid2 = tcp->u_arg[1]; 35 int type = tcp->u_arg[2]; 36 unsigned long idx1 = tcp->u_arg[3]; 37 unsigned long idx2 = tcp->u_arg[4];
|
pathtrace.c | 57 upathmatch(struct tcb *tcp, unsigned long upath) 61 return umovestr(tcp, upath, sizeof path, path) > 0 && 69 fdmatch(struct tcb *tcp, int fd) 72 int n = getfdpath(tcp, fd, path, sizeof(path)); 99 getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) 107 sprintf(linkpath, "/proc/%u/fd/%u", tcp->pid, fd); 149 pathtrace_match(struct tcb *tcp) 153 s = tcp->s_ent; 171 return fdmatch(tcp, tcp->u_arg[0]) | [all...] |
signal.c | 105 * memcpy(&tcp->u_arg[1], &something, sizeof(sigset_t)) 107 * it may overflow tcp->u_arg[] array, and it may try to copy more data 110 * umoven(tcp, addr, sizeof(sigset_t), &sigset) 227 print_sigset_addr_len(struct tcb *tcp, long addr, long len) 243 if (umoven_or_printaddr(tcp, addr, len, mask)) 250 if (entering(tcp)) { 251 tprintsigmask_val("", tcp->u_arg[0]); 253 else if (!syserror(tcp)) { 254 tcp->auxstr = sprintsigmask_val("old mask ", tcp->u_rval) [all...] |
wait.c | 120 printwaitn(struct tcb *tcp, int n, int bitness) 124 if (entering(tcp)) { 131 int pid = tcp->u_arg[0]; 135 if (tcp->u_rval == 0) 136 printaddr(tcp->u_arg[1]); 137 else if (!umove_or_printaddr(tcp, tcp->u_arg[1], &status)) 141 printflags(wait4_options, tcp->u_arg[2], "W???"); 145 if (tcp->u_rval > 0) { 148 printrusage32(tcp, tcp->u_arg[3]) [all...] |
poll.c | 35 print_pollfd(struct tcb *tcp, const struct pollfd *fds) 38 printfd(tcp, fds->fd); 47 decode_poll_entering(struct tcb *tcp) 50 const unsigned int nfds = tcp->u_arg[1]; 52 const unsigned long start = tcp->u_arg[0]; 56 if (!verbose(tcp) || !start || !nfds || 63 if (abbrev(tcp)) { 71 if (start >= abbrev_end || umove(tcp, start, &fds) < 0) { 78 print_pollfd(tcp, &fds); 85 if (umove(tcp, cur, &fds) < 0) [all...] |
file.c | 220 printstat(struct tcb *tcp, long addr) 228 if (!umove_or_printaddr(tcp, addr, &statbuf)) 229 do_printstat32(tcp, &statbuf); 238 if (!umove_or_printaddr(tcp, addr, &statbuf)) 239 do_printstat_sol(tcp, &statbuf); 244 if (!umove_or_printaddr(tcp, addr, &statbuf)) 245 do_printstat(tcp, &statbuf); 250 if (entering(tcp)) { 251 printpath(tcp, tcp->u_arg[0]) [all...] |
ioprio.c | 74 if (entering(tcp)) { 76 printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); 78 tprintf(", %d", (int) tcp->u_arg[1]); 81 if (syserror(tcp)) 84 tcp->auxstr = sprint_ioprio(tcp->u_rval); 92 printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); 94 tprintf(", %d, ", (int) tcp->u_arg[1]); 96 tprints(sprint_ioprio(tcp->u_arg[2]));
|
dirent64.c | 47 if (entering(tcp)) { 48 printfd(tcp, tcp->u_arg[0]); 52 if (syserror(tcp) || !verbose(tcp)) { 53 printaddr(tcp->u_arg[1]); 54 tprintf(", %lu", tcp->u_arg[2]); 58 /* Beware of insanely large or too small values in tcp->u_rval */ 59 if (tcp->u_rval > 1024*1024) 61 else if (tcp->u_rval < (int) d_name_offset [all...] |
net.c | 38 # include <netinet/tcp.h> 161 print_sockaddr(struct tcb *tcp, const sockaddr_buf_t *addr, const int addrlen) 284 printsock(struct tcb *tcp, long addr, int addrlen) 297 if (umoven_or_printaddr(tcp, addr, addrlen, addrbuf.pad)) 301 print_sockaddr(tcp, &addrbuf, addrlen); 324 print_scm_rights(struct tcb *tcp, const void *cmsg_data, 340 printfd(tcp, *fds++); 346 print_scm_creds(struct tcb *tcp, const void *cmsg_data, 359 print_scm_security(struct tcb *tcp, const void *cmsg_data, 370 print_cmsg_ip_pktinfo(struct tcb *tcp, const void *cmsg_data [all...] |
evdev.c | 65 ff_effect_ioctl(struct tcb *tcp, long arg) 69 if (!verbose(tcp) || umove(tcp, arg, &ffe) < 0) 77 if (!abbrev(tcp)) { 136 abs_ioctl(struct tcb *tcp, long arg) 140 if (!verbose(tcp) || umove(tcp, arg, &absinfo) < 0) 145 if (!abbrev(tcp)) { 160 keycode_ioctl(struct tcb *tcp, long arg) 169 if (!verbose(tcp) || umove(tcp, arg, &keycode) < 0 [all...] |
aio.c | 36 if (entering(tcp)) 37 tprintf("%u, ", (unsigned int) tcp->u_arg[0]); 39 printnum_ulong(tcp, tcp->u_arg[1]); 45 tprintf("%lu", tcp->u_arg[0]); 122 print_iocb(struct tcb *tcp, const struct iocb *cb) 130 printstr(tcp, (unsigned long) cb->aio_buf, 142 tprint_iov(tcp, cb->aio_nbytes, cb->aio_buf, 159 long nr = tcp->u_arg[1]; 161 tprintf("%lu, %ld, [", tcp->u_arg[0], nr) [all...] |
clone.c | 45 # define ARG_STACKSIZE (tcp->scno == SYS_clone2 ? 2 : -1) 46 # define ARG_PTID (tcp->scno == SYS_clone2 ? 3 : 2) 47 # define ARG_CTID (tcp->scno == SYS_clone2 ? 4 : 3) 48 # define ARG_TLS (tcp->scno == SYS_clone2 ? 5 : 4) 82 if (exiting(tcp)) { 84 unsigned long flags = tcp->u_arg[ARG_FLAGS]; 85 tprintf("child_stack=%#lx, ", tcp->u_arg[ARG_STACK]); 89 tcp->u_arg[ARG_STACKSIZE]); 100 tprintf(", parent_tidptr=%#lx", tcp->u_arg[ARG_PTID]); 108 print_user_desc(tcp, tcp->u_arg[ARG_TLS]) [all...] |
printers.h | 3 bool (*fetch_seccomp_fprog) (struct tcb *tcp, const long addr, void *p); 6 bool (*fetch_struct_flock) (struct tcb *tcp, const long addr, void *p); 9 bool (*fetch_struct_flock64) (struct tcb *tcp, const long addr, void *p); 12 void (*printmqattr) (struct tcb *tcp, const long addr); 15 void (*tprint_msgbuf) (struct tcb *tcp, const long addr, const unsigned long count); 18 void (*print_sigevent) (struct tcb *tcp, const long addr); 21 void (*print_timespec) (struct tcb *tcp, const long addr); 24 const char * (*sprint_timespec) (struct tcb *tcp, const long addr); 27 void (*print_timespec_utime_pair) (struct tcb *tcp, const long addr); 30 void (*print_itimerspec) (struct tcb *tcp, const long addr) [all...] |
/external/strace/linux/ia64/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 13 for (i = 0; i < tcp->s_ent->nargs; ++i) { 14 if (umoven(tcp, 16 sizeof(long), &tcp->u_arg[i]) < 0) 21 tcp->u_arg[0] = 0xffffffff & ia64_regs.gr[11]; /* EBX */ 22 tcp->u_arg[1] = 0xffffffff & ia64_regs.gr[ 9]; /* ECX */ 23 tcp->u_arg[2] = 0xffffffff & ia64_regs.gr[10]; /* EDX */ 24 tcp->u_arg[3] = 0xffffffff & ia64_regs.gr[14]; /* ESI */ 25 tcp->u_arg[4] = 0xffffffff & ia64_regs.gr[15]; /* EDI */ 26 tcp->u_arg[5] = 0xffffffff & ia64_regs.gr[13]; /* EBP * [all...] |
arch_sigreturn.c | 2 arch_sigreturn(struct tcb *tcp) 10 print_sigset_addr_len(tcp, addr, NSIG / 8);
|
/external/strace/linux/arc/ |
get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) 9 tcp->u_arg[i] = *arc_args--;
|
/external/strace/linux/mips/ |
arch_sigreturn.c | 2 arch_sigreturn(struct tcb *tcp) 24 print_sigset_addr_len(tcp, addr, NSIG / 8);
|
/external/strace/linux/tile/ |
arch_sigreturn.c | 2 arch_sigreturn(struct tcb *tcp) 10 print_sigset_addr_len(tcp, addr, NSIG / 8);
|