aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* return explicit NULL rather than 0Mattias Andrée2023-06-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Argument 3 and 4 are swapped on SPARC for PTRACE_GETREGS and PTRACE_SETREGSMattias Andrée2023-06-242-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix some illegal aliasingMattias Andrée2020-06-211-15/+34
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use [:space:] in sed scriptsMattias Andrée2020-06-211-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix some warnings and move include statement to common.hMattias Andrée2020-06-214-5/+27
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix CASE macro: tprintf is returns void, so return in separate statementMattias Andrée2020-06-211-1/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add string parameter to _Static_assert use, required by C11Mattias Andrée2020-06-211-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* #define SIGCLD if missing, needed for muslMattias Andrée2020-06-211-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use __SIGRTMIN and __SIGRTMAX and #define them if missingMattias Andrée2020-06-211-7/+20
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use literal tab inside [] in sed scriptsMattias Andrée2020-06-211-3/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move inclusion of <linux/fs.h> to after <sys/mount.h>, will not build otherwiseMattias Andrée2020-06-211-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typo in list-errnos.h commandMichael Forney2020-06-211-1/+1
|
* Include asm/unistd.h for __X32_SYSCALL_BITMichael Forney2020-06-211-0/+2
|
* Use standard W* macros to check stop signalMichael Forney2020-06-211-9/+5
|
* Include linux/fs.h for lseek and renameat2 flagsMichael Forney2020-06-211-0/+1
|
* Use SIGRTMIN and SIGRTMAX instead of __-prefixed versionsMichael Forney2020-06-211-7/+7
|
* Bug fix: use inclusive check to test parsed long int fits in intMattias Andrée2020-06-041-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Break trigraph sequences in trace outputMattias Andrée2020-06-021-4/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* io_pgetevents is not documentedMattias Andrée2020-06-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor cleanupMattias Andrée2020-06-021-3/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix regressen: print pointers in hexadecimalMattias Andrée2020-06-021-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not use \t in traces, does not look good with PID prefixes in the outputMattias Andrée2020-06-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some cleanup and preparation for support for multiple architectures (both host and client) and OSesMattias Andrée2020-06-0210-152/+237
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Reject i386 and x32 applications (not yet supported)Mattias Andrée2020-06-029-55/+120
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix exit status regression ... now I can go back to sleep again1.1Mattias Andrée2020-06-021-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Always flush trace outputMattias Andrée2020-06-011-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typo and add rational for why the -a option (truncate arguments/outputs) is usefulMattias Andrée2020-06-011-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add a todoMattias Andrée2020-06-011-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor output improvementsMattias Andrée2020-06-011-7/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Makefile: install and uninstall man page1.0Mattias Andrée2020-06-011-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Print data stored to output parameters in system callsMattias Andrée2020-06-013-46/+198
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove p before > in syscall formatsMattias Andrée2020-06-011-19/+22
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Work on syscall formattersMattias Andrée2020-06-012-82/+408
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page and README0.1Mattias Andrée2020-06-012-0/+98
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for manually testingMattias Andrée2020-06-0117-0/+252
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use WCOREDUMP rather than __WCOREDUMPMattias Andrée2020-06-011-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement some todosMattias Andrée2020-06-011-11/+27
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add comment explaining values of silent_until_execedMattias Andrée2020-06-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Silence output for initial tracee until it has successfully execedMattias Andrée2020-06-011-1/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Things work as expected againMattias Andrée2020-05-312-9/+20
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Tracing fork children does not workMattias Andrée2020-05-314-153/+187
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2020-05-312-14/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Print signal namesMattias Andrée2020-05-315-7/+46
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Work around valgrind issueMattias Andrée2020-05-301-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for tracing threadsMattias Andrée2020-05-303-8/+26
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not print PID numbers if only configured to trace one threadMattias Andrée2020-05-303-8/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add todo about different (bad) behaviour under valgrindMattias Andrée2020-05-301-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Continue vfork parent after child execsMattias Andrée2020-05-302-4/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add -0 flagMattias Andrée2020-05-301-5/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add support for tracing vfork childrenMattias Andrée2020-05-306-23/+111
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>