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: Yong Cong Sin <ycsin@meta.com> |
||
|---|---|---|
| .. | ||
| check_init_priorities_test.py | ||
| check_init_priorities.py | ||
| dir_is_writeable.py | ||
| elf_parser.py | ||
| file2hex.py | ||
| gen_app_partitions.py | ||
| gen_cfb_font_header.py | ||
| gen_device_deps.py | ||
| gen_image_info.py | ||
| gen_isr_tables_parser_carrays.py | ||
| gen_isr_tables_parser_local.py | ||
| gen_isr_tables.py | ||
| gen_kobject_list.py | ||
| gen_kobject_placeholders.py | ||
| gen_offset_header.py | ||
| gen_relocate_app.py | ||
| gen_strerror_table.py | ||
| gen_strsignal_table.py | ||
| gen_symtab.py | ||
| gen_syscalls.py | ||
| mergehex.py | ||
| parse_syscalls.py | ||
| process_gperf.py | ||
| subfolder_list.py | ||
| uf2conv.py | ||
| uf2families.json | ||
| user_wordsize.py | ||