MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / read_addr

Function read_addr

extra/resolve_stack_dump.c:185–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static my_long_addr_t read_addr(char** buf)
186{
187 uchar c;
188 char* p = *buf;
189 my_long_addr_t addr = 0;
190
191 while((c = hex_val(*p++)) != HEX_INVALID)
192 addr = (addr << 4) + c;
193
194 *buf = p;
195 return addr;
196}
197
198static int init_sym_entry(SYM_ENTRY* se, char* buf)
199{

Callers 2

init_sym_entryFunction · 0.85
do_resolveFunction · 0.85

Calls 1

hex_valFunction · 0.85

Tested by

no test coverage detected