Commit graph

594 commits

Author SHA1 Message Date
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
XVilka
94a7ca141c 256 colors support in cygwin 2015-01-26 21:41:57 +03:00
XVilka
80d016e0ed Fix a typo in the previous commit 2015-01-26 20:01:48 +03:00
XVilka
2558a42cf3 Fix cygwin 32/64 builds and visual mode 2015-01-26 19:55:12 +03:00
pancake
dfa6644b83 Fix scr.html nested <font> issue 2015-01-26 03:43:57 +01:00
NighterMan
9127695627 Add r_cons singleton refcount to fix history bug 2015-01-22 02:24:24 +01:00
pancake
e1f8bce721 Add matrix theme 2015-01-20 02:11:53 +01:00
pancake
21093b2f2d Fix graph text node align issue for negative X deltas 2015-01-19 23:06:43 +01:00
pancake
1ccd0e3b67 Fix #1938 - Workaround for cg /dev/urandom crash 2015-01-17 01:21:43 +01:00
jvoisin
ce9ece1177 Coverifix++ 2015-01-16 00:56:54 +01:00
skuater
9b4044046e Handle arrow and page up/down keys on W32 2015-01-14 23:31:29 +01:00
jvoisin
4fd6ce62d5 Fix some gcc warnings 2015-01-13 02:07:44 +01:00
pancake
fb45861275 Support RGB colors in scr.html 2015-01-13 01:22:33 +01:00
pancake
2b493cdbc6 Fix row-by-one on w32 cmd.exe 2015-01-12 16:31:12 +01:00
pancake
45a1eb5ca0 Implement w32 terminal size detection (fails on wine, untested on cmd.exe) 2015-01-12 16:06:11 +01:00
pancake
377ec87272 Fix two null deref in RConsCanvas and another left border glitch 2015-01-11 02:54:27 +01:00
pancake
c042bcd789 Fix infinite loop in rcons.canvas 2015-01-11 02:34:28 +01:00
pancake
d713debdfc Fix left and top border issues with canvas text (nicer graphs) 2015-01-11 02:28:59 +01:00
pancake
790ce09483 Fix right border graph canvas glitch 2015-01-10 04:21:10 +01:00
pancake
6ee5b5003c Fix RCons crash on w32 (thanks Skuater for pointing out!) 2015-01-09 16:03:42 +01:00
pancake
7aa5ae27c5 Fix w32 console line limit issue, some fixes for wine console 2015-01-09 12:47:40 +01:00
pancake
c7e1fad6bc Add Vn (mini-ascii-art graph visual mode) 2015-01-09 11:39:25 +01:00
Alvaro Muñoz
e1f2b73066 fixed colors 2015-01-08 23:37:48 +01:00
Julien Nabet
164bbc7333 Some cppcheck reports fixed:
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
pancake
cace7101e5 Fix warnings in RCons and update sdb 2014-12-14 01:56:55 +01:00
Alvaro Muñoz
db09c38b9d Improve colors in webui and fix ans256 to rgb
- added fname and fdelimiters in disasm views
- fix r2 ansi256 to rgb conversion
- clean color string, no leading whitespaces, trash anything after color
2014-12-10 21:47:46 +01:00
Alvaro Muñoz
dc5da0898b Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes 2014-12-08 23:48:42 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
20925abb7f Fix all latest COVs and avoid use of tabs in i 2014-12-03 13:15:07 +01:00
pancake
123c9a87d0 Fix echo | r2 - infinite loop 2014-12-03 02:52:56 +01:00
Judge_Dredd
d4164af4ce fix history up/down bug (issue #1751) 2014-11-28 13:07:45 +01:00
pancake
f9fa0e5536 Fix ^C issue with nullcmd repeat issue (reported by @jfrankowski) 2014-11-24 03:10:29 +01:00
pancake
4762795c87 Fix static build 2014-11-23 11:03:24 +01:00
pancake
af94293214 Fix static linkage 2014-11-22 02:26:30 +01:00
pancake
23776435a2 Fix #1714 - Add ~{} and ~{}.. RCons filters for JSON indentation 2014-11-22 01:51:51 +01:00
pancake
f37246d3d8 Fix reverse RGB parser (fixes ecj issues) 2014-11-21 14:43:14 +01:00
Anton Kochkov
bede18046e Fix win32 build on CI 2014-11-20 16:52:33 +03:00
pancake
e86e3747d7 Handle emacs keys ^f and ^b in dietline too 2014-11-20 02:11:00 +01:00
pancake
4e2f55d374 Implement emacs keybindings for Visual mode (thanks jonatanhal) 2014-11-20 01:40:33 +01:00
pancake
68f9d00e01 Implement 'ecj' to show color configuration in JSON 2014-11-19 23:23:35 +01:00
pancake
5e236429c7 Implement ^Z in RCons for prompt and visual modes (unix only) 2014-11-19 22:25:17 +01:00
pancake
417cab4f93 Some more fixes for the disasm 2014-11-13 03:59:51 +01:00
pancake
6d4529ffbf Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right 2014-11-13 03:36:48 +01:00
pancake
954ee2d607 Fix #1563 - Display bug on izz | more and izz |less 2014-11-10 05:39:17 +01:00
Henrik Nordstrom
5c5114c542 cons: Simplify buffer management slightly in r_cons_printf
there is no need to check twice if the buffer is full.

In additition the first check (deleted) has an off by one error.
2014-11-03 02:25:22 +01:00
pancake
211688f537 Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
- Add scr.echo
2014-10-30 22:58:51 +01:00
pancake
b91d1d9eca Fix #1556 - radiff2 -x dump issue 2014-10-28 11:54:58 +01:00
pancake
8c49c1f10d Add palete colors for address info numbers in pxw/pxq 2014-10-27 11:55:52 +01:00
pancake
8b7d4b033c Add smyck theme 2014-10-21 00:08:43 +02:00
pancake
bd14b08ba0 Add zenburn theme 2014-10-17 15:23:05 +02:00
pancake
757ae729c6 Added 'twilight' theme 2014-10-17 10:20:08 +02:00
pancake
859daf9a5b Add consonance and tango themes. Add asm.flaginbytes
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00
pancake
49e4abc2ca Add solarized theme 2014-10-15 23:35:51 +02:00
pancake
2ac80c7c6a Add chunked search /+ and enhace visual mode |=
* | sets cmd.cprompt
* = sets cmd.vprompt
* var names are a bit confusing, we should find better names
* Better highlight
* Fixed column in visual
* scr.colpos has been deprecated, now uses hex.cols
* Initial implementation of a chunked search /+
2014-10-06 02:36:22 +02:00
pancake
4249664dd4 Fix block cursor problems and temporal cursor seek in visual+prompt 2014-10-01 19:00:06 +02:00
pancake
e3ef5f652c Fix scr.highlight on !OSX 2014-09-28 03:53:59 +02:00
pancake
9496ed2e05 More highlight fixes 2014-09-27 04:05:27 +02:00
pancake
7d8159a2e1 Fix crash in RCons.highlight 2014-09-27 03:51:04 +02:00
pancake
cde83cfd0c Add many experimental enhancements for the visual debugger
- V@ is an alias to set cmd.vprompt
- New config variables!
  stack.size = size of stack displayed in Vpp
  stack.delta = substract that delta to the stack address
  stack.anotated = use pxa instead of pxw
  scr.highlight = word to highlight by RCons
  hex.flagsz = override flag size in pxa
- Fix x86 udis anal plugin size of invalid instructions
- Fix 'hud file not found' issue
- Add 'Vdh' to set scr.highlight
- Fix V: wheel scroll issue
- Realign pxa marks if addr > UT32_MAX
- Set hex.flagsz = 9999 to cover the whole area instead of just 1 byte
2014-09-27 03:48:54 +02:00
pancake
a18f7819d9 Fix the support for 0x0 sized terminals (adb shell) 2014-09-24 03:17:43 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
condret
effa16c871 add new color-profile: focus 2014-09-17 01:52:30 +02:00
deeso
c185ca44c8 Fixed a bug that did not correctly restart va_* after reallocating the r_cons_instance's data buffer for printing 2014-09-13 21:26:40 -05:00
pancake
7129805cb8 Avoid negative console resolutions 2014-09-14 01:07:15 +02:00
pancake
e39d407f79 Fix infinite loop when debugging r2 from lldb 2014-09-10 01:40:43 +02:00
pancake
212d15803c Fix crash in VVV 2014-09-08 17:10:53 +02:00
pancake
27650d1f42 Fix more color issues in pxa 2014-09-08 02:08:38 +02:00
pancake
be66c5149d Fix segfault in pxa palette and avoid empty lines 2014-09-08 01:59:28 +02:00
pancake
dee8c27502 Do not use ttyname() - not portable 2014-09-08 01:39:21 +02:00
pancake
071578cb80 Fix 'pxa' disco-mode problems 2014-09-08 01:33:50 +02:00
pancake
8ad662fa1a Fix oob read in RCons.flush() 2014-09-06 11:39:16 +02:00
pancake
0e5a82e10e Add newline to stderr if no one in last line inside RCons.flush 2014-09-06 00:24:03 +02:00
pancake
5150cc8684 Finally fix the wheel issues? 2014-09-04 23:52:05 +02:00
pancake
5e19db1748 Use write instead of eprintf for RCons.{cup|mouse} 2014-09-04 22:57:10 +02:00
pancake
62ffd3dc8d Fix invalid input in prompt because of the utf8 terminal check 2014-09-04 22:55:57 +02:00
pancake
15aaf3cfc5 Fix the scr.wheel thing again. Waiting for maijin feedback 2014-09-04 11:06:41 +02:00
pancake
f998e2f235 Fix crash in autocompletion #1270 2014-08-31 19:14:36 +02:00
pancake
0a9163811f Fix overflow in RCons 2014-08-31 17:59:28 +02:00
jvoisin
75a37c469e Improves the 2048 implementation
The patch is from bla, from smashthestack.
2014-08-30 20:06:09 +02:00
pancake
7569b18527 Fix integer overflow issue in RCons (reduces memory usage too) 2014-08-30 01:11:04 +02:00
pancake
4abf72b101 Fix #1245 ? i cant reproduce it so.. im blindy guessing 2014-08-28 22:44:42 +02:00
pancake
39418f681c Fix #1254 - Make 2048 happy with arrows 2014-08-27 21:49:31 +02:00
pancake
2eefd8908e Add r_cons_is_utf8 () and use it to setup scr.utf8 on non-quiet mode 2014-08-25 03:26:02 +02:00
Anton Kochkov
ebe5d29307 Fix format string warning on Windows/Mingw32 2014-08-19 16:13:07 +04:00
jvoisin
9b99c0135d Even more coverifix 2014-08-18 15:03:02 +02:00
pancake
b12858bdd9 Oops in r2 -0 2014-08-17 17:23:48 +02:00
pancake
a661d916e4 Add r2 -0 to make interactive pipe handling nicer 2014-08-17 02:54:10 +02:00
jvoisin
d11aba0b0f Fix some minor coverity issues 2014-08-04 19:25:23 +02:00
jvoisin
5cbbbcf327 Fix some coverity issues in rgb.c 2014-08-04 19:07:49 +02:00
pancake
29c3e1ba7a Fix more CIDs assigned to me 2014-08-01 12:07:08 +02:00
pancake
85277d7f0c Fix an overflow and another glitch in ascii graphs 2014-08-01 01:09:05 +02:00
pancake
3fc1e58bc3 Fix oob glitch in ascii art graph 2014-08-01 00:54:04 +02:00
pancake
10daa78aeb Fix regression in grep$ introduced in d1aaa61c58 2014-07-17 04:45:32 +02:00
pancake
0969d86a5d Better color palete for help message 2014-07-16 20:20:19 +02:00
pancake
2719a78290 Support make install & make symstall with DESTDIR or PREFIX with spaces 2014-07-10 01:13:04 +02:00
pancake
8411034b4e Handle HOME/END keys in VTE 2014-06-25 17:32:36 +02:00
Anton Kochkov
1f05d9e5dc Fix libr_cons building on cygwin 2014-06-25 16:52:01 +04:00
pancake
4e614b25b8 Fix new palete entries for the help colors 2014-06-24 01:09:55 +02:00
jvoisin
3d3e1b900f Set a specific color for help msg 2014-06-21 18:00:11 +02:00
pancake
03f444ae55 Fix ogray theme and add /R help 2014-06-16 01:12:52 +02:00
pancake
db05de4513 Add orange-gray theme (ogray). Move doc/r2theme to shlr/www/enyo/colors 2014-06-14 03:53:35 +02:00
jvoisin
ec5e9ad183 Fix a stupid typo 2014-06-09 12:36:39 +02:00
jvoisin
07cf636929 Fix CID 1135107 2014-06-08 00:56:22 +02:00
pancake
315e8866e1 Add 'creg' color palete to colorize changed registers in 'drd' 2014-06-04 17:23:58 +02:00
Maijin
4f13bad9c1 Sorting 2014-05-27 13:35:15 +02:00
Maijin
aa2469e8f4 Updating dark theme 2014-05-27 13:24:15 +02:00
pancake
afc6afecef Add rasta color theme: 'ecf rasta' 2014-05-27 02:42:03 +02:00
pancake
ca18aedb94 Add Capstone SystemZ and SPARC disassembler and analysis plugins 2014-05-17 02:53:37 +02:00
pancake
1ce6e7c45b Add rahash2 -d and -D to encode/decode base64 strings and files 2014-05-16 14:34:36 +02:00
pancake
45c41d4582 Handle 'mov' color in RCons.pal 2014-05-16 04:07:03 +02:00
pancake
583be01f32 Handle ^C in /p 2014-05-14 23:24:46 +02:00
pancake
728dd81352 Add objc.pl to import ObjC class info into r2, enhace arm.cs and more
- Fix @@ flagname*
- Fix precision bug in r_num_units()
- Better ARM Thumb code analysis (still pretty basic)
2014-05-14 03:53:22 +02:00
jvoisin
a2ce9e11dc Fix CID 1213704 2014-05-11 15:17:32 +02:00
jvoisin
4205a95abf Fix CID 1135033 2014-05-11 13:01:23 +02:00
jvoisin
c6729cb640 Fix CID 1211146 2014-05-10 23:06:15 +02:00
jvoisin
d3ed221493 Fix CID 1134702 2014-05-10 23:03:07 +02:00
pancake
ee276298b2 Fix memleaks in radiff2, segfaults in 8051 and aagraph 2014-05-09 03:06:05 +02:00
pancake
201231a7a5 Fix remaining segfault in RCons.canvas, still trashy output 2014-05-08 02:58:20 +02:00
pancake
7fa79a3f36 Fix some RCons.canvas bugs 2014-05-08 02:26:42 +02:00
Anton Kochkov
308209d534 Fix CID 1211147; 2014-05-06 01:28:57 +04:00
jvoisin
f45d500dbf Fix CID 1211144 2014-05-05 17:51:18 +02:00
pancake
4cce57c2bf Fix build and some warnings from rap_server 2014-05-05 14:38:47 +02:00
pancake
f9256d83de Add initial ascii-art graph layout and implement RCons.resize() api 2014-05-05 03:15:28 +02:00
jvoisin
fb56c8035b Fix CID 1135032 2014-05-04 15:46:41 +02:00
pancake
4c6b817f59 Fix segfault in RConsCanvas (aa-graph crash) 2014-05-03 03:37:04 +02:00
jvoisin
6538010f9d Fix CID 1134836 2014-05-01 00:58:37 +02:00
jvoisin
8259710a24 Fix CID 1134504 2014-05-01 00:54:48 +02:00
Anton Kochkov
c59632fbef Fix CID 1171363 2014-04-30 02:55:07 +04:00
pancake
7028b225bd Added 'VV' command to run the visual graph mode 2014-04-29 03:54:20 +02:00
pancake
430ddcc100 Add cons/t/graph PoC and extend RConsCanvas api 2014-04-29 01:55:10 +02:00
Anton Kochkov
68282b219e Fix CID #1134983 2014-04-24 01:35:26 +04:00
Anton Kochkov
d05bbb4be2 Fix CID #1134729 2014-04-23 02:18:53 +04:00
pancake
b4d10aa2db Fix #753 - Fix crash in sC (null deref coz invalid sdb key name) 2014-04-02 18:07:47 +02:00
pancake
9e08e07b7b Fix build, remove useless debug printfs 2014-03-31 16:39:16 +02:00
pancake
f288cb811b Better r2048, more random refactoring for anal sdbization 2014-03-31 04:42:55 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
pancake
b1b02fba8e Fix linkage of RCoreJava plugin 2014-03-18 00:55:26 +01:00
pancake
c260d37f39 Fix infinite parsing when loading MACH0 files
- Reenable some mouse enabled ansi sequences
2014-03-16 00:16:40 +01:00
pancake
a3c7044047 Fix #699 - mouse control chars in stderr 2014-03-12 03:32:50 +01:00
pancake
d27776c408 Fix infinite loop in ~. 2014-03-10 14:19:29 +01:00
pancake
b9d7533137 Fix overflow in r_socket_http_get 2014-03-10 00:55:57 +01:00
pancake
b24ce172fa Handle <enter> and fix 'k' in RCons.less 2014-03-09 21:38:37 +01:00
pancake
a1902426e6 RCons.clear_line() now can clear stderr line too 2014-03-08 02:56:04 +01:00
pancake
f5b14d2616 Fix another #642 thingie : listen disabled in sandbox
- Fix a bug in RSocket API
2014-03-03 02:01:40 +01:00
pancake
d55212a17a Fixes for p= and add 'fm' to move flags 2014-03-02 05:41:45 +01:00
pancake
21f91c0b46 Add pxa in VP. Fix segfault in sandbox comments 2014-03-02 02:08:16 +01:00
pancake
9ec418ec37 Fix rap:// and enhace RConsMouseWheel support 2014-03-02 00:31:35 +01:00
LemonBoy
3ebeddaf9b Add mouse wheel support in visual mode. #610 2014-02-28 02:50:24 +01:00
pancake
2590e997b1 Fix r_sys_now() and implement scr.fps 2014-02-24 16:10:12 +01:00
pancake
ec5e023eae Fix #653 - Fix segfault in r_core_cmd_subst_i 2014-02-24 00:38:53 +01:00
pancake
9b9b04576f Purge all r_lib references 2014-02-20 22:16:23 +01:00
pancake
4eb57a0080 Implement r_cons_less() activated with ~.. suffix 2014-02-11 02:32:37 +01:00
pancake
177f20acf2 Fix #207 - Chop last newline in ^x^e 2014-02-10 16:11:08 +01:00
jvoisin
e6dfa898d1 Coverifix: overflows and uninitialized vars 2014-02-05 11:52:35 +01:00
pancake
c56bb2cd29 Fix #530 2014-01-12 01:34:11 +01:00
Maijin
86d524a7f0 Resource leaks fixes CID 1134963 2014-01-22 00:05:51 +01:00
pancake
8fd105b721 Redesign scr.{fix_}{columns|rows} 2014-01-09 00:29:00 +01:00
pancake
008cae68cd Implement scr.null in RCons 2014-01-08 23:44:05 +01:00
David Martínez Moreno
cedef51ce4 Fix a round of typos and incorrect man macros.
The macro Em. was present in all the manpages and it's incorrect, plus
 there's some typos here and there, some of them spotted by lintian.
2013-12-31 23:52:46 -08:00
pancake
dba63fbd3c Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
pancake
5223c0f578 Fix infinite loop stdin issue on EOF 2013-12-28 00:30:09 +01:00
pancake
4bc74d0fb4 Fix 'cg' RCore's double-free issue 2013-12-09 05:23:06 +01:00
pancake
f0a45a556a Fix ^w segfault and many bugfixes for macro scripting 2013-11-30 02:47:29 +01:00
pancake
4c86f43a14 Fixes in tcp connect return value and implement 2> pipes 2013-11-29 17:28:36 +01:00
pancake
041e336dcd Fix #388 - yank length field segfault 2013-11-28 10:45:08 +01:00
pancake
ceac926eb0 Fix #379 - RCons fill empty lines is wrong on utf8 2013-11-23 03:47:22 +01:00
pancake
26ad833f89 Fix Visual mode under lldb 2013-11-23 01:49:21 +01:00
pancake
6e42961f27 Add pink colorscheme 2013-11-12 04:45:39 +01:00
pancake
ec9b04e758 Fix #319 - Fix recursive loading the same script 2013-11-09 03:25:43 +01:00
pancake
aa088cc341 Implement ansi gotoxy for w32 RCons output 2013-11-05 04:14:07 +01:00
jvoisin
d1aaa61c58 Minor optimisation of grep.c 2013-10-24 00:08:28 +02:00
pancake
3e9f2f98d8 New wip command: 'pxa' stands for anonated hexdump 2013-10-15 03:56:01 +02:00
pancake
a5844a241f Add r_cons_color_random() and handle 'random' as color 2013-10-14 23:48:18 +02:00
pancake
32816c4669 Rewrite the code flow analysis logic 2013-10-08 04:58:51 +02:00
pancake
ab654dea32 Fixes in analysis, add 'R' in visual to randomize colors 2013-09-30 04:23:58 +02:00
pancake
722659005d Better brainfuck and arm64 support. Fix some bugs
- Fix infinite loop bug in dietline using quoted commands
- Update brainfuck disassembler and analyzer
- Fix #232 - r2 error on corkami's standard.elf (missing strtab)
- Honor 'other' color palete
- Fix bug in disasm.c filtering flag replacements
- Removed '#' prefix for numeric arguments in aarch64 disasembler
- Fix infinite loop in '">"' command
2013-09-30 01:14:04 +02:00
pancake
5781931227 Add test-r_dehug example and minor bindings update 2013-09-27 01:38:49 +02:00
pancake
02a0e2bed0 Implement 'cat', 'cd' and 'ls' commands. Better version info in ?V 2013-09-18 22:16:18 +02:00
pancake
354bd7cbaa Apply modified patch of @jjdredd to handle ^x^e to run editor from rline 2013-09-18 17:24:43 +02:00
pancake
92bdbf0c0a Add scr.fgets and fix rax2 -s for emscripten 2013-09-16 04:08:08 +02:00
pancake
cc5122e3bd Working emscripten build 2013-09-07 01:35:11 +02:00
pancake
1168998743 Add scr.heightfix 2013-08-29 05:42:50 +02:00
pancake
e25567cb09 Implement .-. Fixes for cfg.editor and handle RCons.editor() 2013-09-04 00:35:48 +02:00
pancake
302328a76c Fix #203 - Call to a section + some more work on utf8 2013-09-03 22:45:43 +02:00
pancake
a46eb958e7 Initial implementation of the wip multiline text editor 2013-08-28 03:06:10 +02:00
Riccardo Schirone
46ca68bfc3 Fix autocompletion issue.
The issue will prompt wrong autocompletion prompt.
Fix prompt only the minimum common string from available
autocompletion strings.
2013-08-27 01:14:58 +04:00
pancake
472a9014fd Disable utf8 on w32 console, refix visual 'C' toggle-color key
- Update sdb and make rules.mk less strict
2013-08-26 03:17:29 +02:00
pancake
9850c0a3c3 Fix some warns and enhace GIT_TAP in makefiles 2013-08-26 01:07:21 +02:00
pancake
d636d730a1 Add r_cons_canvas api and fix #192(pK output) 2013-08-26 00:51:36 +02:00
pancake
b20f4028a9 Fix #190 - Ctrl+L doesn't work well 2013-08-25 23:27:57 +02:00
pancake
7d12a1a2ce Fix #177 - Tab-completion chomps previous text
- Optimize autocompletion by not using the heap
2013-08-25 01:22:46 +02:00
pancake
03e3b81a7d Fix off-by-one read in r_cons_memcat 2013-08-17 16:43:27 +02:00
pancake
2bfd8792e4 Fix cons_raw state after yesno() 2013-07-24 09:00:10 +02:00
pancake
19314bc27f Better comments in disasm, fix io->size = 0 regression 2013-07-18 23:00:38 +02:00
pancake
670bb111d8 Add 'floc' and 'invalid' color palettes, Vdr renames locals
Vdr now support renaming local function labels
Do not colorize lines when scr.color=0
2013-07-17 23:06:06 +02:00
pancake
fd075de90a Add 16bit dithering for 256/16M rgb console + fixes
Add scr.rgbcolor to disable 16bit ansi escapes
Disabled by default on windows
Implement ansi to rgb and rgb to ansi conversors
Implement 256 color to rgb bruteforcer
ec: renamed to ecr
Fixes for the VE menu
Drop --enable-devel flag from r2-bindings/README
2013-07-17 22:12:14 +02:00
pancake
be46b9da31 Initial support for truecolor (xterm only)
Add e scr.truecolor variable
Add !! command to save history
Add ec: command to randomize palette
Minor rgb trash fix,
2013-07-17 19:34:27 +02:00
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00
Anton Kochkov
00c3c70f3b Implement functions flow lines colorization 2013-07-17 00:38:02 +04:00
pancake
dc8e37f420 Update sdb, simplify some makefiles 2013-07-15 02:51:55 +02:00
pancake
6cadbbcd40 Allow to force screen size, more work on r2wui
Add scr.columns, scr.rows eval vars to force screen size
Fix rightpanel menu glitch in r2wui
Add calculator in assembler panel
Fix open-rightpanel button in main panel
2013-07-05 01:45:45 +02:00
pancake
b8f7138092 New palette in disasm, fixed 'fs*', better scr.colorops
Fix 'make w32'
Some more enhacements on the webui
New palette. im open to suggestions
Fixes in the scr.colorops parsing
Fix 'fs*' command
Analop now sets Type.ILL if invalid
2013-07-04 03:34:28 +02:00
pancake
2992f7c951 Add cfg.colorops and 'reg'+'num' palete elements in r_cons 2013-07-03 17:43:20 +02:00
Anton Kochkov
0711e60667 local labels inside functions - initial support 2013-06-29 10:21:15 +04:00
pancake
0fb4c674d4 Create xdg directory before trying to use it 2013-06-27 19:21:25 +02:00
pancake
9e18ba2b7e Various fixes in cons/rgb 2013-06-27 02:19:40 +02:00
Anton Kochkov
83b40a7b4e Added cjmp, fname and flow color categories 2013-06-17 09:42:46 +04:00
pancake
ef781cbadd New flag rasm2 -c CPU. pointer hints, fix analysis of x86-16 jmps
Add ahp (pointer hints)
Add rasm2 -c flag to select cpu (wip for arm)
rasm2 -e toggles instead of setting
Fix analysis of absolute jumps in x86-16
Push and pops are now magenta \o/
2013-06-17 03:26:48 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
pancake
3ba48ac9ad More color theme fixes and categories (math, bin, other) 2013-05-23 12:37:40 +02:00
pancake
ecc45d8d53 More fixes in 'ec' and 'ecs' commands for color palette 2013-05-23 03:03:40 +02:00
pancake
e5cdab6d20 Fully configurable console palette for disassembly, hexdump and prompt
- Fix overflow in r_cons
2013-05-23 02:26:48 +02:00
pancake
d31a0333d4 Remove unnecessary r_db dependency for r_cons 2013-05-22 16:15:56 +02:00
pancake
9d65bfe70c Initial r_cons palette support. See 'ec' command 2013-05-22 04:22:49 +02:00
pancake
8c5a6d68ff Handle fcn in r_parse, unify filter() and add locdiff utility 2013-05-22 01:49:18 +02:00
Shane Peelar
24ccb7aabb Fixed compilation problems on Windows with MinGW-w64 4.8 2013-05-02 10:17:59 +02:00
pancake
02259615a3 Fix issue in r_cons_grep() 2013-04-27 01:50:46 +02:00
pancake
542de1b426 Avoid dup load of DEX, reduce calls to r_meta_cleanup
- Nicer output for command 'fd'
- Cache methods to avoi dup loading
- Fix delimiter in internal grep (allow '/')
- Faster r_meta processing (reduce calls to meta_cleanup
2013-04-05 02:55:47 +02:00
pancake
5c1cd1f0ef Initial support for UTF8 in r_cons and r_util 2013-04-04 01:42:12 +02:00
pancake
ba7c3b8896 Various fixes in visual tracks and handle window resize
Make Ve run callbacks when values are modified
Visual refresh on window resize
Use r_cons_visual_flush() in vmenus
Add workaround for Prompt iOS client (scr.widthfix)
2013-04-01 05:28:34 +02:00
pancake
99040c9ad7 Initial import of r_cons_rgb API (ansi 256 color) 2013-04-01 04:42:14 +02:00
pancake
8846cb79cf Pass t/test.arm, new cmd !123 to run historic command
Fix all opcode constructions listed in t/test.arm
Add 'hlt' opcode for arm.
Minor changes in arm disassembly output
Typing !#number you re-run the command in !history
!history is now listed (! is an alias)
Added API to access history from dietline
2013-03-14 02:32:53 +01:00
pancake
dc7289e1f3 Fix rabin2 -O help, rahash2 -a all -s, add filter input
Added input filter in r_cons/dietline to avoid trashy chars
rahash2 -s now works with multiple -a
2013-03-10 14:27:01 +01:00
pancake
3a0fdd6a24 Fix #55 and add Cj to list metadata in json format 2013-03-01 12:20:18 +01:00
pancake
bab19e4164 Implement colorbar in webui, rename p% to pv 2013-02-10 03:18:20 +01:00
Sebastián Guerrero
98da9c80f5 Fix some bugs reported by scan-build 2013-01-25 02:03:57 +01:00
pancake
9b1df62609 Fix mmap and other minor issues on w32 2013-01-23 18:38:08 +01:00
pancake
fc9301b14b Add hints and named print formats and more
Initial implementation of anal hints (ah?)
Use anal hints in core/disasm. Needs more work
New data structure StrHT (string hashtable)
Simplify core/libs.c with cpp macros
Added r_cons_color() wip function for ansi256 consoles
RPrint no longer depends on r_cons
Sort 'a?' help commands
Add support for named print formats with pf$ command
Add support for 64 bit string pointers in 'pf' ('S')
Add r_print_mute and r_print_format_length functions
Bump r2 nodejs bindings version number
Merge r_print into r_util
2013-01-22 05:06:12 +01:00
pancake
582ec87f29 Add missing index.html, fixes on the iOS app 2012-12-31 16:12:42 +01:00
pancake
0d04880367 Add support for small push in x86.nz assembler
Better Visual Assembler and help ('?' show help)
2012-12-22 04:28:19 +01:00
pancake
4d22fcb806 Implement VA (Visual Assemlber), readline with callback and chs
r_cons_readline now have a callback api
r_num_chs() to convert from disk CHS to real address.
2012-12-22 02:37:01 +01:00
pancake
e367b93e93 Fix visual mode flickering issue 2012-11-30 16:12:54 +01:00
pancake
3a93f8bbbd Fix prompt history issues reported in #34 2012-11-20 12:32:19 +01:00
pancake
6dadd63c4b Ad od scr.col and cjange more settings
Fix parsing of segmented addresses
Move hud to shlr/hud
Add r_cons_print_clear () for delayed 'clearscreens'
Add blankline option to RCons
Add scr.segoff to show prompt as segmented or not
Add scr.colpos to choose the position of cmd.cprompt
Deprecate old flags code
2012-11-14 03:25:32 +01:00
pancake
e09cf7621e Add scr.pipecolor config variable (false by default) 2012-11-13 11:42:21 +01:00
pancake
b252b34358 Some initial work to support emscripten 2012-11-12 17:13:01 +01:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
3540924f40 Better paralelization of build system 2012-10-04 01:20:00 +02:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
4ffdaeb04f Fix warnings and refactor 'p' subcommands (pw -> pxw ..) 2012-09-27 19:35:19 +02:00
pancake
5f08a38ad9 Implement dynamic graph for the embedded web UI 2012-09-21 03:05:00 +02:00
pancake
9f92f9aece Fix many null pointer deref when passing trashed data
Added 'pa' command to print assembled instructions
2012-09-18 03:39:32 +02:00
pancake
6d66f627b3 Fix bug in r_file_mkstemp
Use /data/local/tmp as default TMPDIR for android
Fix segfault in http server shutdown
Fix http.browser for android
2012-09-06 12:47:32 +02:00
pancake
e2af4c93d4 Added htmlgraph.sh as a cmd.graph html5 graph backend
Many fixes for agv, rcons->html
2012-09-05 03:25:03 +02:00
pancake
cd30c0c0e4 Various little bugs fixed and pz/pZ renaming
Fix r_core_system pipes after scr.interaction
Fix 'ao N' (parse argument)
Fix segfault in p= N >blocksize
Split BBs in pdr with '--'
Add help for ps?
Do not show invalid rahash2 -a entropy at the end of p=e
pz is now psz
pZ is now pz
2012-08-29 17:24:30 +02:00
pancake
476e3b0082 Fix consgrep segfault and do changes in print cmd
Add python print buffer (pcp)
Use psw instead of pS for wide strings
Add dir.types config variable
Fix segfault in RConsGrep
2012-08-28 17:50:49 +02:00
pancake
f9795e03f9 Force proper deinit in r2.Helpful to find memleaks 2012-08-13 14:14:23 +02:00
pancake
c86e1c430f Lot of bugfixes for io and test suite
Anonymous macros are working again
Broken analysis functions are added too
Do not pipe to stderr
Fix parsing of comments and quoted commands
Fix oneliners
Add 'pz' (print ascii until zero) command
Show hits counter with searchhits
Fix IO when no maps and sections used
2012-08-13 13:16:06 +02:00
pancake
f65abc5e34 Add support for multiple cons grep attributes
Implement ~& attribute to match all words
Add ~?? to show help of grep
Fix buffer overflow in cons grep
Chop RLine buffer when > console columns
2012-08-09 18:19:00 +02:00