Go to file
Mike Frysinger 79bddff923 printflags: handle empty xlats
If the set of headers are unable to produce a valid list, printflags
will try to pass NULL to tprints which crashes.  Add a sanity check
for this edge case.

* util.c (printflags): Check xlat->str is not NULL.
2015-11-16 03:08:41 +00:00
debian debian: add gawk to Build-Depends 2015-04-14 17:22:54 +00:00
linux powerpc: wire up switch_endian syscall 2015-11-15 16:51:55 +00:00
m4 mpers.m4: workaround missing gnu/stubs-*.h files 2015-08-28 08:46:24 +00:00
maint maint: make linux/kvm.h parseable on arm 2015-05-21 17:48:38 +00:00
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 2015-03-24 20:54:26 +01:00
test New test: test/many_looping_threads.c 2015-03-21 20:59:39 +01:00
tests tests/ioctl: workaround glibc ioctl wrapper on powerpc 2015-11-16 03:08:41 +00:00
xlat time.c: move fallback definitions of SIGEV_* values to xlat/ 2015-09-16 12:09:52 +00:00
.gitignore Fix *_printer_defs.h rules ambiguousness 2015-11-07 23:33:47 +00:00
.mailmap Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
access.c access.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
affinity.c affinity.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
aio.c Add helper functions to clear/restore syserror 2015-09-19 04:04:49 +03:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c bjm.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
block.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
bootstrap Add mpers support 2015-08-28 08:46:23 +00:00
bpf.c Implement bpf syscall decoding 2015-07-27 15:27:43 +00:00
build_static_example.sh Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
cacheflush.c cacheflush.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
capability.c capability.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
caps0.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
caps1.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
chdir.c chdir.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
chmod.c chmod.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
clone.c clone.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
configure.ac Add struct timex.tai support 2015-09-17 13:26:22 +00:00
COPYING Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
count.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00
CREDITS.in Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
defs.h Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
desc.c desc.c: move parser of fcntl syscall to a separate file 2015-10-08 22:41:54 +00:00
dirent.c dirent.c: do not use xmalloc 2015-07-20 22:03:07 +00:00
empty.h Add mpers support 2015-08-28 08:46:23 +00:00
epoll.c Fix epoll_create syscall decoding 2015-08-02 00:10:52 +00:00
errnoent.sh Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
evdev.c Use printpair_int 2015-07-09 01:43:44 +00:00
eventfd.c eventfd2: fix flags decoding 2015-08-01 22:23:58 +00:00
execve.c Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
exit.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
fadvise.c fadvise.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fallocate.c fallocate.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fanotify.c fanotify_init: mark return code with RVAL_FD flag 2015-08-02 01:31:40 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c fcntl.c: make use of RVAL_DECODED 2015-10-09 02:18:27 +00:00
fetch_seccomp_fprog.c Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
file.c Print nanoseconds along with seconds in stat family syscalls 2015-08-09 09:19:55 +00:00
flock.c desc.c: move parser of flock syscall to a separate file 2015-10-08 22:41:54 +00:00
futex.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
generate_mpers_am.sh mpers: fix shell code to conform better to POSIX 2015-09-29 19:38:26 +00:00
generate_sen.sh Add unique syscall entry numbers (SENs) 2015-07-12 22:31:49 +00:00
generate_xlat_in.sh Generate xlat/*.in files 2014-05-30 21:40:03 +00:00
get_robust_list.c Simplify printing of get_robust_list first argument 2015-08-18 19:16:36 +00:00
getcpu.c getcpu.c: use printnum_int and printaddr 2015-07-20 22:03:07 +00:00
getcwd.c getcwd.c: use printaddr 2015-07-20 22:03:07 +00:00
getrandom.c getrandom.c: use printaddr 2015-07-20 22:03:07 +00:00
git-set-file-times Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
git-version-gen Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
gitlog-to-changelog Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
hostname.c hostname.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
inotify.c inotify_init1: mark return code with RVAL_FD flag 2015-08-02 01:34:57 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c Add a new helper function umove_ulong_array_or_printaddr 2015-09-15 11:23:27 +00:00
ioctl.c ioctl: fix ioctl command number decoding in case of conflicts 2015-09-23 23:29:30 +00:00
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 2015-03-28 22:37:30 +00:00
ioprio.c ioprio.c: make use of RVAL_DECODED 2015-07-20 22:03:06 +00:00
ipc_defs.h ipc.c: split into separate files 2015-08-20 22:21:04 +03:00
ipc_msg.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
ipc_msgctl.c Enhance msgctl syscall decoding 2015-08-28 08:46:23 +00:00
ipc_sem.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
ipc_shm.c ipc.c: split into separate files 2015-08-20 22:21:04 +03:00
ipc_shmctl.c Enhance shmctl syscall decoding 2015-08-28 08:46:23 +00:00
kexec.c Add a new helper function umove_ulong_array_or_printaddr 2015-09-15 11:23:27 +00:00
keyctl.c keyctl.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
ldt.c ldt.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
link.c link.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
loop.c loop.c: enhance loop ioctl parser 2015-07-09 02:04:34 +00:00
lseek.c lseek.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
make-dist Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
Makefile.am mpers: forward mpers_DEFS to mpers.sh 2015-11-16 03:08:41 +00:00
mem.c m68k: fix getpagesize decoding 2015-07-21 19:09:35 +00:00
memfd_create.c Implement memfd_create syscall decoding 2015-07-29 09:18:26 +00:00
mknod.c mknod.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
mount.c mount.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
mpers_test.sh Add mpers support 2015-08-28 08:46:23 +00:00
mpers_type.h Fix *_printer_defs.h rules ambiguousness 2015-11-07 23:33:47 +00:00
mpers.awk Add mpers support 2015-08-28 08:46:23 +00:00
mpers.sh Add mpers support 2015-08-28 08:46:23 +00:00
mq.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
mtd.c Fix build on systems that lack UBI_IOCVOLCRBLK/UBI_IOCVOLRMBLK definitions 2015-08-25 21:48:36 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
net.c Convert another parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
NEWS maint: post-release administrivia 2015-03-09 22:05:40 +00:00
open.c Update openat parser for the RVAL_DECODED change 2015-07-20 22:03:07 +00:00
or1k_atomic.c or1k_atomic.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
pathtrace.c epoll_create1: fix pathtrace support 2015-08-02 00:10:52 +00:00
perf.c perf_event_open: mark return code with RVAL_FD flag 2015-08-03 09:09:27 +00:00
personality.c personality.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
poll.c Convert another parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
prctl.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
print_mq_attr.c Mpersify parsers of mq_open and mq_getsetattr syscalls 2015-08-28 08:46:23 +00:00
print_msgbuf.c Mpersify tprint_msgsnd and tprint_msgrcv 2015-08-28 08:46:23 +00:00
print_sigevent.c Enhance parser of struct sigevent 2015-09-17 13:22:57 +00:00
print_time.c Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
print_timex.c Add struct timex.tai support 2015-09-17 13:26:22 +00:00
printmode.c Include <sys/stat.h> for S_I* macros 2015-03-28 22:37:06 +00:00
printrusage.c Mpersify parsers of getrusage, waitpid, wait4, and waitid syscalls 2015-08-28 08:46:23 +00:00
printsiginfo.c Mpersify printsiginfo_at printer 2015-08-28 08:46:23 +00:00
printsiginfo.h defs.h: do not include <signal.h> 2015-07-18 00:01:40 +00:00
printstat.h Print nanoseconds along with seconds in stat family syscalls 2015-08-09 09:19:55 +00:00
process_vm.c process_vm.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
process.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
ptp.c ptp.c: enhance ptp ioctl parser 2015-07-10 22:54:29 +00:00
ptrace.h Update PTRACE_O_* constants 2015-09-14 14:42:28 +00:00
quota.c Enhance quotactl decoding 2015-07-18 00:01:40 +00:00
readahead.c readahead.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
readlink.c readlink.c: use printaddr 2015-07-18 00:01:40 +00:00
README Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
README-hacking Clarify bootstrap-vs-autoreconf usage 2015-03-03 01:45:30 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
README-mpers Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
reboot.c reboot.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
rtc.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
sched.c Implement sched_getattr and sched_setattr syscalls decoding 2015-07-29 09:18:26 +00:00
scsi.c scsi.c: use printaddr 2015-07-18 00:01:39 +00:00
seccomp_fprog.h Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
seccomp.c Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
sendfile.c sendfile: decode file offset both on entering and exiting syscall 2015-08-19 13:36:44 +00:00
sigaltstack.c Mpersify parser of sigaltstack syscall 2015-08-28 08:46:23 +00:00
signal.c Add helper functions to clear/restore syserror 2015-09-19 04:04:49 +03:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signalfd.c signalfd4: fix flags decoding 2015-08-03 09:57:14 +00:00
sigreturn.c sigreturn: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
sock.c Change comparisons with function pointers to comparisons with SENs 2015-07-12 22:31:49 +00:00
socketutils.c alpha: fix -yy decoding 2015-03-02 23:39:41 +00:00
sram_alloc.c sram_alloc.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
statfs.c statfs.c: use umove_or_printaddr 2015-07-16 23:44:57 +00:00
strace-graph Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Document that -k is available only with libunwind 2015-03-04 00:56:33 +00:00
strace.c Properly initialize siginfo_t object passed to print_stopped function 2015-09-19 04:04:48 +03:00
strace.spec aio: rewrite from libaio.h to linux/aio_abi.h 2015-08-26 21:05:17 +00:00
stream.c stream.c: move poll and ppoll parsers to a separate file 2015-07-30 22:03:07 +00:00
swapon.c swapon.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
sync_file_range.c sync_file_range2: fix typo in flags decoding 2015-07-16 23:44:57 +00:00
syscall.c Add is_erestart helper function 2015-09-19 04:04:49 +03:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sysctl.c sysctl.c: remove KERN_JAVA_* defines handling 2015-08-16 09:41:28 +00:00
sysinfo.c Mpersify parser of sysinfo syscall 2015-08-28 08:46:23 +00:00
syslog.c syslog.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
sysmips.c sysmips.c: cleanup 2015-07-16 22:58:12 +00:00
term.c term.c: enhance tty ioctl parser 2015-07-13 20:16:24 +00:00
time.c Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
times.c Mpersify parser of times syscall 2015-08-28 08:46:23 +00:00
truncate.c truncate.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid.c uid.c: make use of RVAL_DECODED 2015-07-16 01:36:55 +00:00
umask.c umask.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
umount.c umount.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
uname.c uname.c: use umove_or_printaddr 2015-07-16 01:36:55 +00:00
unwind.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
util.c printflags: handle empty xlats 2015-11-16 03:08:41 +00:00
utime.c Mpersify parser of utime syscall 2015-08-28 08:46:23 +00:00
utimes.c Convert parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
v4l2.c Fix build on systems that lack VIDIOC_CREATE_BUFS definition 2015-08-26 11:55:05 +00:00
vsprintf.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00
wait.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
xattr.c xattr.c: make use of RVAL_DECODED 2015-07-14 23:38:58 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
xmalloc.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00

This is strace, a system call tracer for Linux.

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

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

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

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.