Commit graph

411 commits

Author SHA1 Message Date
Riccardo Schirone
8727840e90 anal/fcn: use getter/setter to access the size of a RAnalFunction
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
Riccardo Schirone
8306463ae2 core/visual: fix cursor that jumps to wrong (next) instruction
When you use the cursor and press ENTER to jump to a target which is not
visible, it will go to the next instruction after the right target.
This patch should fix that behaviour.
2016-05-19 01:46:45 +02:00
Riccardo Schirone
d102ed6732 core/visual: fix cmd_visual test case
Without this patch, if you run a visual command that involve the
cursor directly, the cursor will not be set.
2016-05-17 13:18:23 +02:00
pancake
9a86edb6b3 Use '0' in visual to seek at the beginning of the function and fix r2 -AAAAA 2016-05-11 04:25:16 +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
bbc3e4e24e Fix aggi;V, agc* and add proper callgraph support in V 2016-05-04 00:11:28 +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
2d99c17980 Fixes for Vk and add more anal.archinfo (ppc, mips, sh) 2016-04-13 23:57:24 +02:00
Jeffrey Crowell
49e81e6776 correct amount of numbers in memcpy... 2016-04-07 21:27:42 -04:00
Jeffrey Crowell
a3fd8cdcfa fix command injection on V;, allow " in comments
closes #4547
2016-04-07 21:26:39 -04:00
pancake
fa4edbfa45 Fix scroll up in disasm after project load 2016-04-01 01:56:16 +02:00
pancake
cc4b08716e Honor anal.archinfo.{min|max}.opsize in Vk scrollup 2016-04-01 00:27:14 +02:00
Tony Wasserka
eadfeff76d Honor cursor in VX and in log messages printed in Vx. 2016-03-31 21:34:42 +02:00
pancake
41a280c3c6 Fix #4453 - Honor cursor in Vx 2016-03-30 12:30:51 +02:00
pancake
15d9563014 Fix #4313 - & in function switches fcn->bits instead of global ones 2016-03-15 11:47:13 +01:00
pancake
377ff92134 Fix #4190 - Scroll below 0 in cursor mode not jumping to -1 2016-03-07 03:35:13 +01:00
pancake
1f1813dd45 Aim to fix #4231 - Segfault in cursor+fold 2016-03-06 23:23:39 +01:00
pancake
9c05579ade Add ecn and use it from VR with scr.randpal 2016-03-06 12:35:07 +01:00
Riccardo Schirone
48fb9e14e0 core/visual: fix 'J' and 'K' when screen is full of flags/comments/etc. 2016-03-04 13:46:10 +01:00
Riccardo Schirone
ec6b55527c core/disasm: fix set of last row offset
core/visual: reset cursor position on 'u'/'U'/'o'/'V'.
2016-03-02 11:29:13 +01:00
pancake
3533813995 Fix #4190 - Scrolling beyond zero 2016-02-29 15:55:25 +01:00
pancake
09117ca99b Fix Cov CID 1352280 2016-02-27 12:38:02 +01:00
pancake
517f7fa23e Handle Vi in Vppc - aka change reg values with cursor 2016-02-25 11:35:59 +01:00
pancake
eef4665242 Initial support for tab in visual debugger 2016-02-25 10:28:54 +01:00
pancake
c2f5b72c80 Fix #4010 - axg: show recursive xrefs tree 2016-02-23 02:31:53 +01:00
Riccardo Schirone
23006460c1 flags: refactoring of r_flag_set
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
Riccardo Schirone
b80c635aba flags: refactoring of the APIs to unset a flag item
flags: free items when using unset_name, unset_off or unset_glob
2016-02-22 18:21:25 +01:00
pancake
100df3bb32 Better MIPS32BE ELF relocs, add Rx regs in mips.cs and add scr.wheelnkey, nN defaults to flag now 2016-02-21 01:56:50 +01:00
Riccardo Schirone
3cbba20b4e core/visual: fix bug with 'J' when in hex mode and r2 launched with -nn 2016-02-19 00:31:37 +01:00
pancake
994eea2acb Fix 10 row limit in Vx 2016-02-16 01:20:25 +01:00
Riccardo Schirone
5282ed2d98 core/visual: estimate blocksize when in disasm mode 2016-02-13 09:24:37 +01:00
Riccardo Schirone
0b8a589e16 anal/bb: keep track of ops positions inside a RAnalBlock 2016-02-12 09:06:36 -06:00
Riccardo Schirone
b6351ec833 core/visual: better implementation of cursor movements
core/visual: refactoring of movements with ocur enabled
2016-02-11 00:14:36 -06:00
Riccardo Schirone
94123f158c core/disasm: review screen_bounds meaning
core/visual: enable screen_bounds only on default modes
2016-02-11 00:14:36 -06:00
Riccardo Schirone
444c6e616a core/visual: replace global variables with core->print fields 2016-02-11 00:14:36 -06:00
pancake
6b79f915df Fix #4095 - VdW chopping down to 32bits 2016-02-10 11:45:25 -06:00
DZ_ruyk
0e8b42787a Boring typo fixes
Can't -> Cannot (since most of error messages use second form)
2016-01-07 00:13:54 +01:00
Riccardo Schirone
3e40ca0a93 core/graph: extend r_core_visual_graph to accept a graph
Now it is possible to pass an already initialized RAGraph that can be
used in interactive mode, without being based on a function.
2016-01-05 00:36:26 +01:00
Florian Mauracher
8ff4b566b3 Fix stack configuration options in visual debug mode
Re-enable the cmd.stack and stack.{anotated,size,delta,bytes}
configuration options, which were previously overwritten before every
refresh by the default format string.
For this, integrate the dbg.slow option into the general debug format
configuration.
2016-01-02 11:40:04 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
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