android_kernel_motorola_sm6375/tools/objtool
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe Leroy 418ef921cc objtool: Fix SEGFAULT
[ Upstream commit efb11fdb3e1a9f694fa12b70b21e69e55ec59c36 ]

find_insn() will return NULL in case of failure. Check insn in order
to avoid a kernel Oops for NULL pointer dereference.

Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221114175754.1131267-9-sv@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:41:43 +01:00
..
arch/x86
Documentation
.gitignore
arch.h
Build
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c objtool: Fix SEGFAULT 2023-01-18 11:41:43 +01:00
check.h
elf.c objtool: Don't fail on missing symbol table 2021-02-07 15:35:49 +01:00
elf.h
Makefile tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:54:10 +01:00
objtool.c
orc.h
orc_dump.c objtool: Support Clang non-section symbols in ORC dump 2020-05-02 08:48:57 +02:00
orc_gen.c objtool: Support Clang non-section symbols in ORC generation 2020-11-01 12:01:01 +01:00
special.c
special.h
sync-check.sh x86: xen: insn: Decode Xen and KVM emulate-prefix signature 2022-05-15 19:54:47 +02:00
warn.h