lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] objtool: Constify most of the instruction decoding loop
Date
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

\
 
 \ /
  Last update: 2020-04-22 12:33    [W:0.984 / U:2.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site