summaryrefslogtreecommitdiff
path: root/Kernel/KSyms.h
blob: 567f9e273ec90f3d02d8200c5fd0c1c67d67865d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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(bool use_ksyms);