Exemplo n.º 1
0
        public static UInt64 Run(string FilePath)
        {
            var r = new r2pipe.DllR2Pipe();

            r.RunCommand("o " + FilePath);
            r.RunCommand("aaa");
            var address = GetPrivateAddressInternal(ref r);

            Console.WriteLine(address);
            r.Dispose();
            return(address);
        }
Exemplo n.º 2
0
        static JObject[] emitCommandArray(ref r2pipe.DllR2Pipe r, string cmd)
        {
            var reply = r.RunCommand(cmd);

            JObject[] parsed = JsonConvert.DeserializeObject <JObject[]>(reply);
            return(parsed);
        }
Exemplo n.º 3
0
 static void emitCommandVoid(ref r2pipe.DllR2Pipe r, string cmd)
 {
     r.RunCommand(cmd);
 }
Exemplo n.º 4
0
        static JObject emitCommandObject(ref r2pipe.DllR2Pipe r, string cmd)
        {
            var reply = r.RunCommand(cmd);

            return(JsonConvert.DeserializeObject <JObject>(reply));
        }