freebsd-skq/usr.bin/truss
brooks 6c69c93893 truss: centralize pointer-constructing casts.
In nearly all cases, the caller has a uintptr_t compatible argument so
this eliminates a large number of casts.

Add a print_pointer function to centralize printing pointers.

Reviewed by:	jhb
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D22212
2019-10-31 22:29:13 +00:00
..
extern.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
main.c Validate the string size parameter passed to -s. 2018-12-10 21:47:19 +00:00
Makefile Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
setup.c Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00
syscall.h truss: decode sysctl names. 2019-09-18 16:15:05 +00:00
syscalls.c truss: centralize pointer-constructing casts. 2019-10-31 22:29:13 +00:00
truss.1 Make truss(1) cross-reference dtrace(1) and bump .Dd. 2017-07-21 13:58:51 +00:00
truss.h Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. 2019-07-16 22:59:15 +00:00