diff options
| author | Peter Zijlstra <[email protected]> | 2022-03-08 16:30:18 +0100 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-03-15 10:32:33 +0100 |
| commit | c8c301abeae58ec756b8fcb2178a632bd3c9e284 (patch) | |
| tree | 161ef8d2c0cc432927046dbe9aa867c608747a9d /scripts/gdb/linux/utils.py | |
| parent | 156ff4a544ae13c5fd6759a09ecb069f7059c1a1 (diff) | |
x86/ibt: Add ANNOTATE_NOENDBR
In order to have objtool warn about code references to !ENDBR
instruction, we need an annotation to allow this for non-control-flow
instances -- consider text range checks, text patching, or return
trampolines etc.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions