hatrace
hatrace copied to clipboard
scriptable strace
@nh2 's comment in #76 > In the future I think it would be nice to observe invalid accesses in more detail over the API, e.g. to be able to...
writev syscall with details of iov struct array --- This change is [](https://reviewable.io/reviews/nh2/hatrace/75)
### TODO * [ ] Finish * [ ] Understand (see WIP commit messages) * [ ] Clean up commits * [ ] Rebase --- This change is [](https://reviewable.io/reviews/nh2/hatrace/86)
`execvp` work by checking for a slash in the path; if there is a slash, it assumes it is a path (absolute or relative), if there is no slash, it...
Tests in #76 uncovered that if an exception gets thrown in a `hatrace` conduit child processes don't get cleaned up correctly. Quoting @nh2 from discord: > ...currently an exception being...
* Pick one of tasks from our general TODO list in the `README` (some of them have corresponding [issues](https://github.com/nh2/hatrace/issues) already, in such a case please assign the one you take...
See e.g. description at https://pchaigno.github.io/strace/2019/10/02/introducing-strace-seccomp-bpf.html#fnref:seccomp-ebpf
Similar to `strace -c` it should (quoting `strace` manpage): > Count time, calls, and errors for each system call and report a summary on program exit
This is somewhat WIP, as it prints file paths unconditionally (i.e. no `-y` flag). Not sure how bad we want it. --- This change is [](https://reviewable.io/reviews/nh2/hatrace/25)
This change is [](https://reviewable.io/reviews/nh2/hatrace/14)