File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,21 @@ be done in a single instruction with an immediate integer.
328
328
``pointer `` must have pointer type, and ``integer `` must have integer type. The
329
329
result has type ``ptrauth_extra_data_t ``.
330
330
331
+ ``ptrauth_string_discriminator ``
332
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
333
+
334
+ .. code-block :: c
335
+
336
+ ptrauth_string_discriminator(string)
337
+
338
+ Produce a discriminator value for the given string. ``string `` must be
339
+ a string literal of ``char `` character type. The result has type
340
+ ``ptrauth_extra_data_t ``.
341
+
342
+ The result is always a constant expression. The result value is never zero and
343
+ always within range for both the ``__ptrauth `` qualifier and
344
+ ``ptrauth_blend_discriminator ``.
345
+
331
346
``ptrauth_strip ``
332
347
^^^^^^^^^^^^^^^^^
333
348
You can’t perform that action at this time.
0 commit comments