270 Commits

Author SHA1 Message Date
pancake
7d4db495eb Initial implementation of scr.rainbow for disasm and hexdump 2017-08-31 01:11:34 +02:00
alvarofe
d4ee6f6e95 Fix crash due to freeing memory not allocated
This is not the right solution though
2017-08-27 00:56:12 +02:00
Fangrui Song
4721f6760e Fix a leak on r_cons_instance.grep.str (#8324) 2017-08-26 19:46:05 +02:00
Fangrui Song
27e8ead3a5 Fix a few warnings (#8144) 2017-08-08 11:34:53 +02:00
pancake
abe9e015fa Another fix to make nonsandboxed webserver happy with html 2017-07-20 15:51:00 +02:00
pancake
3a114bee0c Fix http server without sandbox 2017-07-20 15:48:26 +02:00
pancake
b29f204049 Html filtering on string buffers to avoid sandboxing issues in the http server 2017-07-20 15:36:49 +02:00
pancake
ee6c373bfc Fix x~?? -> shows only the help, not the output of the command 2017-07-10 01:23:27 +02:00
Khairul Azhar Kasmiran
9be5c81c50 scr.breaklines: Break lines in Visual mode instead of truncating them (#7888)
* Fix #3731 - scr.breaklines: Break lines in Visual mode instead of truncating them
* Fix jk scrolling
2017-07-09 12:35:11 +02: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
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
Francesco Tamagni
c17c725ebb Fix crash in r_cons_printf_list and simplify logic (#7725) 2017-06-12 12:38:00 +02:00
pancake
f8373b46d6 More null termination in rcons 2017-05-30 11:01:33 +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
0x0dada
7327642241 Fix incorrect modes various .c files. (#7287) 2017-04-16 10:10:04 +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
pancake
d023e33790 Fix null deref in RCons.swapGround 2017-03-30 09:51:45 +02:00
SkUaTeR
542e06f656 Fix grep on windows, and json output for r2pipe on windows (#6976) 2017-03-10 12:38:41 +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
ef233e2bd5 Fix function signature casting issues 2017-01-29 23:05:02 +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
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
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
Á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
pancake
26e9c4feac Only scr.linesleep when in sandbox-free interactive 2016-11-16 03:02:50 +01:00
pancake
ffc74163b4 Fix div by zero with scr.pagesize and matrix theme 2016-10-27 04:45:39 +02:00
pancake
22e024d5de Implement scr.linesleep and scr.pagesize for fancier demo output 2016-10-26 23:04:55 +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
Á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
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