mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
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();
|