示例#1
0
 public static int getFunctionIndex(LLVMAddress addr) {
   int functionIndex = UNSAFE.getInt(LLVMMemory.extractAddr(addr));
   return functionIndex;
 }
示例#2
0
 public static void memSet(LLVMAddress target, int value, long length) {
   long targetAddress = LLVMMemory.extractAddr(target);
   memSetHandle.call(targetAddress, value, length);
 }
示例#3
0
 public static void putFunctionIndex(LLVMAddress address, int functionIndex) {
   UNSAFE.putInt(LLVMMemory.extractAddr(address), functionIndex);
 }