mirror of
https://github.com/QM4RS/FridaBox.git
synced 2026-10-16 12:52:17 +02:00
24 lines
525 B
C++
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
|