public final class EpicNative
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
cacheflush(long addr,
long len) |
static boolean |
compileMethod(java.lang.reflect.Member method) |
static boolean |
compileMethod(java.lang.reflect.Member method,
long self) |
static void |
copy(long src,
long dst,
int length) |
static byte[] |
get(long src,
int length) |
static long |
getMethodAddress(java.lang.reflect.Member method) |
static java.lang.Object |
getObject(long address) |
static java.lang.Object |
getObject(long self,
long address) |
static long |
malloc(int sizeOfPtr) |
static long |
map(int length) |
static void |
memcpy(long src,
long dest,
int length) |
static byte[] |
memget(long src,
int length) |
static void |
memput(byte[] bytes,
long dest) |
static long |
mmap(int length) |
static boolean |
munmap(long address,
int length) |
static boolean |
munprotect(long addr,
long len) |
static void |
put(byte[] bytes,
long dest) |
static void |
resumeAll(long cookie)
resume all thread which are suspend by
suspendAll()
only work abobe Android N |
static long |
suspendAll()
suspend all running thread momently
|
static boolean |
unmap(long address,
int length) |
static boolean |
unprotect(long addr,
long len) |
public static long mmap(int length)
public static boolean munmap(long address,
int length)
public static void memcpy(long src,
long dest,
int length)
public static void memput(byte[] bytes,
long dest)
public static byte[] memget(long src,
int length)
public static boolean munprotect(long addr,
long len)
public static long getMethodAddress(java.lang.reflect.Member method)
public static boolean cacheflush(long addr,
long len)
public static long malloc(int sizeOfPtr)
public static java.lang.Object getObject(long self,
long address)
public static boolean compileMethod(java.lang.reflect.Member method,
long self)
public static long suspendAll()
resumeAll(long)public static void resumeAll(long cookie)
suspendAll()
only work abobe Android Ncookie - the cookie return by suspendAll()public static boolean compileMethod(java.lang.reflect.Member method)
public static java.lang.Object getObject(long address)
public static long map(int length)
public static boolean unmap(long address,
int length)
public static void put(byte[] bytes,
long dest)
public static byte[] get(long src,
int length)
public static boolean unprotect(long addr,
long len)
public static void copy(long src,
long dst,
int length)