[Crash-utility] [PATCH] do not check sp if ip points to user space

Wen Congyang wency at cn.fujitsu.com
Fri Sep 23 07:48:04 UTC 2011


If the task is a user program, the sp can be points to anywhere,
because we can modify sp in assembly.
For example:

.globl main
        .type   main, @function
main:

        finit
        subq $16, (%rsp)
        movq $0, (%rsp)
.loop:
        jmp .loop

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-do-not-check-sp-if-ip-points-to-user-space.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110923/45a2b8be/attachment.bin>


More information about the Crash-utility mailing list