Messages in this thread | | | From | Ingo Molnar <> | Subject | [PATCH 0/3] objtool: Constify most of the instruction decoding loop | Date | Wed, 22 Apr 2020 12:32:02 +0200 |
| |
Constify some of the decoding primitives, to ascertain and enforce that arch_decode_instructions() is a read-only consumer of the various ELF data structures. (Which it is.)
This is in preparation to parallelize the most expensive parts of objtool, but makes sense independently as well.
These bits can also be found at:
git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/objtool
(Subject to rebasing.)
Thanks,
Ingo
==== Ingo Molnar (3): objtool: Constify 'struct elf *' parameters objtool: Rename elf_read() to elf_open_read() objtool: Constify arch_decode_instruction()
tools/objtool/arch.h | 2 +- tools/objtool/arch/x86/decode.c | 6 +++--- tools/objtool/check.c | 2 +- tools/objtool/elf.c | 12 ++++++------ tools/objtool/elf.h | 22 +++++++++++----------- 5 files changed, 22 insertions(+), 22 deletions(-)
-- 2.20.1
| |