Exemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     rconfig = new RConfig();
     UpdateGUI();
     CheckR2path();
     r2pw = new R2PIPE_WRAPPER(rconfig, this);
     //assign controls
     r2pw.add_control("output", txtOutput);
     r2pw.add_control("dissasembly", webBrowser1);
     r2pw.add_control("strings_listview", lstStrings);
     r2pw.add_control("functions_listview", listView1);
     r2pw.add_control("imports_listview", lstImports);
     r2pw.add_control("sections_listview", lstSections);
     r2pw.add_control("hexview", webBrowser2);
     r2pw.add_control("r2help", webBrowser3);
     //assign menu optrions
     r2pw.add_menucmd("View", "Functions", "afl", mainMenu);
     r2pw.add_menucmd("View", "File info", "iI", mainMenu);
     r2pw.add_menufcn("Gui", "Enum registry vars", "*", dumpGuiVars, mainMenu);
     r2pw.add_menufcn("Gui", "Update gui", "*", UpdateGUI, mainMenu);
     //load some example file
     LoadFile(@"c:\windows\SysWOW64\notepad.exe");
 }
Exemplo n.º 2
0
 public themeManager(string themeName, RConfig config)
 {
     this.config = config;
     set_theme(themeName);
 }
Exemplo n.º 3
0
 public R2PIPE_WRAPPER(RConfig rconfig)
 {
     this.controls = new Dictionary <string, object>();
     this.rconfig  = rconfig;
 }