Commit graph

594 commits

Author SHA1 Message Date
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
Riccardo Schirone
757c2da65f cons/canvas_line: refactoring calls to draw_horizontal_line 2015-06-02 10:17:17 +02:00
Riccardo Schirone
2d74815b27 cons/canvas_line: remove special case x == x2 in canvas_line_square 2015-06-02 10:17:17 +02:00
Riccardo Schirone
5a8afbfd50 cons/canvas_line: extract draw_horizontal_line helper function
cons/canvas_line: extract draw_vertical_line helper function
2015-06-02 10:17:17 +02:00
Riccardo Schirone
e48a7b8dcd cons/canvas_line: use some spaces between operators 2015-06-02 10:17:17 +02:00
Riccardo Schirone
c4bfa3ec95 cons/dietline: move to next/prev word with ESCf/b and clear line with ^K 2015-06-02 10:17:17 +02:00
pancake
9699ce98fa Fix w32 build strndup -> r_str_ndup 2015-06-01 22:54:40 +02:00
Judge_Dredd
264883a097 Refactor cons highlight 2015-06-01 21:58:07 +02:00
Judge_Dredd
e38dd6689d fix search highlight in cons/less 2015-06-01 21:53:27 +02:00
Judge Dredd (key 6E23685A)
61985d3b4b less highlight bug almost fixed 2015-06-01 21:53:27 +02:00
pancake
bb151c1607 Fix two out-of-canvas node location and missing box lines issues 2015-05-31 22:27:47 +02:00
Riccardo Schirone
36a89dc370 cons/canvas: fix printing of partially visible borders of a box 2015-05-31 20:20:32 +02:00
Riccardo Schirone
ac3a153925 cons/canvas: remove useless condition because always true 2015-05-31 20:20:31 +02:00
Riccardo Schirone
632aa56bb8 r_cons_canvas_write: not stop writing when there is an empty line
some lines can seem empty because what we want to write was cropped, but
this shouldn't deny the next lines, that can be longer and so, still
visible, to be printed.
2015-05-31 20:20:31 +02:00
Riccardo Schirone
5efc92520d cons/dietline: fix move to next/previous word
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-05-30 12:23:18 +02:00
Judge_Dredd
b190fff5e2 fix for #2314 and #2312 2015-05-28 00:28:25 +02:00
pancake
d25c520a18 Add pxr and pxd in px?. Initial PoC for mouse click support 2015-05-27 23:46:41 +02:00
Jeffrey Crowell
045b22fdf1 add 'xvilka' colorscheme 2015-05-23 10:45:49 -04:00
Judge Dredd (key 6E23685A)
bdc2f2e661 fix partial color loss mentioned in #2314 2015-05-21 14:15:43 +02:00
Jeffrey Crowell
836020c374 update instructions for using theme 2015-05-14 19:24:17 -04:00
dequis
a4eb454514 dietline: Fix HOME key when used from screen/tmux 2015-05-11 12:09:26 +02:00
skuater@hotmail.com
ccfae11ebc windbg ^c support under linux+ ^c support for windows 2015-05-05 18:33:34 +02:00
Judge_Dredd
560c70c10e fix #2484, w/o breaking line count 2015-05-04 09:53:37 +02:00
pancake
2c28fb56f8 Handle arrow escape codes for Haiku/BeOS (by capi_x) 2015-04-25 04:06:14 +02:00
Judge Dredd (key 6E23685A)
3e1ca77491 less / search now supports highlighting multiple matches (up to 10) on the same line 2015-04-22 11:12:18 +02:00
pancake
63f0dc8e3f Implement more utf8 terminal check, handle jbe in asm.pseudo 2015-04-20 15:27:05 +02:00
pancake
070836b326 Honor SIGSTOP without breaking ^Z 2015-04-20 01:05:22 +02:00
pancake
0342ce3fe0 Fix r2 -q0 2015-04-16 04:06:02 +02:00
Judge Dredd (key 6E23685A)
60f09a5ebc fix possible memleak in cons less 2015-04-13 12:12:25 +02:00
Jeffrey Crowell
7a9ac6ae54 coverifix! 2015-04-13 00:43:42 -04:00
pancake
e56d7b1410 Handle = as separator in the internal grep 2015-04-13 02:07:52 +02:00
Judge_Dredd
0ce2c0033c cons less chop lines to terminal width 2015-04-12 16:12:02 +02:00