public void exit() { try { this.r2.RunCommand("q"); } catch (Exception) { }; this.r2 = null; }
public void exit() { try { rconfig.save("gui.current_shell", "radare2"); this.r2.RunCommand("q"); } catch (Exception) { }; this.r2 = null; }
private void loadR2Pipe() { if (pathToR2 != null) { this.r2 = new R2Pipe("-", pathToR2); } else { this.r2 = new R2Pipe("-"); } }
public void open(String fileName) { if (this.r2 == null) { this.r2 = new R2Pipe(fileName, rconfig.r2path); } else { this.r2.RunCommand("o " + fileName); } this.fileName = fileName; this.r2html = new r2html(this); if (!fileName.Equals("-")) { rconfig.save("gui.lastfile", fileName); } }
public void Kill() { this.r2 = null; }
public Rasm2(string file) { this.r2 = new R2Pipe(file); }
public void open(String fileName) { this.r2 = new R2Pipe(fileName, rconfig.r2path); this.fileName = fileName; this.r2html = new r2html(this); }
/// <summary> /// Initializes a new instance of the <see cref="QueuedR2Pipe"/> class. /// </summary> /// <param name="pipe">The r2pipe to use.</param> public QueuedR2Pipe(IR2Pipe pipe) { this.pipe = pipe; }