[Crash-utility] [PATCH] do not check sp if ip points to user space
Wen Congyang
Friday, 23 September
2011
Fri, 23 Sep
'11
2:48 a.m.
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