| 15 | | - `$reach($proc p, void * obj)` |
| 16 | | returns true iff the memory unit pointed to by `obj` is reachable from process `p`. This means there is a path from the variables on the call stack of `p` to the memory unit, following following array elements, struct members, and pointer dereferences. |
| 17 | | |
| 18 | | - `$reach_rec($proc p, void * obj)` |
| 19 | | returns true iff any of the memory units reachable from the object pointed to by obj (including the object pointed to by `obj` itself) is reachable from process `p'`. |
| 20 | | |
| 21 | | - `$write($proc p, void * obj)` |
| 22 | | returns true iff the memory unit pointed to by `obj` is not only reachable from `p` but if it is possible that `p` (or a process spawned by `p`) could write to that memory unit at some point now or in the future. |
| 23 | | |
| 24 | | - `$write_rec($proc p, void * obj)` |
| 25 | | like above but true if any of the memory units in the reachable region specified by `obj` may be written to |
| | 11 | * `$reach(void * obj)` |
| | 12 | * holds iff the memory unit pointed to by `obj` is reachable from `p`. This means there is a path from the variables on the call stack of `p` to the memory unit, following following array elements, struct members, and pointer dereferences. |
| | 13 | * `$reach_rec(void * obj)` |
| | 14 | * holds iff any of the memory units reachable from the object pointed to by `obj` (including the object pointed to by `obj` itself) is reachable from`p` |
| | 15 | * `$write(void * obj)` |
| | 16 | * holds iff the memory unit pointed to by `obj` is not only reachable from `p` but if it is possible that `p` (or a process spawned by `p`) could write to that memory unit at some point now or in the future. |
| | 17 | * `$write_rec(void * obj)` |
| | 18 | * like above but true if any of the memory units in the reachable region specified by `obj` may be written to |