mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00

It walks the stack and identifies anything that looks like a kernel symbol. This could be a lot more sophisticated.
21 lines
268 B
C
21 lines
268 B
C
#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
|
|
{
|
|
time_t uptime;
|
|
DWORD nprocess;
|
|
DWORD nblocked;
|
|
};
|
|
|
|
extern system_t system;
|