Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Data Structures

struct  symtab_info
 

Functions

const struct symtab_infosymtab_get (void)
 Get the pointer to the symbol table.
 
const char * 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 * symtab_find_symbol_name ( uintptr_t addr,
uint32_t * offset )

#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 * symtab_get ( void )

#include <zephyr/debug/symtab.h>

Get the pointer to the symbol table.

Returns
Pointer to the symbol table.