Get strace.com working beautifully

This commit is contained in:
Justine Tunney 2022-04-06 09:12:05 -07:00
parent 82f2e758c7
commit f59b5dbd7c
7 changed files with 544 additions and 474 deletions

View file

@ -62,6 +62,7 @@ static const char *__ptrace_describe_request(int x) {
*
* @param request can be PTRACE_xxx
* @note de facto linux only atm
* @vforksafe
*/
long ptrace(int request, ...) {
// TODO(jart): FreeBSD addr and data args are different