예제 #1
0
 private void DoLoadFile()
 {
     if (!File.Exists(fileName) && !fileName.Equals("-"))
     {
         r2pw.Show(string.Format("Wops!\n{0}\nfile not found...", fileName), "LoadFile");
         return;
     }
     r2pw.open(fileName);
     r2pw.setText("version ( ?V )", "?V", r2pw.r2.RunCommand("?V"));
     r2pw.run_script("openfile_post.txt");
 }
예제 #2
0
 private void DoLoadFile()
 {
     if (!File.Exists(fileName))
     {
         MessageBox.Show(string.Format("Wops!\n{0}\nfile not found...", fileName), "LoadFile", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     r2pw.open(fileName);
     r2pw.run("pd 100", "dissasembly");
     r2pw.run("izq", "strings");
     r2pw.run("aaa;aflj", "functions_listview", false, new List <string> {
         "name", "offset"
     });
     r2pw.run("iij", "imports_listview", false, new List <string> {
         "name", "plt"
     });
     r2pw.run("px 2000", "hexview");
 }
예제 #3
0
 private void DoLoadFile()
 {
     if (!File.Exists(fileName))
     {
         r2pw.Show(string.Format("Wops!\n{0}\nfile not found...", fileName), "LoadFile");
         return;
     }
     r2pw.open(fileName);
     r2pw.run("aaa;aflj", "functions_listview", false, new List <string> {
         "name", "offset"
     });
     r2pw.run("pd 100", "dissasembly");
     r2pw.run("izj", "strings_listview", false, new List <string> {
         "vaddr", "section", "type", "string"
     });
     r2pw.run("iij", "imports_listview", false, new List <string> {
         "name", "plt"
     });
     r2pw.run("iSj", "sections_listview", false, new List <string> {
         "name", "size", "flags", "paddr", "vaddr"
     });
     r2pw.run("px 2000", "hexview");
     r2pw.run("?", "r2help");
 }