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

Function ensureEnvCreated

Bcore/src/main/cpp/VmCore.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90JNIEnv *ensureEnvCreated() {
91 JNIEnv *env = getEnv();
92 if (env == NULL) {
93 VMEnv.vm->AttachCurrentThread(&env, NULL);
94 }
95 return env;
96}
97
98int VmCore::getCallingUid(JNIEnv *env, int orig) {
99 env = ensureEnvCreated();

Callers 4

getCallingUidMethod · 0.85
redirectPathStringMethod · 0.85
redirectPathFileMethod · 0.85
loadEmptyDexMethod · 0.85

Calls 1

getEnvFunction · 0.85

Tested by

no test coverage detected