/Zephyr-latest/tests/subsys/debug/symtab/src/ |
D | main.c | 7 #include <zephyr/debug/symtab.h> 10 const struct symtab_info *symtab; variable 14 symtab = symtab_get(); in setup() 23 zassert_true(symtab->length > 0); in ZTEST() 29 const uintptr_t first_addr = symtab->first_addr; in ZTEST() 30 const uintptr_t last_addr = first_addr + symtab->entries[symtab->length - 1].offset; in ZTEST() 78 const uintptr_t first_addr = symtab->first_addr; in ZTEST() 95 const uintptr_t first_addr = symtab->first_addr; in ZTEST() 101 zassert_str_equal(symbol_name, symtab->entries[0].name); in ZTEST() 104 if ((symtab->entries[0].offset + 1) != symtab->entries[1].offset) { in ZTEST() [all …]
|
/Zephyr-latest/subsys/debug/symtab/ |
D | symtab.c | 10 #include <zephyr/debug/symtab.h> 22 const struct symtab_info *const symtab = symtab_get(); in symtab_find_symbol_name() local 23 const uint32_t symbol_offset = addr - symtab->first_addr; in symtab_find_symbol_name() 24 uint32_t left = 0, right = symtab->length; in symtab_find_symbol_name() 29 if (symbol_offset < symtab->entries[symtab->length].offset) { in symtab_find_symbol_name() 33 if ((symbol_offset >= symtab->entries[mid].offset) && in symtab_find_symbol_name() 34 (symbol_offset < symtab->entries[mid + 1].offset)) { in symtab_find_symbol_name() 35 ret_offset = symbol_offset - symtab->entries[mid].offset; in symtab_find_symbol_name() 36 ret_name = symtab->entries[mid].name; in symtab_find_symbol_name() 38 } else if (symbol_offset < symtab->entries[mid].offset) { in symtab_find_symbol_name() [all …]
|
D | CMakeLists.txt | 7 symtab.c 10 add_library(symtab target 14 target_link_libraries(symtab zephyr_interface) 15 zephyr_library_link_libraries(symtab)
|
D | Kconfig | 4 config SYMTAB config 10 <zephyr/debug/symtab.h> header. 14 if SYMTAB 22 endif # SYMTAB
|
D | symtab_stub.c | 8 #include <zephyr/debug/symtab.h>
|
/Zephyr-latest/scripts/build/ |
D | llext_inject_slids.py | 40 ".symtab", 44 symtab = None 46 symtab = self.elf.get_section_by_name(section_name) 47 if not isinstance(symtab, SymbolTableSection): 51 self.log.debug(f"(symbol table is at file offset 0x{symtab['sh_offset']:X})") 53 return symtab 55 def _find_imports_in_symtab(self, symtab): argument 58 for sym in symtab.iter_symbols(): 72 symtab = self._find_symtab() 73 if symtab is None: [all …]
|
D | gen_symtab.py | 91 symtab = elf.get_section_by_name('.symtab') 94 for nsym, symbol in enumerate(symtab.iter_symbols()): # pylint: disable=unused-variable 129 print("#include <zephyr/debug/symtab.h>", file=wf)
|
/Zephyr-latest/tests/subsys/debug/symtab/ |
D | testcase.yaml | 11 - symtab 14 debug.symtab: {}
|
D | CMakeLists.txt | 6 project(symtab) project
|
/Zephyr-latest/doc/services/debugging/ |
D | symtab.rst | 3 Symbol Table (Symtab) 6 The Symtab module, when enabled, will generate full symbol table during the Zephyr linking 16 Application can gain access to the symbol table data structure by including the :file:`symtab.h` he…
|
D | index.rst | 14 symtab.rst
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 29 symtab = elf.get_section_by_name(".symtab") 30 for sym in symtab.iter_symbols():
|
/Zephyr-latest/include/zephyr/linker/ |
D | sections.h | 83 #define _SYMTAB_INFO_SECTION_NAME .gnu.linkonce.symtab.info 84 #define _SYMTAB_ENTRY_SECTION_NAME .gnu.linkonce.symtab.entry 85 #define _SYMTAB_SECTION_SYMS .gnu.linkonce.symtab*
|
/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 34 symtab = ef.get_section_by_name(".symtab") 35 entry_addr = symtab.get_symbol_by_name(ENTRY_SYM)[0].entry.st_value 99 if symtab.get_symbol_by_name(BOOTARGS_SYM): 100 …cf.write("static uintptr_t zefi_bootargs = 0x%xUL;\n" % (symtab.get_symbol_by_name(BOOTARGS_SYM)[0…
|
/Zephyr-latest/subsys/debug/ |
D | CMakeLists.txt | 35 symtab
|
/Zephyr-latest/include/zephyr/linker/common-rom/ |
D | common-rom-debug.ld | 13 SECTION_PROLOGUE(symtab,,)
|
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/ |
D | thread.c | 12 #include <zephyr/debug/symtab.h>
|
D | unwind.c | 9 #include <zephyr/debug/symtab.h>
|
/Zephyr-latest/cmake/linker_script/common/ |
D | common-rom.cmake | 192 zephyr_linker_section(NAME symtab KVMA FLASH GROUP RODATA_REGION SUBALIGN 4 NOINPUT) 193 zephyr_linker_section_configure(SECTION symtab INPUT ".gnu.linkonce.symtab*")
|
/Zephyr-latest/tests/arch/common/stack_unwind/ |
D | testcase.yaml | 60 arch.common.stack_unwind.symtab:
|
/Zephyr-latest/arch/common/ |
D | isr_tables_shell.c | 7 #include <zephyr/debug/symtab.h>
|
/Zephyr-latest/include/zephyr/arch/x86/intel64/ |
D | linker.ld | 238 .symtab 0 : { *(.symtab) }
|
/Zephyr-latest/include/zephyr/arch/arm64/scripts/ |
D | linker.ld | 343 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }
|
/Zephyr-latest/include/zephyr/arch/riscv/common/ |
D | linker.ld | 441 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }
|
/Zephyr-latest/include/zephyr/arch/arm/cortex_m/scripts/ |
D | linker.ld | 430 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }
|