ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
symbols.h File Reference

Symbol Resolution Cache for Backtrace Addresses. More...

Go to the source code of this file.

Functions

asciichat_error_t symbol_cache_init (void)
 Initialize the symbol cache.
 
void symbol_cache_cleanup (void)
 Clean up the symbol cache and free all resources.
 
const char * symbol_cache_lookup (void *addr)
 Look up a symbol for a given address.
 
bool symbol_cache_insert (void *addr, const char *symbol)
 Insert a symbol into the cache.
 
void symbol_cache_get_stats (uint64_t *hits_out, uint64_t *misses_out, size_t *entries_out)
 Get cache statistics.
 
void symbol_cache_print_stats (void)
 Print cache statistics to logging system.
 
char ** symbol_cache_resolve_batch (void *const *buffer, int size)
 Resolve multiple addresses using addr2line and cache results.
 
void symbol_cache_free_symbols (char **symbols)
 Free symbol array returned by symbol_cache_resolve_batch.
 

Detailed Description

Symbol Resolution Cache for Backtrace Addresses.

Definition in file symbols.h.