Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dmitry V. Levin 7a7d124ac6
NEWS for strace version 4.13
3 years ago
debian debian: add gcc-multilib to Build-Depends for relevant architectures 3 years ago
linux Fix casts of ptrace's third argument 3 years ago
m4 Update AX_CODE_COVERAGE 3 years ago
maint maint: update for linux 4.7 3 years ago
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 5 years ago
test test: remove fork.c and vfork.c 4 years ago
tests Fix one more code pattern that might break gcc strict aliasing rules 3 years ago
xlat Fix corner cases of ipc syscall decoding 3 years ago
.gitignore make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 3 years ago
.mailmap .mailmap: add addresses of Kirill A. Shutemov 4 years ago
.travis.yml Split travis-ci.sh 3 years ago
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 17 years ago
COPYING Rename COPYRIGHT to COPYING 6 years ago
CREDITS.in CREDITS.in: add Jian Zhen 4 years ago
ChangeLog-CVS Generate ChangeLog from git log 10 years ago
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 5 years ago
INSTALL Remove and update documentation 8 years ago
Makefile.am Fix corner cases of ipc syscall decoding 3 years ago
NEWS Prepare for 4.13 release 3 years ago
README README: add system requirements and beautify the file 3 years ago
README-hacking Clarify bootstrap-vs-autoreconf usage 5 years ago
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 8 years ago
README-mpers mpers: add support of conditionally compiled printers 3 years ago
README.md Add README.md file with links to build status and test coverage 4 years ago
access.c access.c: make use of RVAL_DECODED 4 years ago
affinity.c Fix and enhance decoding of sched_[gs]etaffinity syscalls 4 years ago
aio.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
alpha.c alpha: fix decoding of osf_statfs and osf_fstatfs syscalls 4 years ago
bjm.c Consistently use printaddr for printing addresses 3 years ago
block.c block.c: remove BLKDAXGET support 3 years ago
bootstrap tests: enable strace-k.test only for --with-libunwind configurations 4 years ago
bpf.c Fix decoding of BPF_MAP_UPDATE_ELEM flags 3 years ago
btrfs.c Fix one more code pattern that might break gcc strict aliasing rules 3 years ago
build_static_example.sh Use bootstrap script consistently 5 years ago
cacheflush.c bfin: fix decoding of cacheflush syscall 3 years ago
capability.c Add copyright headers to some files which lack them 4 years ago
caps0.h Move CAP_* definitions out to header files 5 years ago
caps1.h Move CAP_* definitions out to header files 5 years ago
chdir.c chdir.c: make use of RVAL_DECODED 4 years ago
chmod.c chmod.c: make use of RVAL_DECODED 4 years ago
clone.c Consistently use printaddr for printing addresses 3 years ago
configure.ac Remove configure checks for recvmmsg and sendmmsg 3 years ago
copy_file_range.c Implement copy_file_range syscall decoding 4 years ago
count.c Fix NULL dereference in "-S name" when syscall table has holes 3 years ago
defs.h Add private data field to struct tcb 3 years ago
desc.c alpha: alias getdtablesize to printargs 4 years ago
dirent.c Fix explicit casts of signed integer types to unsigned long long 3 years ago
dirent64.c Fix decoding of 3rd argument of getdents/getdents64 syscalls 4 years ago
empty.h Add mpers support 4 years ago
epoll.c Fix decoding of epoll_ctl operation argument 3 years ago
errnoent.sh Change errnoent.h files to use designated initializers 5 years ago
evdev.c Consistently use printaddr for printing addresses 3 years ago
eventfd.c Add copyright headers to some files which lack them 4 years ago
execve.c Fix decoding of execve and execveat syscalls with invalid input 4 years ago
exit.c Consistently use error_msg instead of fprintf(stderr) 4 years ago
fadvise.c Add copyright headers to some files which lack them 4 years ago
fallocate.c fallocate.c: make use of RVAL_DECODED 4 years ago
fanotify.c Fix printing of fanotify_mark mask argument 3 years ago
fchownat.c fchownat.c: make use of RVAL_DECODED 4 years ago
fcntl.c Fix printing of invalid 3rd argument of fcntl/fcntl64 syscall 3 years ago
fetch_seccomp_fprog.c mpers: add support of conditionally compiled printers 3 years ago
fetch_struct_flock.c mpers: add support of conditionally compiled printers 3 years ago
fetch_struct_mmsghdr.c mmsghdr.c: rewrite decode_mmsgvec using print_array 3 years ago
fetch_struct_msghdr.c Mpersify fetchers of struct msghdr and struct mmsghdr 3 years ago
fetch_struct_statfs.c Fix explicit casts of signed integer types to unsigned long long 3 years ago
file.c aarch64: swap 64-bit and 32-bit personalities 4 years ago
file_handle.c Unabuse struct tcb.auxstr 3 years ago
file_ioctl.c file_ioctl.c: print first two extents for FIDEDUPERANGE in abbrev mode 3 years ago
flock.c desc.c: move parser of flock syscall to a separate file 4 years ago
flock.h Add copyright headers to some files which lack them 4 years ago
fs_x_ioctl.c Move parser of 'X' type ioctls to a separate file 3 years ago
fstatfs.c Fix decoding of statfs family syscalls 4 years ago
fstatfs64.c Fix decoding of statfs family syscalls 4 years ago
futex.c Add copyright headers to some files which lack them 4 years ago
gcc_compat.h Add sentinel attribute to printxvals 4 years ago
generate_mpers_am.sh mpers: skip xlat struct definitions in mpers mode 4 years ago
generate_sen.sh Add unique syscall entry numbers (SENs) 4 years ago
generate_xlat_in.sh Generate xlat/*.in files 5 years ago
get_robust_list.c Add copyright headers to some files which lack them 4 years ago
getcpu.c getcpu.c: use printnum_int and printaddr 4 years ago
getcwd.c getcwd.c: use printaddr 4 years ago
getrandom.c getrandom.c: use printaddr 4 years ago
git-set-file-times Update auxiliary maintainer mode build tools 5 years ago
git-version-gen git-version-gen: replace '-' with '.' in generated version 3 years ago
gitlog-to-changelog Update auxiliary maintainer mode build tools 5 years ago
hdio.c Mpersify hdio.c 3 years ago
hostname.c hostname.c: make use of RVAL_DECODED 4 years ago
inotify.c Add copyright headers to some files which lack them 4 years ago
io.c Print struct iovec as a regular structure 3 years ago
ioctl.c ioctl.c: fix typo in decoding of EVIOCSABS's parameter 3 years ago
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 5 years ago
ioperm.c Implement ioperm syscall decoding 4 years ago
iopl.c Implement iopl syscall decoding 4 years ago
ioprio.c Prepare for transition from xlookup64 to xlookup 3 years ago
ipc.c Fix corner cases of ipc syscall decoding 3 years ago
ipc_defs.h Support C libraries without System V shared memory/ipc 4 years ago
ipc_msg.c Fix corner cases of ipc syscall decoding 3 years ago
ipc_msgctl.c Support C libraries without System V shared memory/ipc 4 years ago
ipc_sem.c Fix printing of invalid struct sembuf.sem_flg 3 years ago
ipc_shm.c Support C libraries without System V shared memory/ipc 4 years ago
ipc_shmctl.c Support C libraries without System V shared memory/ipc 4 years ago
kcmp.c Add copyright headers to some files which lack them 4 years ago
kernel_types.h Add copyright headers to some files which lack them 4 years ago
kexec.c Fix printing of invalid flags argument of kexec_load and kexec_file_load 3 years ago
keyctl.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
ldt.c Add copyright headers to some files which lack them 4 years ago
link.c Add copyright headers to some files which lack them 4 years ago
lookup_dcookie.c Add copyright headers to some files which lack them 4 years ago
loop.c loop.c: decode LOOP_SET_DIRECT_IO 3 years ago
lseek.c Introduce HAVE_STRUCT_TCB_EXT_ARG macro 3 years ago
make-dist make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 3 years ago
make-dsc make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 3 years ago
mem.c Introduce HAVE_STRUCT_TCB_EXT_ARG macro 3 years ago
membarrier.c Prepare for transition from sprintflags64 to sprintflags 3 years ago
memfd_create.c Add copyright headers to some files which lack them 4 years ago
mknod.c Fix decoding of device numbers in mknod and mknodat syscalls 4 years ago
mmsghdr.c Print unsent messages of failed sendmmsg syscall 3 years ago
mount.c Fix printing of invalid flags argument of mount syscall 3 years ago
mpers.awk mpers.awk: remove unnecessary type attribute retrieval 3 years ago
mpers.sh Add copyright headers to some files which lack them 4 years ago
mpers_test.sh Add copyright headers to some files which lack them 4 years ago
mpers_type.h mpers: add support of conditionally compiled printers 3 years ago
mq.c Convert parser of struct timespec to new mpers infrastructure 4 years ago
msghdr.c Use IOV_MAX instead of UIO_MAXIOV 3 years ago
msghdr.h msghdr.c: move all mmsghdr parsers to a separate file 3 years ago
mtd.c Consistently use printaddr for printing addresses 3 years ago
native_defs.h Simplify use of mpers printers 4 years ago
net.c Unabuse struct tcb.auxstr 3 years ago
netlink.c netlink: handle multipart netlink messages 3 years ago
numa.c Fix printing of invalid flags argument of get_mempolicy syscall 3 years ago
open.c Change type of {s,t}print_open_modes's argument to unsigned 4 years ago
or1k_atomic.c or1k: fix printing of invalid 1st argument of or1k_atomic syscall 3 years ago
pathtrace.c Implement copy_file_range syscall decoding 4 years ago
perf.c Fix printing of invalid flags argument of perf_event_open syscall 3 years ago
personality.c Handle unlikely errors from personality syscall 4 years ago
poll.c Fix printing of invalid struct pollfd.events 3 years ago
prctl.c Fix printing of invalid arguments of prctl syscall 3 years ago
print_mq_attr.c mpers: add support of conditionally compiled printers 3 years ago
print_msgbuf.c mpers: add support of conditionally compiled printers 3 years ago
print_sigevent.c Consistently use printaddr for printing addresses 3 years ago
print_statfs.c Fix some compilation warnings on older systems 3 years ago
print_time.c mpers: add support of conditionally compiled printers 3 years ago
print_timex.c mpers: add support of conditionally compiled printers 3 years ago
printmode.c Prepare for transition from xlookup64 to xlookup 3 years ago
printrusage.c Fix sign extension issues in the parser of struct rusage 3 years ago
printsiginfo.c Consistently use printaddr for printing addresses 3 years ago
printsiginfo.h printsiginfo: remove "verbose" argument 3 years ago
printstat.h Fix explicit casts of signed integer types to unsigned long long 3 years ago
process.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
process_vm.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
ptp.c Add copyright headers to some files which lack them 4 years ago
ptrace.h Update PTRACE_* constants 4 years ago
quota.c Fix printing of invalid struct xfs_dqblk.d_flags 3 years ago
readahead.c readahead.c: make use of RVAL_DECODED 4 years ago
readlink.c Add copyright headers to some files which lack them 4 years ago
reboot.c Fix decoding of LINUX_REBOOT_CMD_RESTART2 argument 4 years ago
regs.h Move regs-related macros and declarations from defs.h to regs.h 5 years ago
renameat.c renameat.c: make use of RVAL_DECODED 4 years ago
resource.c Fix decoding of pid_t argument of prlimit64 syscall 3 years ago
rtc.c Mpersify RTC_* ioctl parser 3 years ago
sched.c Fix printing of struct sched_attr.sched_flags 3 years ago
scsi.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
seccomp.c Export print_seccomp_fprog for further use in parser of ptrace syscall 3 years ago
seccomp_fprog.h Convert parser of seccomp filter program to new mpers infrastructure 4 years ago
sendfile.c sendfile: decode file offset both on entering and exiting syscall 4 years ago
sigaltstack.c Add copyright headers to some files which lack them 4 years ago
sigevent.h Fix struct sigevent decoding for musl 4 years ago
signal.c Fix race condition in decoding rt_sigtimedwait's timeout argument 3 years ago
signalent.sh Tidy up includes and copyright notices, fix indentation 8 years ago
signalfd.c Add copyright headers to some files which lack them 4 years ago
sigreturn.c cleanup: make arch_sigreturn.c files more readable 4 years ago
sock.c sock.c: use print_sockaddr 3 years ago
sockaddr.c net.c: move all sockaddr parsers to a separate file 3 years ago
socketcall.c Do not print too many arguments of socketcall syscall 3 years ago
socketutils.c Make getfdproto return enum instead of string 3 years ago
sram_alloc.c bfin: fix printing of invalid flags argument of sram_alloc syscall 3 years ago
statfs.c Fix decoding of statfs family syscalls 4 years ago
statfs.h Fix decoding of statfs family syscalls 4 years ago
statfs64.c Fix decoding of statfs family syscalls 4 years ago
strace-graph strace-graph: print the pid in the graph 4 years ago
strace-log-merge strace-log-merge: fix file suffix calculation 8 years ago
strace.1 Fix -yy documentation 3 years ago
strace.c Fix casts of ptrace's third argument 3 years ago
strace.spec.in strace.spec.in: enable libunwind on more platforms 3 years ago
swapon.c Fix decoding of swapon flags 4 years ago
sync_file_range.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 4 years ago
sync_file_range2.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 4 years ago
syscall.c Fix one more code pattern that might break gcc strict aliasing rules 3 years ago
syscallent.sh Tidy up includes and copyright notices, fix indentation 8 years ago
sysctl.c Add copyright headers to some files which lack them 4 years ago
sysinfo.c Fix explicit casts of signed integer types to unsigned long long 3 years ago
syslog.c Add copyright headers to some files which lack them 4 years ago
sysmips.c Consistently use printaddr for printing addresses 3 years ago
term.c Fix printing of invalid arguments of term ioctls 3 years ago
time.c Prepare for transition from xlookup64 to xlookup 3 years ago
times.c Fix explicit casts of signed integer types to unsigned long long 3 years ago
travis-build.sh Split travis-ci.sh 3 years ago
travis-install.sh Split travis-ci.sh 3 years ago
travis-success.sh Split travis-ci.sh 3 years ago
truncate.c truncate.c: make use of RVAL_DECODED 4 years ago
ubi.c Move parser of UBI_* ioctls to a separate file 3 years ago
uid.c uid.c: use print_array function 3 years ago
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 5 years ago
umask.c umask.c: make use of RVAL_DECODED 4 years ago
umount.c Update umount2 flags 4 years ago
uname.c Add copyright headers to some files which lack them 4 years ago
unwind.c Consistently use error_msg instead of fprintf(stderr) 4 years ago
upeek.c Fix casts of ptrace's third argument 3 years ago
userfaultfd.c Decode UFFDIO_* ioctls 3 years ago
util.c Fix one more code pattern that might break gcc strict aliasing rules 3 years ago
utime.c Mpersify parser of utime syscall 4 years ago
utimes.c Add copyright headers to some files which lack them 4 years ago
v4l2.c Unabuse struct tcb.auxstr 3 years ago
vsprintf.c Introduce memory allocation wrappers 4 years ago
wait.c Simplify decoding of waitpid and wait4 syscalls 4 years ago
xattr.c Fix corner cases of xattr family syscalls decoding 3 years ago
xlat.h Fix typo in XLAT_TYPE_PAIR 3 years ago
xlate.el Tidy up includes and copyright notices, fix indentation 8 years ago
xmalloc.c Add copyright headers to some files which lack them 4 years ago

README.md

This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.

strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please send bug reports and enhancements to the strace mailing list.

Build Status Code Coverage