Closed catap closed 7 years ago
The problem is that if successful the exec() calls never return.
I have a branch where I print a line before calling the function and one after. That would solve this. https://github.com/riataman/retrace/tree/treeformat
The other option would be to introduce a EVENT_FLAGS_PRINT_ONBEFORE to force certain functions to print on the "before" event.
exit() has the same problem right now.
I think that the way with flag is better, isn't it?
I like the idea of printing in and out calls and show the calls indented to clearly show which calls are made as a result of other calls.
Having say that, that probably should be an alternative view controlled by an option so we can actually implement both ways.
@riataman, I'm trying to test https://github.com/riboseinc/retrace/pull/195 and I found when it doesn't work :)
Summary: I haven't see any
execve
track on https://github.com/riboseinc/retrace/commit/7f4c811749fa364cc81c6f16a9eca3cad614120a on macOS.Test-case: retrace config:
Example applications:
run retrace on this application: