mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
4ef6be8212
We now use the symbols from kernel.map to link modules as they are loaded into the kernel. This is pretty fricken cool!
20 lines
340 B
C
20 lines
340 B
C
#pragma once
|
|
|
|
#include <AK/String.h>
|
|
#include <AK/Vector.h>
|
|
|
|
struct KSym {
|
|
u32 address;
|
|
const char* name;
|
|
};
|
|
|
|
u32 address_for_kernel_symbol(const char* name);
|
|
const KSym* ksymbolicate(u32 address);
|
|
void load_ksyms();
|
|
|
|
extern bool ksyms_ready;
|
|
extern u32 ksym_lowest_address;
|
|
extern u32 ksym_highest_address;
|
|
|
|
void dump_backtrace();
|