Commit graph

420 commits

Author SHA1 Message Date
pancake
d6974f7081 Fix #3829 - Fix V;- glitch 2015-12-22 23:09:23 +01:00
pancake
a991e008d1 Fix Vk scrolling in hexdump view 2015-12-18 19:53:54 +01:00
Maijin
712855a210 Add help for f4 key in Visual mode
Add help for f4 key in Visual mode
2015-12-16 20:42:21 +01:00
Maijin
5ec0a6e537 Add f4 dcu to cursor fix #249
Add f4 dcu to cursor fix #249
2015-12-16 20:35:45 +01:00
Maijin
af10e7fc79 Add seek history for "." in Visual mode
Add seek history for "." in Visual mode
2015-12-16 19:58:54 +01:00
pancake
2f9623786f More fixes for the folded functions in disasm 2015-12-15 00:37:33 +01:00
pancake
db5a76f8b3 Initial support for fold/unfold functions with afF and Vz 2015-12-14 10:19:07 +01:00
pancake
e0ce78f08c Fix double reglisting in linux-arm 2015-11-25 12:49:02 +01:00
Álvaro Felipe Melchor
d8b269f11f Fix last covs 2015-11-24 21:53:25 +01:00
pancake
2ff40ad4d4 Some minor refactoring in visual 2015-11-23 17:09:46 +01:00
pancake
a211cf28ba Some missing sr sp -> sr SP 2015-11-23 16:31:31 +01:00
pancake
0b383eba98 VS step overs also on esil 2015-11-23 16:24:36 +01:00
pancake
cab871f3e6 Fix #650 - asm.bbline - blankline on every basic block 2015-11-23 01:40:35 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
Álvaro Felipe Melchor
2612fcd197 Remove unnecessary r_core_seek because of 0f94d1c 2015-11-19 23:05:09 +01:00
pancake
0f94d1c562 Fix #3710 - cursor+enter in call 2015-11-19 12:23:10 +01:00
Jeffrey Crowell
7f903ce589 s/commant/comment 2015-11-18 17:32:18 -05:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
pancake
30b1fcc208 Initial implementation of the V, comma-ents stuff 2015-11-18 13:03:35 +01:00
Álvaro Felipe Melchor
eee5f76d40 Fix in visual.c to follow references with 0-9 2015-11-13 19:03:34 +01:00
Álvaro Felipe Melchor
9bd735a844 Fix u/U in visual mode when scr.feedback=0 2015-11-13 18:09:59 +01:00
pancake
bfec76bfb4 More uppercasing 2015-10-31 02:20:25 +01:00
pancake
365d089eb8 Fix #3557 - V_ is the new VF_, old one is in V?? 2015-10-29 12:54:19 +01:00
pancake
c59ea904e5 Fix #3532 - visual prompt always at bottom 2015-10-21 00:57:15 +02:00
pancake
933a3a3182 Do not follow PC in visual when cfg.debug is set and its invalid PC 2015-10-15 17:28:34 +02:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
Riccardo Schirone
06ec37edd2 core/graph: use multiletter shortcuts to jumps between functions
TODO: shortcuts relative to basicblocks should make the target node the
current one.
2015-10-14 00:10:58 +02:00
pancake
d5a65fa24d Initial support for VB (needs more work) 2015-10-12 16:11:19 +02:00
pancake
a2353c1b00 Fix #3429 - save/load visual marks using the new fV command 2015-10-12 14:33:52 +02:00
Riccardo Schirone
e6f01e162c core/graph: handle functions with no basic blocks
fix #3381
2015-09-28 10:18:26 +02:00
pancake
c94dd22f4d Enhace drr, also arr. add dbg.slow and better debugmap names in xnu 2015-09-28 02:04:08 +02:00
pancake
50340be871 Fix #3376 - Implement immbase anal hint 2015-09-28 01:00:06 +02:00
Jeffrey Crowell
92226d0650 Rename r_config_swap() to r_config_toggle()
closes #3309
2015-09-17 14:20:51 -04:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
Riccardo Schirone
ffdbf919b1 io/section: add r_io_section_vaddr_to_maddr_try API
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
pancake
f5f7216e0a Add _ key in V! for hud 2015-08-31 13:57:39 +02:00
pancake
f1651994e3 Use ' ' to toggle disasm/graph. hjkl/HJKL keys swapped in graph 2015-08-31 00:55:41 +02:00
Maijin
6831dd2f6d Revert "More misc cleanup"
This reverts commit 788a3b02c7.

	modifié :         libr/bin/format/pe/pe.c
