lkml.org 
[lkml]   [2018]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] x86/alternatives: Fix optimize_nops() checking
    From
    Date
    On Wed, 2018-01-10 at 21:33 +0100, Peter Zijlstra wrote:
    > On Wed, Jan 10, 2018 at 12:26:25PM -0800, Linus Torvalds wrote:
    > > Imagine just how crazy that would be to debug. You'd be basically
    > > executing insane code, and looking at the sources - or even the
    > > binaries - it would _look_ completely sane.
    >
    > Been there done that.. we have too much self modifying code for that
    > not to have been needed.
    >
    > Use gdb on /proc/kcore and disassemble self to see the _real_ code.

    Or qemu -d in_asm to see what the code *was* at the time the CPU hit
    it... :)[unhandled content-type:application/x-pkcs7-signature]
    \
     
     \ /
      Last update: 2018-01-14 23:22    [W:4.681 / U:0.672 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site