| 14 | std::map<void *, const char *> *func_map; |
| 15 | |
| 16 | void common_handler(RegisterContext *ctx, const HookEntryInfo *info) { |
| 17 | auto iter = func_map->find(info->function_address); |
| 18 | if (iter != func_map->end()) { |
| 19 | LOG(1, "func %s:%p invoke", iter->second, iter->first); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | // clang-format off |
| 24 | const char *func_array[] = { |