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

Function GetMethodDesc

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

Source from the content-addressed store, hash-verified

18} HookEnv;
19
20static const char *GetMethodDesc(JNIEnv *env, jobject javaMethod) {
21 auto desc = reinterpret_cast<jstring>(env->CallStaticObjectMethod(HookEnv.method_utils_class,
22 HookEnv.get_method_desc_id,
23 javaMethod));
24 return env->GetStringUTFChars(desc, JNI_FALSE);
25}
26
27static const char *GetMethodDeclaringClass(JNIEnv *env, jobject javaMethod) {
28 auto desc = reinterpret_cast<jstring>(env->CallStaticObjectMethod(HookEnv.method_utils_class,

Callers 1

HookJniFunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected