Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Data Structures

struct  symtab_info
 

Functions

const struct symtab_info *const symtab_get (void)
 Get the pointer to the symbol table.
 
const char *const symtab_find_symbol_name (uintptr_t addr, uint32_t *offset)
 Find the symbol name with a binary search.
 

Detailed Description

Function Documentation

◆ symtab_find_symbol_name()

const char *const symtab_find_symbol_name ( uintptr_t  addr,
uint32_t offset 
)

#include <include/zephyr/debug/symtab.h>

Find the symbol name with a binary search.

Parameters
[in]addrAddress of the symbol to find
[out]offsetOffset of the symbol from the nearest symbol. If the symbol can't be found, this will be 0.
Returns
Name of the nearest symbol if found, otherwise "?" is returned.

◆ symtab_get()

const struct symtab_info *const symtab_get ( void  )

#include <include/zephyr/debug/symtab.h>

Get the pointer to the symbol table.

Returns
Pointer to the symbol table.