2015-08-28 20:58:21 +02:00
jvoisin
788a3b02c7 More misc cleanup 2015-08-28 19:13:27 +02:00
jvoisin
e0e170c3c5 Fix various clang-analyser issues 2015-08-28 18:29:31 +02:00
Álvaro Felipe Melchor
c06dee984e Added the ability to go/seek in Visual Ascii Graph
Fix #2906 - Added the ability tu undo and redo in Visual Ascii Graph

updated agraph_refresh
2015-07-25 20:46:58 +02:00
Jeffrey Crowell
ba8a2983e1 fix #2722, make sure that the file is open b4 G 2015-06-12 15:47:08 -04:00
pancake
3013b98099 Add key.s/key.S config vars and fix aagraph glitch 2015-06-12 02:19:58 +02:00
Riccardo Schirone
33a550aa23 core/graph: fix undefined behaviour in event_resize callback
* fix bug in VV introduced by f802bdf3b1
* code refactoring
2015-06-11 12:46:36 +02:00
Judge Dredd (key 6E23685A)
e46f183b7c fix #1298 2015-06-09 15:53:02 +02:00
pancake
c517036f20 Fix visual glitch with lastline fill 2015-06-05 00:34:26 +02:00
pancake
9c467f2ade Fix #326 - call comments honor asm.cmtright now 2015-06-05 00:19:41 +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
pancake
10b701640c Fix #2672 - Add 'Vz' to fold/unfold comments. Old Vz is now VZ 2015-06-02 01:04:10 +02:00
pancake
999f2d5de5 Add scr.atport option to enable old behaviour on linux 2015-05-19 00:18:14 +02:00
pancake
ee3141778a Handle V@ with threads on osx/w32. Needs refinement 2015-05-19 00:11:04 +02:00
skuater@hotmail.com
ec1ba93468 fixed K/RePag outbounds 2015-04-16 10:30:54 +02:00
pancake
b4bbb2220c Fix visual regression and add dummy dalvik regprofile 2015-04-11 04:45:09 +02:00
Anton Kochkov
c5f2f3521f Fix the leaking holes 2015-04-11 02:05:51 +03:00
pancake
37476d6eef Do not drop raw cons after getchr to avoid visual flickering 2015-04-09 16:43:20 +02:00
XVilka
db22e7337e Fix input on Cygwin 2015-04-07 17:25:14 +03:00
skuater
f98d144afa Windows console enhanced support for arrow and special keys 2015-04-07 15:23:03 +02:00
pancake
2e32d05986 Fix another capstone build breakage issue 2015-03-22 16:49:29 +01:00
pancake
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +01:00
pancake
6be8b58744 Enhace the "pxA" with cursor and b&w modes 2015-03-21 03:06:31 +01:00
pancake
5cd2165633 Initial implementation of Vt. Still not finished 2015-03-17 01:29:28 +01:00
pancake
28d6c12043 V! -> V!!, VV(nofn) -> V!
- VV only opens if there's a function analized
- V! now opens the panels view
- V!! launches the 2048 game
2015-03-05 23:33:28 +01:00
pancake
ef293e4b66 Initial PoC for the Visual 2.0 (for now: VV) 2015-03-05 02:07:53 +01:00
pancake
b84b8e36ac Make V? ignore cursor mode. Vc? is now Vdm 2015-02-17 11:47:24 +01:00
pancake
e51808cb44 Changes in Visual keys: VF -> Vf-, Vt -> VF 2015-02-17 01:02:00 +01:00
pancake
421dd1243f Obey scr.color in RConsCanvas from RCore.cmd("VV") 2015-02-14 04:50:29 +01:00
pancake
4c58ac2416 Initial implementation of p3 the 3D stereogram print mode 2015-02-14 04:17:34 +01:00
pancake
540644dbe5 VW -> :=H, VB -> V%, add Vw and VW (to seek next/prev word), Fix pidx on hud 2015-02-13 11:06:27 +01:00
pancake
e627b3a0a5 Implement V% to move cursor to the next matching pair 2015-02-13 00:36:05 +01:00
XVilka
b6ea8315fe Fix r2 prompt in cygwin 2015-02-12 18:41:21 +03:00
pancake
18c451f2c2 Add scr.wheelspeed and implement dynamic asm.lineswidth in scr.responsive 2015-02-11 00:13:54 +01:00
pancake
7b597ea874 Fix latest COVs 2015-02-08 00:30:25 +01:00
pancake
d9bf313310 Show scroll percentage in vprompt 2015-02-06 19:24:26 +01:00
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
pancake
2d454d0d36 Fix invalid disasm scrolling for memory aligned archs 2014-11-10 16:55:13 +01:00
pancake
658d6deee8 Initial add 'C' to toggle colors in ascii graph (buggy+experimental) 2014-11-07 09:56:39 +01:00
pancake
6ef9165f39 Enable asm.cmtright when scr.responsive=1 2014-11-06 11:11:51 +01:00
pancake
8430ff1dba r_bp_get -> r_bp_get_at // .. r_bp_get_in 2014-10-28 02:28:58 +01:00
pancake
8b3cdac3df Add support for negative values in dbg.follow 2014-10-23 00:16:32 +02:00
pancake
c3d65e46a5 Fix dbg.follow 2014-10-23 00:08:12 +02:00
pancake
fc8773f97e Disable mouse in Vd and longer showtime in scr.feedback=2 2014-10-21 01:20:06 +02:00
condret
65d8b20d05 RCoreFile-reduction: kill RCoreFile->rwx 2014-10-08 13:29:47 +02:00
pancake
2642b03076 Handle r2 -C ../V to start in visual. Fix file.loadmethod=append 2014-10-07 01:58:42 +02:00
pancake
1be6be0a75 Spawn cmd.xterm in visual with '@' key. Enhace remote consoles 2014-10-07 00:56:39 +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
845157426a Fix mouse selection problems in V: 2014-10-05 16:20:59 +02:00
pancake
a58789782d Finally fix the brainfuck emulator 2014-10-03 20:05:33 +02:00
pancake
4249664dd4 Fix block cursor problems and temporal cursor seek in visual+prompt 2014-10-01 19:00:06 +02:00
condret
4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
pancake
238bd6b6c4 Fix VV: wheel issue and set scr.highlight via Vdh, V/ or VV/ 2014-09-28 04:01:31 +02:00
pancake
0248e53fb6 Add scr.visual, Fix BinBios section loading (rva issue) 2014-09-28 03:27:22 +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
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
pancake
fd02a741a1 Fix JK in !pd, fix pxa and do not parse.filter <0xff numbers 2014-09-25 00:01:09 +02:00
defragger
be0afc119c fixes the marking of disassembly in visual mode when seeking out of screen 2014-09-24 12:15:45 +02:00
pancake
a18f7819d9 Fix the support for 0x0 sized terminals (adb shell) 2014-09-24 03:17:43 +02:00
defragger
92985771df hopefully fixes the cursor movement 2014-09-23 16:14:19 +02:00
pancake
09a43efc8d Reimplemented and working RAnalFcnLocal as RAnalFcnLabel in Sdb 2014-09-23 09:37:21 +02:00
pancake
932279ed7e Initial work to disable FCN_OLD. 2014-09-23 00:40:35 +02:00
condret
606291ef85 enable following a ccall via "enter" 2014-09-22 17:25:59 +02:00