On entering handlers from within Dyninst, we currently save the current errno and restore it as we leave, so we don't destroy its value by anything called from the handler. However, some scripts may wish to retrieve the process' original errno for analysis, and maybe even set it to something else. We could conceivable provide tapset functions to get/set our saved errno.
Date: Fri Jan 8 15:38:42 2021 -0500 Add stapdyn VMA-tracking. partially fixes this but there are odd cases (see tls.exp) where the relocated address matches __errno_location () but the errno retrieval fails.
Fixed by commit 1529bfce8