MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / common_handler

Function common_handler

Bcore/src/main/cpp/Dobby/example/android_common_api.cc:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14std::map<void *, const char *> *func_map;
15
16void 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
24const char *func_array[] = {

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected