Commit Graph

925 Commits

Author SHA1 Message Date
Ayman Khamouma (ak42)
c3bb9e5edf Add command ecH for instruction highlighting support (#7741)
* only use Color_NOBGRESET when actually needed
2017-06-20 15:48:45 -05:00
xarkes
675fa9b9ff Windows fixes and fix graph tests 2017-06-16 21:18:50 +02:00
xarkes
1b0497cb0b Fixed windows segfault 2017-06-15 14:11:50 +08:00
pancake
cd33acbd51 Implement !- and !-* commands to clear command history 2017-06-14 17:31:57 +02:00
Francesco Tamagni
4eab2a8553 Fix CID 1368158 (#7731)
by keeping the ap argument read-only and use a copy instead, so both copies can be safely ended before returning
2017-06-13 13:45:16 +02:00
pancake
f62df0d745 Add flow2 to all color themes 2017-06-13 10:38:38 +02:00
pancake
fef6618c29 More fixes for the white theme 2017-06-13 10:08:50 +02:00
pancake
966b6475c4 Fix warnings in rcons and update www-m 2017-06-12 17:20:34 +02:00
Francesco Tamagni
c17c725ebb Fix crash in r_cons_printf_list and simplify logic (#7725) 2017-06-12 12:38:00 +02:00
pancake
54150fa3db Fix last covs 2017-06-12 11:28:54 +02:00
Andry
f81e0a7fdb grep functions refactoring (#7672) 2017-06-10 12:39:04 +02:00
pancake
90ffb5463d Fix graph lines colors in the white theme 2017-06-01 02:58:59 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
0596c1c08e Meson shlr libs 2017-05-30 18:38:19 +02:00
pancake
f8373b46d6 More null termination in rcons 2017-05-30 11:01:33 +02:00
pancake
5687da18f9 Fix #7383 - Case insensitive grep with ~+ 2017-05-29 02:52:53 +02:00
pancake
c506c8ebd7 Fix help messages in eco white 2017-05-23 03:00:21 +02:00
pancake
74971add35 Honor MMX and SSE op.family for x86.cs 2017-05-22 00:56:24 +02:00
pancake
0c6cd8cbc8 Better white theme for calls 2017-05-21 03:33:03 +02:00
Simone Ferrini
71de3c477d [dietline] Fixed command history regression (#7535) 2017-05-20 12:40:43 +02:00
pancake
792d2e2ff2 Honor color palette in pxa 2017-05-18 11:43:26 +02:00
pancake
a4a27b64cf Set all ec keys in the cga theme 2017-05-18 00:06:15 +02:00
pancake
0668d04488 Honor color theme in p=, add palette rainbow primitives in RCons 2017-05-18 00:01:16 +02:00
Andry
a0d25a79e4 Fix #7356 - i~{} messes up the thing (#7385) 2017-05-15 22:32:46 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
pancake
2b4ef99e94 Fix history up issue reported by @jduck 2017-05-14 22:59:02 +02:00
pancake
02fa7b92e1 Enhance the white color theme 2017-05-13 05:28:30 +02:00
pancake
8c49c29900 Aim to fix va_copy issue in rcons 2017-05-13 03:35:01 +02:00
pancake
81f2f82cd3 Fix write(0) in radiff2 -x 2017-05-10 22:28:11 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
pancake
9d83647047 Aim to fix eco cga on windows 2017-04-28 23:01:37 +02:00
pancake
6db6c6c72f Support background color in rgb mode for scr.html 2017-04-24 04:08:57 +02:00
pancake
3bb3d6a324 Use RCons.printf in RCons.history to make !~... work 2017-04-18 16:38:27 +02:00
dx
cde7747504 grep: Fix ~[x] with x higher than the total number of columns (#7284)
For example, "ii~[2]" didn't filter anything at all because the first
row only has one column
2017-04-17 13:54:16 +02:00
0x0dada
7327642241 Fix incorrect modes various .c files. (#7287) 2017-04-16 10:10:04 +02:00
pancake
df35e11621 Fix underflow in dietline with utf8 2017-04-11 23:00:23 +02:00
Duncan Ogilvie
7d332aaf3d correctly handle I.buffer==NULL in r_cons_push.pop 2017-04-09 10:09:45 +02:00
pancake
2b43893eb1 Fix RCons regression causing entry0 to be printed on start 2017-04-09 00:29:44 +02:00
pancake
04304e2ca1 Fixes for rcons_push/pop 2017-04-08 00:26:28 +02:00
ewtoombs
8021e7f42f Some refactoring and r2-indent for dietline 2017-04-04 12:31:47 +02:00
pancake
d023e33790 Fix null deref in RCons.swapGround 2017-03-30 09:51:45 +02:00
pancake
f8e2431316 Support ^A and ^E in ^R 2017-03-21 02:59:32 +01:00
pancake
b19049cdf1 Remove slurp command '<' 2017-03-19 00:29:55 +01:00
pancake
08b734ad30 Fix regression in RCons adding <br> in JSON outputs 2017-03-18 23:59:34 +01:00
xarkes
072551a8a7 Modified json indent character 2017-03-17 12:09:17 +01:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
Riccardo Schirone
6640df28ff cons: fix typo in xvilka theme 2017-03-12 20:08:51 +01:00
SkUaTeR
542e06f656 Fix grep on windows, and json output for r2pipe on windows (#6976) 2017-03-10 12:38:41 +01:00
pancake
024998890b Fix #6942 - show prompt when scr.fgets=true 2017-03-08 23:36:45 +01:00
pancake
4bbc73a0e2 Fix #6818 - json indent ~{} honors scr.color
- Cannot configure the color palette
2017-02-20 02:32:58 +01:00
pancake
25967a0b5a Fix regression in scr.html 2017-02-17 04:07:01 +01:00
ITAYC0HEN
ea71fae6ee Add &nbsp; to html output and fix <br /> (#6780)
e scr.html=true doesn't print spaces as &nbsp; and thus it looks messy because the maximum spaces sequence allowed in html is 1. 
Therefore we should change every space to &nbsp;. 

In addition, fix a problem with <br /> printing, \n (a new line) was printed instead and it doesn't consider as line-break in some editors. Therefore now it avoids printing new line and prints <br /> instead.
2017-02-14 12:08:49 +01:00
pancake
4bf5c94bf6 More optimizations for RConsCanvas 2017-02-13 01:31:43 +01:00
pancake
ea5740da57 Optimize prefixline in cons/canvas 2017-02-13 00:58:25 +01:00
SchumBlubBlub
6c00c9e2d5 Reorganize string macros 2017-02-06 00:00:03 +01:00
pancake
ef233e2bd5 Fix function signature casting issues 2017-01-29 23:05:02 +01:00
Álvaro Felipe Melchor
f8a5f88440 Fix #6564 - agf can be stopped 2017-01-28 13:33:01 +01:00
leberus
800379c475 Try to fix #6579 (#6589) 2017-01-27 10:06:31 +01:00
Giovanni
6f0f1ffd2d Fixed newline color issue on windows 2017-01-25 23:27:12 +01:00
pancake
b65403abb4 More glitchfixing for disasm 2017-01-24 11:36:02 +01:00
pancake
d619c6039f Fix undefined behaviour in pd with emustr 2017-01-23 22:42:27 +01:00
pancake
41602c4212 Fix android build 2017-01-18 13:46:39 +01:00
pancake
a3a42aa982 Implement RCons.jsonpath.grep via ~{json-path} 2017-01-17 13:38:42 +01:00
pancake
fb163cf1bf Implement ~... RCons.hud grep style 2017-01-17 13:12:27 +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
pancake
5953145229 Fix #6474 - underflow index in visual hud prompt 2017-01-10 14:07:18 +01:00
Moritz Eckert
4f9454a790 Call var_end in case of an early return (#6408) 2016-12-31 17:22:59 +01:00
pancake
91c52cb613 Fix crash in rcons with palloc 2016-12-29 19:20:33 +01:00
Álvaro Felipe Melchor
add4718a93 added new API r_cons_printf_list 2016-12-28 15:30:45 +01:00
Anton Kochkov
e20ac7a139 Fix some more coverities 2016-12-22 00:21:11 +03:00
Álvaro Felipe Melchor
224b3c3319 fix some coverities 2016-12-18 23:41:55 +01:00
pancake
da218c993c Fix #6038 - Autocomplete issue after @ 2016-12-18 01:05:34 +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
Álvaro Felipe Melchor
234a3ca5fc clean up the code coding style mainly 2016-12-12 20:23:11 +01:00
pancake
c2602a6732 Fix #6142 - Implement ~?. to count chars instead of lines 2016-11-23 12:52:36 +01:00
pancake
795066aa5e Fix #6236 - > ~/foo 2016-11-22 00:28:15 +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
Álvaro Felipe Melchor
e14b2a37d6 fix r_cons_get_buffer to avoid return trash 2016-11-18 13:14:57 +01:00
Álvaro Felipe Melchor
91b67d90b6 fix null dereference 2016-11-18 13:14:56 +01:00
Álvaro Felipe Melchor
e97c2cf55e rcons.push/pop rcore.cmd_str 2016-11-18 13:14:52 +01:00
jvoisin
8c1a3dca93 Document the ~[i,j,k,l] syntax 2016-11-18 02:04:51 +01:00
SkUaTeR
6e5e4fa40c Fix windows visualmode (#6207)
* fix r_cons_w32_printf to avoid print \r
2016-11-17 12:04:00 +01:00
pancake
26e9c4feac Only scr.linesleep when in sandbox-free interactive 2016-11-16 03:02:50 +01:00
Álvaro Felipe Melchor
3222447eab Fix warnings when compiling in linux 2016-11-08 01:58:07 +01:00
Álvaro Felipe Melchor
00b0f8fb0e Update focus theme and fix crash when switching themes 2016-11-07 18:38:45 +01:00
pancake
61102d2643 Fix #524 - grep count (~?) returns a value 2016-11-04 04:45:35 +01:00
pancake
2e090ed750 Complete the xvilka theme 2016-11-04 04:22:43 +01:00
pancake
836c885199 Enhance the white theme 2016-11-04 04:11:21 +01:00
pancake
02d064b1d4 Add asm.capitalize option 2016-11-04 03:56:42 +01:00
Álvaro Felipe Melchor
b478d3d757 Fix #6047 - underflow in prompt 2016-10-27 19:42:55 +02:00
pancake
ffc74163b4 Fix div by zero with scr.pagesize and matrix theme 2016-10-27 04:45:39 +02:00
pancake
05bdb884a1 Ansify+update rasta and white themes 2016-10-27 04:22:09 +02:00
pancake
ae41db5a3d Fix dark theme and add new theme CGA 2016-10-27 03:55:27 +02:00
pancake
d2b2314b1b Make the lima and pink themes look as lima and pink 2016-10-27 03:09:51 +02:00
pancake
22e024d5de Implement scr.linesleep and scr.pagesize for fancier demo output 2016-10-26 23:04:55 +02:00
pancake
8b8151d12e Fix latest covs 2016-10-26 11:25:50 +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
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +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
e3e31c51c7 clean I.buffer when r_cons_push to avoid trash 2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
a5db0d9486 clean up cons grep 2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
258e12fdd8 Fix oob write when r_cons_pop 2016-10-19 02:09:14 +02:00
Álvaro Felipe Melchor
267d804741 Fix regression 2016-10-19 00:36:14 +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
1f2f3f2394 Honor varsub and relsub with asm.ucase for parse.arm 2016-10-18 01:49:32 +02:00
pancake
7023d010cc Add ios-cydia32.sh script to build radare2-arm32 cydia package 2016-10-06 15:17:13 +02:00
pancake
25107af958 Update the ogray theme 2016-10-06 03:12:43 +02:00
pancake
e2b14a50f3 Fix latest COVs 2016-09-21 11:30:29 +02:00
pancake
5a4d39b65a Fix glitches in hud avrepag stuff 2016-09-20 13:20:49 +02:00
pancake
69b70a2a94 Fix #5643 - Handle re/av-page in V_ hud mode 2016-09-20 13:14:34 +02:00
pancake
6d6a23c456 Add scr.flush and handle ^C in px/pxr/pd/.. 2016-09-20 00:11:59 +02:00
pancake
57fcc54a4d Fix #5790 - 0>> shouldnt quit the prompt 2016-09-19 17:44:22 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
dee162875d Fix big-endian bug in r_cons_yesno() 2016-09-19 01:35:36 +02:00
Maijin
13ed2131ee Cleanup TODOs [ci skip] 2016-09-19 00:02:10 +02:00
zlowram
f9b70631b2 Fixed some issues from #5718 (#5791)
* Fixed some issues from #5718

- Confirmation message for number of lines to print will not appear
anymore if the output is redirected to a file.
- "signature too small" message will be printed to stderr instead of
stdout, so will not appear on zignature file.
- Previous flagspace will be restored after running `.z` or `z/`
commands.

* Changed fprintf (stderr,... to eprintf
2016-09-18 13:28:26 +02:00
pancake
b7b46d305c Fix for tk 2016-09-14 00:22:43 +02:00
pancake
dbffaeb602 Aim to fix the missing font tag issue in scr.html 2016-09-03 18:38:12 +02:00
pancake
e16773367f Aim to fix OSX crash after last rcons change 2016-09-01 17:12:06 +02:00
pancake
0dab982923 Disable the uncolorful non-tty behaviour by default 2016-09-01 12:06:53 +02:00
pancake
697de91c86 Fix #5038 - Disable color when stdout is not in a terminal 2016-09-01 12:06:50 +02:00
Álvaro Felipe Melchor
84e871e456 Fix #5476 - fix UAF executing twice izz~:0 2016-08-28 17:36:18 +02:00
pancake
533d325cdc Speedup RCons.hud 2016-08-16 01:32:31 +02:00
Álvaro Felipe Melchor
7a3fddf46c fix crash in hud 2016-08-07 13:02:51 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Álvaro Felipe Melchor
cb0280d62a Fix crash in ec command 2016-07-13 22:31:15 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
7436ce01ee ecc [arg] - show color palete in css prefixing the CSS keys 2016-07-03 20:56:44 +02:00
Jeffrey Crowell
d9fc1ce9fc fix random color switch statement 2016-07-01 00:56:35 -04:00
pancake
ad85da85ff Fix code indentation in libr_cons 2016-06-29 12:33:31 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
Jeffrey Crowell
10b9fc1db0 rm unneeded calls to r_cons_printf 2016-06-26 00:17:16 -04:00
Jeffrey Crowell
40af6b6065 fix macro for r_cons_println 2016-06-26 00:17:16 -04:00
pancake
90d42c0418 Refactor pia/pda and implement pdaj and pda= 2016-06-25 03:36:49 +02:00
oblique
5b13a92c50 behelit theme: Better color for swi (#5080) 2016-06-04 16:51:59 +02:00
pancake
16d0396b8f Fix /A, add MJMP optype, and op.reg for UJMP 2016-05-30 00:38:35 +02:00
oblique
dc8bf4d6e8 Add 'floc' in palette's keys (#5025) 2016-05-29 00:06:12 +02:00
oblique
f4e81720b6 Add behelit theme (#5026) 2016-05-28 23:04:30 +02:00
oblique
d692aa441e lookup_rgb now looks for the extended colors only
We do this because non-extended colors usually are used by users
to change the theme of their terminal, so they will be different from
the default ones.
2016-05-28 14:58:28 +02:00
oblique
e6381db6b4 Initialize 256 color table in the correct place
Because `color_table` was initialized only in `unrgb`, `rgb` was returning
values only from `approximate_rgb`. So if we call `rgb(0x5f, 0x87, 0xff)` it
will return `75` (i.e 5fafff) instead of `69`.
2016-05-28 14:58:28 +02:00
oblique
416edaea45 ANSI 256 colors have RGB values from 0 until 5 inclusive, not 0 until 6 2016-05-28 14:58:28 +02:00
Ahmed Mohamed Abd El-MAwgood
f65e56364a Adding colors to r2 2048 (#4994) 2016-05-26 16:58:02 +02:00
Anton Kochkov
caade12229 Fix CID 1338307 2016-05-24 09:04:34 +03:00
Anton Kochkov
c9ef702fc7 Fix CID 1171363 2016-05-24 09:03:15 +03:00
Anton Kochkov
efc5a6bc23 Fix CID 1356009 2016-05-24 09:01:35 +03:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
pancake
f3e6f386bf Fix RCons.less first line not shown 2016-05-16 02:59:42 +02:00
pancake
411cad06e2 Update r2pm manpage and fix #4843 2016-05-15 23:54:47 +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
pancake
8a05a74cfb Fix #4819 - honor arrows in V! 2016-05-09 11:13:37 +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
Riccardo Schirone
3c2355ab27 cons/hud: remove duplicated code in strmatch and fix bug with spaces 2016-04-29 11:05:58 +02:00
pancake
360280a9b2 Fixes for the previous commit 2016-04-28 14:12:11 +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
pancake
d4b26eb9ec Fix #4536 - Fix background color rcons.html filter 2016-04-07 14:22:57 +02:00
pancake
7bfa3f42cf Add graph.gv variables to set custom graphviz styles 2016-03-31 02:25:54 +02:00
pancake
c724e3b1a5 Honor ec graph.{true|false|trufae} in aga for graphviz 2016-03-31 02:03:44 +02:00
pancake
cdc6fb4687 Fix parsing of rgb colors and support html 2016-03-31 01:16:19 +02:00
pancake
50513097e8 Fix XSS issue with scr.html=true 2016-03-27 05:49:30 +02:00
pancake
cf7a751fc5 Fix #4367 - Honor pds [num-bytes] 2016-03-23 01:18:27 +01:00
Riccardo Schirone
72ffe1bd0f cons/dietline: show the same number of items per line
It fixes a bug when showing options for autocompletion, where the first
row has less items than the others. With this patch every line, except
the last, should have the same number of elements.
2016-02-13 09:23:17 +01:00
pancake
63854eb4ca Fix #4048 - Fix autocomplete of macros 2016-01-29 00:32:46 +01:00
pancake
44a86928cc Fix some of the warnings in #4013 2016-01-27 03:14:19 +01:00
fenugrec
2abdee6a43 libr/cons/cons.c::palloc() : add some sanity checks:
- add bounds checking for int arg
- don't touch .buffer and .buffer_sz if malloc fails
2016-01-17 19:24:53 +01:00
pancake
3535c284e1 Handle '?' and 'u' keys in r_cons_less 2016-01-14 23:27:09 +01:00
pancake
399a1b82c9 Human-friendly registers sort in linux-x86-64 reg profile 2016-01-11 23:47:49 +01:00
pancake
fe49555c1d Fix #3944 - crash regression in dietline 2016-01-11 12:04:08 +01:00
pancake
11d5503cf8 Fix null deref in dietline 2016-01-11 00:31:07 +01:00
pancake
9dc6cfa4ea Fix #3926 - Fix color wrap for long lines in visual mode 2016-01-10 23:46:33 +01:00
skuater
6b752ce77e add ^V (paste windows clipboard) support for windows console 2016-01-10 23:05:43 +01:00
pancake
b1a9899dc1 Fixes for #3846 - agg help messages 2016-01-05 00:47:41 +01:00
Riccardo Schirone
530daf5420 cons/dietline: set right buffer.index when autocompleting
Fix #3856
2015-12-17 10:18:06 +01:00
pancake
cfb03d3772 More indentation fixes 2015-12-09 00:27:31 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
pancake
0880d7d4f5 Some refactor/cleanup for agf and io cache (wip) 2015-12-08 14:59:30 +01:00
pancake
991c39a601 More whitelisted auto-indented files 2015-12-08 13:24:21 +01:00
pancake
d24d069ade Initial work on automatic indent whitelisting 2015-12-08 12:55:29 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
skuater
61243bbc46 Fix issue in dietline.c 2015-11-13 01:29:22 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
6bc091f16f Fix some covs and the is_any() macro in anal.riscv 2015-11-05 10:34:42 +01:00
skuater
ae3edbbf1f fixed some bugs in rcons 2015-11-03 22:30:50 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
Jeffrey Crowell
20d1886a5a fix a bunch of memleaks 2015-11-01 00:47:16 -04:00
Jeffrey Crowell
04bf9bffd8 fix potential stack-buffer overflow in hud.c 2015-10-31 23:57:15 -04: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
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +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
742b4370b9 fix #3566 (third try) 2015-10-23 18:02:05 +00:00
pancake
888c05d31f Fix some recent covs 2015-10-23 12:07:07 +02:00
pancake
64ea903317 Enhancement in basic colorscheme 2015-10-23 01:54:08 +02:00
pancake
a3f0b18f04 Add basic colorscheme - windows friendly 2015-10-23 01:33:23 +02:00
sghctoma
cbd1e88f48 Fixed coding style in libr/cons/pal.c and libr/cons/rgb.c , 2015-10-22 23:38:33 +02:00
sghctoma
c30950541d Only display color charts that are appropriate for the current settings 2015-10-22 23:38:33 +02:00
sghctoma
5559f3ba7e Made the "ec" command family 24bit-aware. 2015-10-22 23:38:32 +02:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
condret
ddba3a446b add new colors-configs for new optype 2015-10-21 11:04:55 +00:00
pancake
e569417ddf Fix ~:: 2015-10-19 12:53:14 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
Riccardo Schirone
6df5031bf7 core/graph: quick fix for 1-level back-edges and self-referenced blocks 2015-10-18 15:52:34 +02:00
Riccardo Schirone
e54462343d core/graph: honor scr.color also for edges and current box 2015-10-14 00:10:17 +02:00
pancake
acdbab7e30 Fix cov in cons.grep 2015-10-03 13:54:46 +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
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
d38cd15837 Fix #3280 - visual ^z breaking mouse wheel 2015-09-13 16:11:31 +02:00
jvoisin
fbe8b6d938 Once again, clang-analyzer strikes! 2015-09-04 15:12:42 +02:00
8tab
a202b0c4cb setting default non zero values for window row and column size 2015-09-01 23:27:54 +02:00
pancake
f8d3a41fd7 Fix #3200 - Honor scr.rgbcolor in ecr command 2015-08-31 17:06:59 +02:00
Jeffrey Crowell
0a1b56f125 fix memleaks (from COV) 2015-08-31 00:42:21 -04:00
pancake
1e1b1adf2a Major enhacements for the V! visual panels 2015-08-31 05:06:01 +02:00
Riccardo Schirone
5dc9997427 cons/cons: fix issue with last line not cleared 2015-08-10 00:59:39 +02:00
Riccardo Schirone
e2482345eb cons/canvas: fix bold attributes 2015-08-09 22:17:56 +02:00
Álvaro Felipe Melchor
19c48e7edb Fix oob read in prefixline and oob write in r_cons_canvas_write 2015-08-01 00:42:30 +02:00
Jeffrey Crowell
05638b4cfe fix COV (REVERSE_NULL) 2015-07-30 23:18:28 -04:00
Riccardo Schirone
6007ca4fde cons/canvas,core/graph: fix some CIDs 2015-07-31 00:05:56 +02:00
Riccardo Schirone
a26c484db9 cons/canvas: fix w32 build 2015-07-30 15:40:15 +02:00
Riccardo Schirone
fc42e8a2a6 cons/canvas: support ansi strings
core/graph: use colored disassembly as default
2015-07-30 01:05:31 +02:00
Riccardo Schirone
46ffc1346f util/str: add some comments and fix r_str_ansi_chop
util/str: fix r_str_ansi_filter
2015-07-29 21:33:42 +02:00
Riccardo Schirone
94f303ca36 core/graph: clean code + fixes
cons/canvas_line: split style in color and symbol

In this way you can choose to apply a color and/or a symbol (t/f/v) to a
line. This patch also changes core/graph to avoid t/f symbols in the
middle of long edges.

cons/canvas_line: fix "reversed" edge

core/graph: center current node when changing function
2015-07-27 12:29:18 +02:00
Riccardo Schirone
31dfeda157 core/graph: improve edges layout 2015-07-25 13:55:31 +02:00
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
pancake
df25085ffe Add custom color support for graphs and handle VVR and VVVq 2015-07-15 15:54:20 +02:00
Riccardo Schirone
a6c23407b2 cons/cons.c: avoid printing last line
fix #2908
2015-07-14 18:06:55 +02:00
pancake
85c9e89ef8 Add non-color mode for the material webui 2015-07-10 00:44:16 +02:00
pancake
aeded4675c Fix print 0 lines issue in RCons 2015-07-07 00:21:51 +02:00
pancake
406000688d Use yellow for text in hexdump like in pd, cyan for bin 2015-07-06 01:27:43 +02:00
pancake
20a70e75a0 Add more ESIL for ARM64 2015-07-04 02:34:17 +02:00
Álvaro Felipe Melchor
daf8e5b06f Fix some infers 2015-06-28 20:15:35 +02:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
pancake
0bece627d2 Fix w32 keypad input issue on wine 2015-06-12 11:49:44 +02:00
pancake
f8b1f8e807 Fix iorap bug, disasm glitch, and comments are red now 2015-06-12 02:11:07 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
f802bdf3b1 Add afg command to print non-interactive ascii-art graph 2015-06-11 03:55:15 +02:00
Judge Dredd (key 6E23685A)
b19c9ea39e fix #2725 2015-06-09 13:34:31 +02:00
pancake
9bbaa981b6 Initial import of r2web:// io plugin 2015-06-06 03:02:35 +02:00
Riccardo Schirone
8cb35540c7 cons: use all the available space in the screen
* r_cons_get_size should return the number of rows, why is there a "-1"?
* the newline at the end of the canvas converted to string (in
  r_cons_canvas_to_string) make things shift up one line
* r_cons_canvas_write should consider "left" (which is the number of
  chars available from x until the right side of the screen) and not
  "left - 1". Moreover, since "slen" is at most the maximum number of
  characters that we can print in that row, there is no need to check
  if we can write those bytes
* r_cons_flush usually add a newline, but we shouldn't print it because
  otherwise everything will shift up by one line
2015-06-04 19:11:16 +02:00
Judge_Dredd
2acf7d4a03 arbitraty number of matches in cons/less search, refactor 2015-06-04 09:21:05 +03:00
pancake
297a620a94 Fix two covs 2015-06-03 12:34:15 +02:00