zephyr/scripts/build
Yong Cong Sin e1ce0aefff 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: Yong Cong Sin <ycsin@meta.com>
2024-05-23 11:52:08 -04:00
..
check_init_priorities.py scripts: build: check_init_priorities.py: Add missing raise for error 2024-04-30 16:20:12 +02:00
check_init_priorities_test.py scripts: check_init_priorities: rework the error messages 2023-11-03 11:45:23 +01:00
dir_is_writeable.py
elf_parser.py scripts/build/elf_parser.py: make dependency graph output deterministic 2023-12-04 14:24:32 +01:00
file2hex.py scripts: build: file2hex: Add optional offset and length parameters 2023-09-15 13:23:30 +02:00
gen_app_partitions.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_cfb_font_header.py scripts: Update CFB font generator 2023-09-13 14:40:00 -07:00
gen_device_deps.py scripts: build: gen_device_deps: s/--dynamic-handles/--dynamic-deps 2023-06-21 09:32:05 +02:00
gen_image_info.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_isr_tables.py script: gen_isr_tables: remove unnecessary warning log 2024-02-26 11:55:59 +00:00
gen_isr_tables_parser_carrays.py scripts: build: gen_isr_tables: Implement local ISR generation 2024-02-02 19:49:36 +01:00
gen_isr_tables_parser_local.py scripts: build: gen_isr_tables: Implement local ISR generation 2024-02-02 19:49:36 +01:00
gen_kobject_list.py scripts: build: gen_kobject_list.py check _driver_api suffix 2024-05-03 14:44:41 +01:00
gen_kobject_placeholders.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_offset_header.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_relocate_app.py code_relocation: Add NOKEEP option 2024-01-15 13:20:17 +01:00
gen_strerror_table.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_strsignal_table.py posix: signal: implement strsignal 2023-07-18 15:35:42 -04:00
gen_symtab.py debug: implement symtab generation 2024-05-23 11:52:08 -04:00
gen_syscalls.py subsys/llext: Generate syscalls stubs for EDK exclusively for userspace 2024-05-17 16:21:48 +01:00
mergehex.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
parse_syscalls.py scripts/build: make struct_tags.json deterministic 2023-12-11 09:51:22 +01:00
process_gperf.py syscall: rename z_object_find -> k_object_find 2023-11-03 11:46:52 +01:00
subfolder_list.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
uf2conv.py scripts: Update uf2conv.py from upstream git. 2024-05-08 09:31:07 -04:00
uf2families.json scripts: Update uf2conv.py from upstream git. 2024-05-08 09:31:07 -04:00
user_wordsize.py