Add a very hackish /proc/PID/stack.

It walks the stack and identifies anything that looks like a kernel symbol.
This could be a lot more sophisticated.
This commit is contained in:
Andreas Kling 2018-10-26 22:32:35 +02:00
commit c928b06218
Notes: sideshowbarker 2024-07-19 18:37:59 +09:00
14 changed files with 130 additions and 13 deletions

View file

@ -1,6 +1,15 @@
#pragma once
#include "types.h"
#include <AK/Vector.h>
#include <AK/String.h>
struct KSym {
dword address;
String name;
};
Vector<KSym>& ksyms() PURE;
struct system_t
{