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:
Matheus
2026-10-09 01:46:15 -03:00
parent b52882f3f7
commit ac6addd527
3 changed files with 60 additions and 1 deletions
+8
View File
@@ -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