mirror of
https://github.com/QM4RS/FridaBox.git
synced 2026-10-16 04:42:13 +02:00
24 lines
469 B
C++
24 lines
469 B
C++
|
|
|
|
|
|
|
|
#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
|