mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
Stack Overflow and Underflow detected !
This commit is contained in:
parent
3d21fff8d4
commit
f0d6580ff5
@ -205,12 +205,10 @@ error_t CmdStackOverflow(int argc, char **argv, char *cmdline)
|
||||
|
||||
error_t CmdStackUnderflow(int argc, char **argv, char *cmdline)
|
||||
{
|
||||
KernLog("\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
|
||||
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
|
||||
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
|
||||
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
|
||||
"\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n"
|
||||
);
|
||||
for (int i = 0 ;; i++) {
|
||||
asm volatile ("pop %rax\n");
|
||||
}
|
||||
|
||||
return EOK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user