Files
FridaBox/Bcore/src/main/cpp/BoxCore.h
T

24 lines
525 B
C++

//
// updated by alex5402 on 4/9/21.
//
#ifndef VIRTUALM_VMCORE_H
#define VIRTUALM_VMCORE_H
#include <jni.h>
#define VMCORE_CLASS "top/niunaijun/blackbox/core/NativeCore"
class BoxCore {
public:
static JavaVM *getJavaVM();
static int getApiLevel();
static int getCallingUid(JNIEnv *env, int orig);
static jstring redirectPathString(JNIEnv *env, jstring path);
static jobject redirectPathFile(JNIEnv *env, jobject path);
static jlongArray loadEmptyDex(JNIEnv *env);
};
#endif //VIRTUALM_VMCORE_H