Commit Graph

198 Commits

Author SHA1 Message Date
pancake
ef233e2bd5 Fix function signature casting issues 2017-01-29 23:05:02 +01:00
pancake
d619c6039f Fix undefined behaviour in pd with emustr 2017-01-23 22:42:27 +01:00
pancake
a3a42aa982 Implement RCons.jsonpath.grep via ~{json-path} 2017-01-17 13:38:42 +01:00
pancake
b46fa51f9c Colorize backward lines with pal.flow2 2017-01-16 00:41:31 +01:00
pancake
fa26f1f2cc Add experimental horizontal layout and diagonal lines via graph.linemode/layout 2017-01-14 01:14:50 +01:00
Álvaro Felipe Melchor
add4718a93 added new API r_cons_printf_list 2016-12-28 15:30:45 +01:00
pancake
e7e4c86910 Add N key in graph to toggle mini nodes and graph.cmtright 2016-12-19 01:33:54 +01:00
pancake
15c10b2bdc Implement scr.break (word) 2016-12-17 10:42:15 +01:00
pancake
ce59e5f6a1 Fix #6070 - Implement anal.timeout 2016-12-12 23:57:04 +01:00
pancake
c2602a6732 Fix #6142 - Implement ~?. to count chars instead of lines 2016-11-23 12:52:36 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
22e024d5de Implement scr.linesleep and scr.pagesize for fancier demo output 2016-10-26 23:04:55 +02:00
Álvaro Felipe Melchor
046cc2532c specify row to start sorting with ~$[n] 2016-10-25 14:37:57 +02:00
pancake
0e5f39e4ae Implement inverse sort order and fix regression 2016-10-25 12:39:36 +02:00
pancake
d45999d10e Implement column sorting in RCons.grep 2016-10-25 12:03:55 +02:00
Álvaro Felipe Melchor
995faf7289 aim to fix regression 2016-10-24 11:54:17 +02:00
pancake
586e8e685f Fix disasm lines glitch 2016-10-24 10:48:25 +02:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
Álvaro Felipe Melchor
34a49f094c Fix #3546 - Enhanced support for RCons line grep
Now ~: operator support ranges and negative values

~:-1 show last line
~:-2 show line before the last one
~:..3 same as ~:0..3
~:2..8 show lines from 2 to 8
~:2.. show lines from 2 to the end
2016-10-19 18:50:05 +02:00
Álvaro Felipe Melchor
44d9048169 Fix #5986 - use RStack in r_cons_push/pop
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +02:00
pancake
6d6a23c456 Add scr.flush and handle ^C in px/pxr/pd/.. 2016-09-20 00:11:59 +02:00
pancake
697de91c86 Fix #5038 - Disable color when stdout is not in a terminal 2016-09-01 12:06:50 +02:00
pancake
7436ce01ee ecc [arg] - show color palete in css prefixing the CSS keys 2016-07-03 20:56:44 +02:00
pancake
ad85da85ff Fix code indentation in libr_cons 2016-06-29 12:33:31 +02:00
Jeffrey Crowell
40af6b6065 fix macro for r_cons_println 2016-06-26 00:17:16 -04:00
Jeffrey Crowell
8f205587ba kill r_cons_puts add r_cons_print/r_cons_println 2016-06-25 13:49:58 -04:00
Ahmed Mohamed Abd El-MAwgood
f65e56364a Adding colors to r2 2048 (#4994) 2016-05-26 16:58:02 +02:00
Riccardo Schirone
15c1197636 util/print: use screen_bounds to store the first non visible address 2016-05-10 22:15:24 +02:00
Riccardo Schirone
ed80f726f6 core/graph: remove esil modes
core/cmd_debug: use just one if instead of two nested
2016-05-04 10:18:20 +02:00
Sven Steinbauer
9d68cf74f8 Colour current graphviz nodes and make colors configurable
Colours current node in Graphviz output (`ag` command) 'lightblue'.

Add `graph.gv.current` option to config with default to `false`

* White space fixes

Spaces before parens

* Make GV colour configurable

Using existing colours from the palette. Changes boxes from
`lightgray` to `gray` and allows settings for traced boxes, box colour,
and current box colour.
2016-05-04 00:50:33 +02:00
Davide Balzarotti
86760900b1 Added color support for the hud.
- Fix issue #3570

* new matching algorithm (list of space-separated words, case insensitive)
  - Fix bug #4704
* refactoring some code
* updated copyright
2016-04-28 14:02:22 +02:00
Roi Martin
89ee2585d6 Add "summary mode" to ascii graphs 2016-04-09 22:29:16 +03:00
pancake
c724e3b1a5 Honor ec graph.{true|false|trufae} in aga for graphviz 2016-03-31 02:03:44 +02:00
Riccardo Schirone
3e40ca0a93 core/graph: extend r_core_visual_graph to accept a graph
Now it is possible to pass an already initialized RAGraph that can be
used in interactive mode, without being based on a function.
2016-01-05 00:36:26 +01:00
pancake
7863995cca Oops missing .h update 2015-12-08 13:03:38 +01:00
skuater
ae3edbbf1f fixed some bugs in rcons 2015-11-03 22:30:50 +01:00
pancake
72b27776d7 Initial support for function signatures using pf and initial symbol tables 2015-10-30 03:07:22 +01:00
pancake
365d089eb8 Fix #3557 - V_ is the new VF_, old one is in V?? 2015-10-29 12:54:19 +01:00
Riccardo Schirone
14c0f656fe core/graph: rethink commands
* add :cmd and / commands to the help
* use r to refresh the whole graph, not only update the layout
* use pd instead of pi in callgraph mode
* remove 'O' and 'p' commands
* use 's'/'S' instead of 'z'/'Z' for step/step over
* use page up/down to go to the top/bottom of the graph
* use 'C' to toggle asm.comments
* remove 'c' because it will be used for the cursor inside a node (TODO)
* remove 'e' because diagonal lines are broken
* use 'p'/'P' to switch between print modes (normal, normal with offset
  and bytes, esil, esil with offset and bytes, small nodes)
2015-10-25 23:56:22 +01:00
pancake
21fe9f1fa9 A bit deeper zerosep 2015-10-24 23:25:56 +02:00
pancake
880821634f Refactor zerosep for r2 -0 2015-10-24 22:49:12 +02:00
condret
ddba3a446b add new colors-configs for new optype 2015-10-21 11:04:55 +00:00
Riccardo Schirone
eb35438bab core/graph: remove 'b' and only use 'u' and 'U' to move between nodes
Now, every time you change the current node, you are actually seeking
that node. 'b' is not really necessary anymore and it's also confusing.
Also, if you change the seek while in graph mode, the graph will be
updated automatically to select the right node.
2015-10-16 11:26:59 +02:00
Riccardo Schirone
6be6f0a862 core/graph: fix regression about moving between nodes 2015-10-14 18:35:11 +02:00
Riccardo Schirone
9fc6dc6d7d core/cmd_anal: add commands to remove nodes/edges from core->graph 2015-10-03 12:42:40 +02:00
funktioniert
7bb5f39495 Add support for multiple columns in greps 2015-09-29 11:32:57 +02:00
pancake
5ecd98305e Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings 2015-09-29 00:42:31 +02:00
pancake
da3264250c Honor ^C in aae 2015-09-25 18:38:16 +02:00
pancake
f8d3a41fd7 Fix #3200 - Honor scr.rgbcolor in ecr command 2015-08-31 17:06:59 +02:00
pancake
1e1b1adf2a Major enhacements for the V! visual panels 2015-08-31 05:06:01 +02:00