Пример #1
0
 public void exit()
 {
     try
     {
         this.r2.RunCommand("q");
     }
     catch (Exception) { };
     this.r2 = null;
 }
Пример #2
0
 public void exit()
 {
     try
     {
         rconfig.save("gui.current_shell", "radare2");
         this.r2.RunCommand("q");
     }
     catch (Exception) { };
     this.r2 = null;
 }
Пример #3
0
 private void loadR2Pipe()
 {
     if (pathToR2 != null)
     {
         this.r2 = new R2Pipe("-", pathToR2);
     }
     else
     {
         this.r2 = new R2Pipe("-");
     }
 }
Пример #4
0
 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);
     }
 }
Пример #5
0
 public void Kill()
 {
     this.r2 = null;
 }
Пример #6
0
 public Rasm2(string file)
 {
     this.r2 = new R2Pipe(file);
 }
Пример #7
0
 private void loadR2Pipe()
 {
     if (pathToR2 != null) {
         this.r2 = new R2Pipe("-", pathToR2);
     } else {
         this.r2 = new R2Pipe("-");
     }
 }
Пример #8
0
 public Rasm2(string file)
 {
     this.r2 = new R2Pipe(file);
 }
Пример #9
0
 public void Kill()
 {
     this.r2 = null;
 }
Пример #10
0
 public void open(String fileName)
 {
     this.r2       = new R2Pipe(fileName, rconfig.r2path);
     this.fileName = fileName;
     this.r2html   = new r2html(this);
 }
Пример #11
0
 /// <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;
 }