MOS Source Code
Loading...
Searching...
No Matches
kallsyms.h File Reference
#include <mos/types.h>
+ Include dependency graph for kallsyms.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kallsyms_t
 

Macros

#define mos_caller()
 

Functions

const kallsyms_tkallsyms_get_symbol (ptr_t addr)
 
const char * kallsyms_get_symbol_name (ptr_t addr)
 

Variables

const kallsyms_t mos_kallsyms []
 

Macro Definition Documentation

◆ mos_caller

#define mos_caller ( )
Value:
(kallsyms_get_symbol_name((ptr_t) __builtin_return_address(0)))
const char * kallsyms_get_symbol_name(ptr_t addr)
Definition kallsyms.c:22
unsigned long ptr_t
Definition types.h:25

Definition at line 15 of file kallsyms.h.

Referenced by cmdline_string_truthiness().

Function Documentation

◆ kallsyms_get_symbol()

const kallsyms_t * kallsyms_get_symbol ( ptr_t addr)

Definition at line 5 of file kallsyms.c.

Referenced by kallsyms_get_symbol_name(), and vsnprintf_do_pointer_kernel().

◆ kallsyms_get_symbol_name()

const char * kallsyms_get_symbol_name ( ptr_t addr)

Definition at line 22 of file kallsyms.c.

+ Here is the call graph for this function:

Variable Documentation

◆ mos_kallsyms

const kallsyms_t mos_kallsyms[]
extern

Definition at line 5 of file mos_limine.kallsyms.1.c.

Referenced by kallsyms_get_symbol().