aboutsummaryrefslogtreecommitdiff
path: root/docs/SafeStack.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/SafeStack.rst')
-rw-r--r--docs/SafeStack.rst18
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/SafeStack.rst b/docs/SafeStack.rst
index f01b75f5cb37..b046aa616898 100644
--- a/docs/SafeStack.rst
+++ b/docs/SafeStack.rst
@@ -126,7 +126,7 @@ and link command lines.
Supported Platforms
-------------------
-SafeStack was tested on Linux, FreeBSD and MacOSX.
+SafeStack was tested on Linux, NetBSD, FreeBSD and MacOSX.
Low-level API
-------------
@@ -165,11 +165,23 @@ never be stored on the heap, as it would leak the location of the SafeStack.
This builtin function returns current unsafe stack pointer of the current
thread.
+``__builtin___get_unsafe_stack_bottom()``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This builtin function returns a pointer to the bottom of the unsafe stack of the
+current thread.
+
+``__builtin___get_unsafe_stack_top()``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This builtin function returns a pointer to the top of the unsafe stack of the
+current thread.
+
``__builtin___get_unsafe_stack_start()``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-This builtin function returns a pointer to the start of the unsafe stack of the
-current thread.
+Deprecated: This builtin function is an alias for
+``__builtin___get_unsafe_stack_bottom()``.
Design
======