Date: | Fri, 17 Jun 2016 10:51:44 -0700 |
---|---|
From: | Josh Stone <cuviper@xxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] 73cd00: RTlib: use static TLS for the tramp guard (#99) |
Branch: refs/heads/master Home: https://github.com/dyninst/dyninst Commit: 73cd0019856eca0636e652e402f9eaed6ba9dc61 https://github.com/dyninst/dyninst/commit/73cd0019856eca0636e652e402f9eaed6ba9dc61 Author: Josh Stone <cuviper@xxxxxxxxx> Date: 2016-06-17 (Fri, 17 Jun 2016) Changed paths: M dyninstAPI_RT/src/RTcommon.c Log Message: ----------- RTlib: use static TLS for the tramp guard (#99) With dynamic TLS, the call to __tls_get_addr() could reach additional instrumented code, infinitely recursing back to check the tramp guard. Static TLS is a limited resource, but this case in RTlib is special enough to warrant it for safety alone, nevermind performance. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] ada1d1: Prevent memory corruption: Dwarf_Dbg is a pointer ..., Bill Williams |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] d1b433: Make the tramp guard bigger to avoid a glibc bug., Josh Stone |
Previous by Thread: | Re: [DynInst_API:] [dyninst/dyninst] 738a1c: Make interval trees containers, Bill Williams |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] 75bc5a: fix icc warning flags, Peter Foley |
Indexes: | [Date] [Thread] |