]> git.baikalelectronics.ru Git - kernel.git/commit
objtool,x86: Rewrite LEA decode
authorPeter Zijlstra <peterz@infradead.org>
Tue, 9 Feb 2021 20:29:16 +0000 (21:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 6 Mar 2021 11:44:23 +0000 (12:44 +0100)
commit86efb87072ad8ab20c639fe3e041a8ec0ad18fa7
tree23473e8d60089209ec750310462806c2b4fe2304
parent0c18ab8470777731cf08f759f239cd73798f2c38
objtool,x86: Rewrite LEA decode

Current LEA decoding is a bunch of special cases, properly decode the
instruction, with exception of full SIB and RIP-relative modes.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lkml.kernel.org/r/20210211173627.143250641@infradead.org
tools/objtool/arch/x86/decode.c