aboutsummaryrefslogtreecommitdiffstats
path: root/arg.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-25Add more system call formattingsMattias Andrée5-25/+345
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Add new system calss and fix faccessatMattias Andrée1-2/+35
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Implement formatting for some system callsMattias Andrée1-5/+50
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Fix pkey_alloc argument types, update membarrier signature, and implement formatting for some system callsMattias Andrée1-11/+144
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-24return explicit NULL rather than 0Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-24Argument 3 and 4 are swapped on SPARC for PTRACE_GETREGS and PTRACE_SETREGSMattias Andrée2-3/+9
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix some illegal aliasingMattias Andrée1-15/+34
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use [:space:] in sed scriptsMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix some warnings and move include statement to common.hMattias Andrée4-5/+27
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix CASE macro: tprintf is returns void, so return in separate statementMattias Andrée1-1/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Add string parameter to _Static_assert use, required by C11Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21#define SIGCLD if missing, needed for muslMattias Andrée1-0/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use __SIGRTMIN and __SIGRTMAX and #define them if missingMattias Andrée1-7/+20
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use literal tab inside [] in sed scriptsMattias Andrée1-3/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Move inclusion of <linux/fs.h> to after <sys/mount.h>, will not build otherwiseMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
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>