linux-xiaomi-chiron/tools/objtool/include/objtool
Peter Zijlstra 1cc1e4c8aa 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) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211204134908.023037659@infradead.org
2021-12-08 19:26:50 +01:00
..
arch.h objtool: Add straight-line-speculation validation 2021-12-08 19:26:50 +01:00
builtin.h objtool: Add straight-line-speculation validation 2021-12-08 19:26:50 +01:00
cfi.h objtool: Introduce CFI hash 2021-09-15 15:51:45 +02:00
check.h objtool: Shrink struct instruction 2021-10-28 23:25:25 +02:00
elf.h objtool,x86: Replace alternatives with .retpoline_sites 2021-10-28 23:25:25 +02:00
endianness.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00
objtool.h objtool: Support pv_opsindirect calls for noinstr 2021-09-17 13:20:26 +02:00
special.h objtool: Decode jump_entry::key addend 2021-05-12 14:54:55 +02:00
warn.h objtool: Rework header include paths 2021-01-13 18:13:14 -06:00