File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,17 @@ Please refer to the `Code-Pointer Integrity <http://dslab.epfl.ch/proj/cpi/>`__
178178project page for more information about the design of the SafeStack and its
179179related technologies.
180180
181+ setjmp and exception handling
182+ -----------------------------
183+
184+ The `OSDI'14 paper <http://dslab.epfl.ch/pubs/cpi.pdf >`_ mentions that
185+ on Linux the instrumentation pass finds calls to setjmp or functions that
186+ may throw an exception, and inserts required instrumentation at their call
187+ sites. Specifically, the instrumentation pass saves the shadow stack pointer
188+ on the safe stack before the call site, and restores it either after the
189+ call to setjmp or after an exception has been caught. This is implemented
190+ in the function ``SafeStack::createStackRestorePoints ``.
191+
181192Publications
182193------------
183194
You can’t perform that action at this time.
0 commit comments