Skip to content

RFC objtool x86 decoder fixes

Peter Zijlstra lkml 1 version Applied

Status from this message: The following commit has been merged into the objtool/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest7 patches 3 repliesApplied

Changes in v2 from the cover letter

- actually Cc'ed LKML :/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7objtool: Allow UNWIND_HINT to suppress dodgy stack modificationstools/objtool/check.c+9 -60 replies
2/7objtool,x86: Renumber CFI_regtools/objtool/arch/x86/include/arch/cfi_regs.h+6 -60 replies
3/7objtool,x86: Rewrite LEA decodetools/objtool/arch/x86/decode.c+24 -590 replies
4/7objtool,x86: Rewrite LEAVEtools/objtool/arch/x86/decode.c tools/objtool/check.c tools/objtool/include/objtool/arch.h+13 -260 replies
5/7objtool,x86: Simplify register decodetools/objtool/arch/x86/decode.c+39 -400 replies
6/7objtool,x86: Support %riz encodingstools/objtool/arch/x86/decode.c+48 -190 replies
7/7objtool,x86: Rewrite ADD/SUB/ANDtools/objtool/arch/x86/decode.c+51 -190 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNick DesaulniersJosh Poimboeuf
SeriesT-b A-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC][PATCH v2 0/7] objtool x86 decoder fixes

Hi,

Since I had to look at instruction decoding for the stack swizzle thing, I ended up with a few more changes to the objtool x86 decoder.

These patches are lightly tested (they build defconfig and allmodconfig using GCC10), but older versions have seen some robot exposure and other compilers.

v2:
- actually Cc'ed LKML :/