diff options
-rw-r--r-- | src/init.go | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/init.go b/src/init.go index f8bfb74..4b3f2d9 100644 --- a/src/init.go +++ b/src/init.go @@ -62,18 +62,29 @@ func initArena(config *Config) *r2pipe.Pipe { _ = r2cmd(r2p, fmt.Sprintf("e asm.bits = %d", config.Bits)) // enable colors - _ = r2cmd(r2p, "e scr.color = true") + // _ = r2cmd(r2p, "e scr.color = 0") + _ = r2cmd(r2p, "e scr.color = 3") + _ = r2cmd(r2p, "e scr.color.args = true") + _ = r2cmd(r2p, "e scr.color.bytes = true") + _ = r2cmd(r2p, "e scr.color.grep = true") + _ = r2cmd(r2p, "e scr.color.ops = true") + _ = r2cmd(r2p, "e scr.bgfill = true") + _ = r2cmd(r2p, "e scr.color.pipe = true") + _ = r2cmd(r2p, "e scr.utf8 = true") + + // hex column width + _ = r2cmd(r2p, "e hex.cols = 32") - log.Println("[+] Initializing the ESIL VM") // initialize ESIL VM state + logrus.Debug("Initializing the ESIL VM") _ = r2cmd(r2p, "aei") // initialize ESIL VM stack + logrus.Debug("Initializing the ESIL Stack") _ = r2cmd(r2p, "aeim") // return the pipe return r2p - } // getRandomOffsets returns random offsets for all bots |