MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / resolve_symbol

Function resolve_symbol

TactilityC/Source/tt_init.cpp:479–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477};
478
479uintptr_t resolve_symbol(const esp_elfsym* source, const char* symbolName) {
480 const esp_elfsym* symbol_iterator = source;
481 while (symbol_iterator->name != nullptr) {
482 if (strcmp(symbol_iterator->name, symbolName) == 0) {
483 return reinterpret_cast<uintptr_t>(symbol_iterator->sym);
484 }
485 symbol_iterator++;
486 }
487 return 0;
488}
489
490uintptr_t tt_symbol_resolver(const char* symbolName) {
491 static const std::vector all_symbols = {

Callers 1

tt_symbol_resolverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected