Baojun Wang
Baojun Wang
### Input C/C++ Header `#include `, found in gcc 10.0+, see [link](https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/libsupc%2B%2B/compare): ```C++ namespace std _GLIBCXX_VISIBILITY(default) { // [cmp.categories], comparison category types namespace __cmp_cat { using type = signed char;...
https://github.com/upenn-acg/detTrace/blob/13a37abf2b0babfe6d85f71defeb45f62adf41f6/src/rnr_loader.cpp#L90 Each threads can do `syscalls` in parallel, `isNoop` could have been overwritten by another thread if current thread is de-scheduled. It's better keep the `rnr` prehook/posthook simpler, by moving...
`dettrace tty` return unexpected result, it could be any random file under `/dev`. The problem seems like most device files under `/dev` have the wrong major/minor number; Also the pty...
`ps -ef` calls `ppoll`, without `ppoll` support we can not run: `dettrace -- ps -ef`. ``` terminate called after throwing an instance of 'std::runtime_error' what(): dettrace runtime exception: No filter...
It's kind of lame we still have to *ship* dettrace as: ``` ./bin/dettrace{-static} ./root ``` Instead of having just `dettrace-{static}`. The `root` directory contains few files such as: ``` /etc/passwd...
Both `--working-dir` and `--fs-chroot` seems to be workarounds for chrooted environment, such as DRB builds. `--fs-chroot` is rarely used, and it seems to have confusing meaning as to `--already-in-chroot`. `--working-dir`...
when run under docker, *dettrace* requires `--priviledged` flag passed to *docker*, it would be nice to remove this flag, or a list of functions who depends on `--priviledged` flag.
epoll works with pipe fds, it seems a valid use case. App calls `pipe2` to create `fd[0]` (read) and `fd[1]` (write). Then spawn two threads. Thread #1 calls `epoll_wait` on...
Assume `state` (`state.hpp`) is process wide states, some resources are per-thread, while others (such as FDs, signal handlers) are per-process. It would be nice too have three APIs like `reset()`,...