aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2018-04-17 18:11:22 +0200
committerThomas Gleixner <[email protected]>2018-04-26 16:15:27 +0200
commit7cccf0725cf7402514e09c52b089430005798b7f (patch)
treee47f08bcdbdd8be700811f4d6c75062a8aac251d /lib/test_overflow.c
parentba54d856a9d8a9c56b87e20c88602b7e3cb568fb (diff)
x86/dumpstack: Add a show_ip() function
... which shows the Instruction Pointer along with the insn bytes around it. Use it whenever rIP is printed. Drop the rIP < PAGE_OFFSET check since probe_kernel_read() can handle any address properly. Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andy Lutomirski <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions