mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
dbg: map addresses to file+function+offset
Add support for mapping kernel .text addresses into file + function + offset for debugging purposes. Make the backtrace use this new feature.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#ifndef _DBG_H
|
||||
#define _DBG_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void dbg_get_symbol(void *rip, char **fn_name, char **file_name, size_t *offset);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user