diff options
-rw-r--r-- | tapset/ucontext-symbols.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/ucontext-symbols.stp b/tapset/ucontext-symbols.stp index 2f73768b..dbfa684f 100644 --- a/tapset/ucontext-symbols.stp +++ b/tapset/ucontext-symbols.stp @@ -30,7 +30,8 @@ * given address if known. If not known it will return the hex string * representation of addr. */ -function usymname:string (addr: long) %{ /* pure */ +function usymname:string (addr: long) %{ /* pure */ /* unprivileged */ + assert_is_myproc(); _stp_symbol_snprint(THIS->__retvalue, MAXSTRINGLEN, THIS->addr, current, 0); %} |