ladybird/Kernel/KSyms.h
Andreas Kling 2f4e7edee5 Kernel: Simplify dump_backtrace() API for clients.
It makes no sense that clients had to worry about whether or not KSyms
were loaded.
2019-05-16 13:41:16 +02:00

19 lines
320 B
C

#pragma once
#include <AK/AKString.h>
#include <AK/Vector.h>
struct KSym {
dword address;
const char* name;
};
const KSym* ksymbolicate(dword address);
void load_ksyms();
void init_ksyms();
extern bool ksyms_ready;
extern dword ksym_lowest_address;
extern dword ksym_highest_address;
void dump_backtrace();