Skip to content
Commit e1ce0aef authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

debug: implement symtab generation



Use pyelftools to extract the symbol table from the
link stage executable. Then, filter out the function names
and sort them based on their offsets before writing into the
`symtab.c`, this is similar to how the `isr_tables` works.

To access the structure, simply include the new header:
```c
#include <zephyr/debug/symtab.h>
```

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 0af906a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment