commit | 5cf68f97d597dba3f717070520df4f8407154b2f | [log] [tgz] |
---|---|---|
author | Eugene Syromyatnikov <evgsyr@gmail.com> | Mon Oct 03 21:35:37 2016 +0300 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Oct 03 19:28:15 2016 +0000 |
tree | 75704e471170ab3a6cf11f734857a352d04c00bc | |
parent | 04ec08ab6271eba568665b51618ad5f21d7ee5f6 [diff] |
util: add quote_string flag signalising that string is NUL-terminated It is useful in cases strings with size provided are expected to be NUL-terminated but are not trustworthy enough to call just plain printstr(str, -1). * defs.h (QUOTE_OMIT_TRAILING_0): New constant definition. * util.c (string_quote): Swallow terminating NUL if QUOTE_OMIT_TRAILING_0 is set.
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.