Adds DRWRAP_NO_DYNAMIC_RETADDRS which instructs drwrap to not look for post-call points by examining the return address and comparing to known sites while in the callee. This incurs overhead, mostly due to the locks and shared data structures, in large many-threaded applications. The downside is that the only post-call points in place are those for direct calls, which drwrap always looks for with the recent PR #4186. Future work could add identification of PLT-or-IAT-style indirect calls, or explore more scalable data structures.
Adds testing to drwrap-test.
Issue: #4070 (closed)