aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-21Fix typo in list-errnos.h commandMichael Forney1-1/+1
2020-06-21Include asm/unistd.h for __X32_SYSCALL_BITMichael Forney1-0/+2
2020-06-21Use standard W* macros to check stop signalMichael Forney1-9/+5
2020-06-21Include linux/fs.h for lseek and renameat2 flagsMichael Forney1-0/+1
2020-06-21Use SIGRTMIN and SIGRTMAX instead of __-prefixed versionsMichael Forney1-7/+7
2020-06-04Bug fix: use inclusive check to test parsed long int fits in intMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Break trigraph sequences in trace outputMattias Andrée1-4/+19
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02io_pgetevents is not documentedMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Minor cleanupMattias Andrée1-3/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Fix regressen: print pointers in hexadecimalMattias Andrée1-5/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Do not use \t in traces, does not look good with PID prefixes in the outputMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Some cleanup and preparation for support for multiple architectures (both host and client) and OSesMattias Andrée10-152/+237
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Reject i386 and x32 applications (not yet supported)Mattias Andrée9-55/+120
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Fix exit status regression ... now I can go back to sleep again1.1Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Always flush trace outputMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Fix typo and add rational for why the -a option (truncate arguments/outputs) is usefulMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add a todoMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Minor output improvementsMattias Andrée1-7/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Makefile: install and uninstall man page1.0Mattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Print data stored to output parameters in system callsMattias Andrée3-46/+198
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Remove p before > in syscall formatsMattias Andrée1-19/+22
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Work on syscall formattersMattias Andrée2-82/+408
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add man page and README0.1Mattias Andrée2-0/+98
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add tests for manually testingMattias Andrée17-0/+252
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Use WCOREDUMP rather than __WCOREDUMPMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Implement some todosMattias Andrée1-11/+27
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add comment explaining values of silent_until_execedMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Silence output for initial tracee until it has successfully execedMattias Andrée1-1/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-31Things work as expected againMattias Andrée2-9/+20
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-31Tracing fork children does not workMattias Andrée4-153/+187
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-31mMattias Andrée2-14/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-31Print signal namesMattias Andrée5-7/+46
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Work around valgrind issueMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Add support for tracing threadsMattias Andrée3-8/+26
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Do not print PID numbers if only configured to trace one threadMattias Andrée3-8/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Add todo about different (bad) behaviour under valgrindMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Continue vfork parent after child execsMattias Andrée2-4/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Add -0 flagMattias Andrée1-5/+7
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30m + add support for tracing vfork childrenMattias Andrée6-23/+111
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Add support for tracing fork childrenMattias Andrée8-856/+1094
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Print errno names and stringsMattias Andrée3-18/+46
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30mMattias Andrée1-9/+10
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Minor simplificationMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-30Use process_vm_readv instead of PTRACE_PEEKDATA (no fallback)Mattias Andrée2-80/+56
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-27Add an optimisation todoMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-05-27Fix Makefile: rebuild if arg.h is updatedMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>