Home
last modified time | relevance | path

Searched full:symtab (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/tests/subsys/debug/symtab/src/
Dmain.c7 #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/
Dsymtab.c10 #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 …]
DCMakeLists.txt7 symtab.c
10 add_library(symtab target
14 target_link_libraries(symtab zephyr_interface)
15 zephyr_library_link_libraries(symtab)
DKconfig4 config SYMTAB config
10 <zephyr/debug/symtab.h> header.
14 if SYMTAB
22 endif # SYMTAB
Dsymtab_stub.c8 #include <zephyr/debug/symtab.h>
/Zephyr-latest/scripts/build/
Dllext_inject_slids.py40 ".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 …]
Dgen_symtab.py91 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/
Dtestcase.yaml11 - symtab
14 debug.symtab: {}
DCMakeLists.txt6 project(symtab) project
/Zephyr-latest/doc/services/debugging/
Dsymtab.rst3 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…
Dindex.rst14 symtab.rst
/Zephyr-latest/scripts/profiling/
Dstackcollapse.py29 symtab = elf.get_section_by_name(".symtab")
30 for sym in symtab.iter_symbols():
/Zephyr-latest/include/zephyr/linker/
Dsections.h83 #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/
Dzefi.py34 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/
DCMakeLists.txt35 symtab
/Zephyr-latest/include/zephyr/linker/common-rom/
Dcommon-rom-debug.ld13 SECTION_PROLOGUE(symtab,,)
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dthread.c12 #include <zephyr/debug/symtab.h>
Dunwind.c9 #include <zephyr/debug/symtab.h>
/Zephyr-latest/cmake/linker_script/common/
Dcommon-rom.cmake192 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/
Dtestcase.yaml60 arch.common.stack_unwind.symtab:
/Zephyr-latest/arch/common/
Disr_tables_shell.c7 #include <zephyr/debug/symtab.h>
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dlinker.ld238 .symtab 0 : { *(.symtab) }
/Zephyr-latest/include/zephyr/arch/arm64/scripts/
Dlinker.ld343 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }
/Zephyr-latest/include/zephyr/arch/riscv/common/
Dlinker.ld441 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }
/Zephyr-latest/include/zephyr/arch/arm/cortex_m/scripts/
Dlinker.ld430 SECTION_PROLOGUE(.symtab, 0,) { *(.symtab) }

12