diff options
author | Peter Zijlstra <[email protected]> | 2021-12-04 14:43:42 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-12-08 19:26:50 +0100 |
commit | 1cc1e4c8aab4213bd4e6353dec2620476a233d6d (patch) | |
tree | 098107adb9d0272c25287606abad1b846b3595e3 /scripts/gdb/linux/timerlist.py | |
parent | b17c2baa305cccbd16bafa289fd743cc2db77966 (diff) |
objtool: Add straight-line-speculation validation
Teach objtool to validate the straight-line-speculation constraints:
- speculation trap after indirect calls
- speculation trap after RET
Notable: when an instruction is annotated RETPOLINE_SAFE, indicating
speculation isn't a problem, also don't care about sls for that
instruction.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions