* A hexadecimal offset to void* pointer conversion */
| 169 | * A hexadecimal offset to void* pointer conversion |
| 170 | */ |
| 171 | void *hex_to_ptr(std::string ptr) |
| 172 | { |
| 173 | size_t idx; |
| 174 | |
| 175 | return reinterpret_cast<void*>(std::stoul(ptr, &idx, 16)); |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Try to run addr2line for the given executable and address. |
no outgoing calls
no test coverage detected