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

Function GetMethodName

Bcore/src/main/cpp/jnihook/JniHook.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static const char *GetMethodName(JNIEnv *env, jobject javaMethod) {
35 auto desc = reinterpret_cast<jstring>(env->CallStaticObjectMethod(HookEnv.method_utils_class,
36 HookEnv.get_method_name_id,
37 javaMethod));
38 return env->GetStringUTFChars(desc, JNI_FALSE);
39}
40
41bool CheckFlags(void *artMethod) {
42 char *method = static_cast<char *>(artMethod);

Callers 2

PrettyMethodMethod · 0.85
HookJniFunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected