示例#1
0
        public SSLToken Alloc(string retVal, string id, int bytes, int clear = -1)
        {
            var args = new List <string>();

            args.Add(id);
            args.Add(bytes.ToString());
            if (clear != -1)
            {
                args.Add(clear.ToString());
            }

            return(SSL.Function("VOODOO_Alloc", retVal, args.ToArray()));
        }
示例#2
0
 public SSLToken GetHookFuncOffset(string retVar, string address, string offset) => SSL.Function("VOODOO_GetHookFuncOffset", retVar, address, offset);
示例#3
0
 public SSLToken GetAddressOf(string retVar, string var) => SSL.Function("VOODOO_GetAddressOf", retVar, var);
示例#4
0
 public SSLToken SetLookupData(MallocVar var, string value, int size) => SSL.Function("VOODOO_SetLookupData", null, var.Name, value, size.ToString());
示例#5
0
 public SSLToken MakeCall(string address, int func) => SSL.Function("VOODOO_MakeCall", null, address, "0x" + func.ToString("x"));
示例#6
0
 public SSLToken MakeCall(string address, string func) => SSL.Function("VOODOO_MakeCall", null, address, func);
示例#7
0
 public SSLToken memset(string address, int val, int size) => SSL.Function("VOODOO_memset", null, address, "0x" + val.ToString("x"), size.ToString());
示例#8
0
 public SSLToken nmalloc(string retVal, int bytes)
 => SSL.Function("VOODOO_nmalloc", retVal, bytes.ToString());
示例#9
0
 public SSLToken BlockCall(string address, string length) => SSL.Function(null, address, length);
示例#10
0
 public SSLToken AssertByte(string retVar, string addressName, string address, string expected)
 {
     return(SSL.Function("VOODOO_AssertByte", retVar, addressName, address, expected));
 }