]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Disassemble code with libopcodes instead of running objdump
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Fri, 21 Nov 2025 09:53:13 +0000 (10:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 14:30:07 +0000 (15:30 +0100)
commit59953303827eceb06d486ba66cc0d71f55ded8ec
treec3394bfb901681fe576699d359d5edad48cb88b7
parent1013f2e37bec39b1df5679e1c1e2572ece87c088
objtool: Disassemble code with libopcodes instead of running objdump

objtool executes the objdump command to disassemble code. Use libopcodes
instead to have more control about the disassembly scope and output.
If libopcodes is not present then objtool is built without disassembly
support.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://patch.msgid.link/20251121095340.464045-4-alexandre.chartre@oracle.com
tools/objtool/.gitignore
tools/objtool/Build
tools/objtool/Makefile
tools/objtool/arch/loongarch/decode.c
tools/objtool/arch/powerpc/decode.c
tools/objtool/arch/x86/decode.c
tools/objtool/check.c
tools/objtool/disas.c
tools/objtool/include/objtool/arch.h
tools/objtool/include/objtool/check.h
tools/objtool/include/objtool/disas.h