aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warnings and move include statement to common.hMattias Andrée2020-06-211-3/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Include asm/unistd.h for __X32_SYSCALL_BITMichael Forney2020-06-211-0/+2
|
* Some cleanup and preparation for support for multiple architectures (both host and client) and OSesMattias Andrée2020-06-021-23/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Reject i386 and x32 applications (not yet supported)Mattias Andrée2020-06-021-13/+29
| | | | 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>
* 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>
* 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-311-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Tracing fork children does not workMattias Andrée2020-05-311-131/+117
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2020-05-311-13/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Print signal namesMattias Andrée2020-05-311-4/+4
| | | | 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-301-4/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not print PID numbers if only configured to trace one threadMattias Andrée2020-05-301-2/+3
| | | | 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-301-3/+22
| | | | 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-301-14/+60
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for tracing fork childrenMattias Andrée2020-05-301-854/+97
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Print errno names and stringsMattias Andrée2020-05-301-16/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2020-05-301-9/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor simplificationMattias Andrée2020-05-301-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use process_vm_readv instead of PTRACE_PEEKDATA (no fallback)Mattias Andrée2020-05-301-79/+55
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add an optimisation todoMattias Andrée2020-05-271-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commitMattias Andrée2020-05-271-0/+966
Signed-off-by: Mattias Andrée <maandree@kth.se>