605 Commits

Author SHA1 Message Date
pancake
cba35157c6 Fix leak in RAnal.ws and make Vbe work 2018-08-23 15:07:21 +02:00
pancake
095f28dfdf Fix #11215 - Ve is already in Vbe 2018-08-23 14:46:54 +02:00
Florian Märkl
2883398942 Fix #11081 - Transient Tasks (#11214)
* Make r_th_free() not kill the thread
* Transient Tasks
* Add transient info to & list output
* Use refcounting for Tasks
2018-08-23 13:49:28 +02:00
pancake
874369c224 First tab is created twice 2018-08-17 16:43:11 +02:00
radare
0ce42507dc
Initial implementation of visual tabs (Vt and VT) (#11105) 2018-08-16 11:01:53 +02:00
Rene Laemmert
b2aa8d1804 Fix highlighting (#11016) 2018-08-10 15:24:24 +02:00
Luca Di Bartolomeo
5aced3c295 Fix arrow keys not working in visual refs mode (#10887)
* Fix: arrow keys not working in visual refs mode

* Refactor: exit from visual refs mode with 'q' or ESC
2018-08-01 22:05:24 +02:00
Vanellope
c9969157e7 the scroll up-down behaviour of the disassembly in both Vp and V! should be unified. (#10848) 2018-07-30 03:06:58 +08:00
Vanellope
5e56c90483 get [1][2] jumps for panels and fixed some unstable behaviors (#10836)
* fixed unstable behaviours and [1][2][3]jump now works.
* added the help messages
* restyling for the help message
2018-07-29 12:56:15 +08:00
vane11ope
4b740a0b8f refactoring and fixed bunch of bugs as well as added seek o command 2018-07-26 19:19:58 +08:00
pancake
f98d5c8593 Fix the msp430 disassembler asan regression 2018-07-18 11:54:52 +02:00
pancake
87ea24f22a Improve VA, show changed bytes as selected, less glitching 2018-07-17 23:53:44 +02:00
pancake
b3d0224071 Fix #10731 - Implement diq and use it in Visual debugger mode 2018-07-16 17:05:10 +02:00
Florian Märkl
16d72de010 Use OneShot for cons->event_resize 2018-07-12 11:36:13 +02:00
cyanpencil
16e9a92dd2 Add file history to V! > File > open 2018-07-10 10:33:28 +02:00
cyanpencil
ad75f08a48 Add file completion to V! > open file 2018-07-10 10:33:28 +02:00
pancake
95d346b611 Fix #10674 - pzq and gcc build 2018-07-09 01:13:29 +02:00
pancake
685ce4e0ed Strpool is not StrBuf. Fix ecf109900fb27346a13f710c8da2d91658726000 2018-07-05 11:40:59 +02:00
stackrip
ecf109900f Add Colors to Visual Help (#10582)
* Formatting & init fix
* Remove extra space following prompt_read
2018-07-04 10:50:00 +02:00
radare
4924d1ff1e
Improve vv visual function browser and add afls to sort function list (#10525)
* Improve vv visual function browser and add afls to sort function list
* afls->afl+, sort afls help
* afls: new command (the old afls is now named alf+)
* Fix glitch in vv and fix behaviour in vb: and vbF
* add the ability to select column with tab to scroll with jk in disasm
* add colors
* enter seeks to the function
* var list row selector fixed
2018-06-28 00:54:50 +02:00
Florian Märkl
5e35ad898b RConsContext (#10450)
* Add RConsContext
* Swap cons in tasks using RConsContext
* Create cons context for background tasks
* Move event_interrupt to RConsContext
* Fix breaking main cons from signal
* Make r_print_is_interrupted() use callback
2018-06-23 12:10:13 +02:00
sivaramaaa
c858dae72c Honor op mask in r_core_anal_op 2018-06-10 03:17:33 +02:00
Luca Di Bartolomeo
dcaeb35fd8 Fixed asm.bytes on by default in cursor mode (#10157) 2018-06-06 17:08:31 +02:00
sivaramaaa
e5bbaffbfe Refactor code to change R_ANAL_OP_MASK_ALL to appropriate value 2018-05-31 19:05:54 +02:00
pancake
e7fe4d5916 Add backspace as an alias for q in Vb 2018-05-29 12:55:11 +02:00
Vanellope
53d6345d3f Fixed a small yet kinda significant bug (#10201)
* Fixed a small yet kinda significant bug
* Added the same fix for Visual too
2018-05-27 15:53:04 +02:00
cyanpencil
8a65873b64 Fix graph.from graph.to behaviour
Updated graph.from graph.to help

Updated visual help

Removed cmd.graph unused config variable

Whitespace cleanup
2018-05-24 00:15:35 +02:00
pancake
31ad955bab Use r_io_read_at instead of r_core_read_at which is now deprecated 2018-05-21 23:06:00 +02:00
Luca Di Bartolomeo
a4370e89c9 Fix #6220 garbage print when click on graph (#10118) 2018-05-18 10:35:33 +02:00
Giovanni
855eb16d93 Refactor evars asm.lines.* (#10085)
* asm.linesout > asm.lines.out
* asm.var.submin fix
2018-05-18 10:29:00 +02:00
Vanellope
6107339580 added the browse mode to V! (#10095)
* added the browse mode to V!
* added the missing help messages
2018-05-15 12:38:50 +08:00
Vanellope
699f11e43a registers are now editable and a little bit of refactoring too (#10029)
* registers are now editable and a little bit of refactoring too

* fixed a potentially vulnerable point

* cleaned up mess
2018-05-07 10:01:25 +02:00
pancake
cc66e1b691 Add pxr in visual mode (VP) 2018-05-05 00:58:13 +02:00
Riccardo Schirone
b703dfbf17 anal/xrefs: single, global xrefs API
* several bugfixes
* Fix xrefs/refs confusion with asm.cmt.refs
* Also check if xref source is valid offset
* Fix ax* to show type of ref
* anal/xrefs: pass the right hashtable to mylistrefs
* r_anal_refs_get should use anal->refs, not anal->xrefs
* anal/fcn: add xref also when there's a CALL to a noreturn function
* projects: use radare2 output of ax command to save/restore xrefs
* core/cmd_anal: when analyzing calls, we should use REF_TYPE_CALL
* core/canal: use xrefs API, because the list is a just a copy
* core/canal: rename "loc." entries to "fcn." when a CALL is found
* sort xrefs to make results consistent
* core/canal: avoid recomputing function every time during `aan`
* anal: move fcn_refs/xrefs functions to the xrefs.c file
* core/canal.c: avoid iterating fcn xrefs list
* anal/xrefs: compute fcn xrefs by analyzing fcn addresses
* remove other unused functions
* anal/xrefs: remove fcn_xrefs_add and fcn_xrefs_deln
* anal/xrefs: remove old fcn->refs/xrefs
* anal/xrefs: directly store RAnalRef objects in the hash table
* libr: prevent memory leaks when using refs/xrefs
* anal/xrefs: merge anal/ref and anal/xref and clean API

Big xrefs/refs refactoring that provides a more uniform and simple API.
It avoids changes to refs/xrefs except through the API and it keeps all
xrefs/refs info in one single place, to improve consistency.

Thanks to:
Riccardo Schirone <sirmy15@gmail.com>
pancake <pancake@nopcode.org>
rene <rlaemmert@gmail.com>
2018-05-04 21:40:47 +02:00
Paul I
5180e0220f Add R2_PLUGINS, R2_EXTRAS, R2_BINDINGS macros (#9994) 2018-05-02 15:58:14 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
b99bb97def Improve r_cons_is_breaked coverage 2018-04-25 12:30:57 +02:00
Khairul Kasmiran
7ff5a48d78 asm.emu.* ⮕ emu.* 2018-04-14 10:49:08 +02:00
Vanellope
cf372cf089 just a small refactoring as i found this while reading the whole code base. (#9862) 2018-04-11 15:23:52 +02:00
pancake
5d6e22888e Vr now toggles asm.*hints 2018-04-11 09:19:48 +02:00
pancake
17dfb2d3d4 Reimplement VbC in C and drop it from Vcjr 2018-04-11 03:00:05 +02:00
pancake
5cde546971 Fix aae on x86-64, improve Vx, add sys/rebuild.sh tcc, .. 2018-04-11 02:32:27 +02:00
Riccardo Schirone
cfe9afb47a core/visual: just move the cursor also when using Vo
extract a couple of functions to avoid code duplication
2018-04-08 12:22:36 +02:00
Riccardo Schirone
82c8d558f3 core/visual: when possible, just move the cursor in visual mode
Instead of seeking to a new position even if the new address is already
visible in the screen, just move the cursor there.
2018-04-08 12:22:36 +02:00
Riccardo Schirone
ec2ac4185a core/visual: reset the cursor position when seeking elsewhere 2018-04-08 12:22:36 +02:00
Vanellope
14909482d8 Vane11ope/fix panels (#9814)
* created RPanals out of panels.c

* deleted a garbage
2018-04-07 16:51:25 +02:00
pancake
fe7ae5d0af Fix last 20 coverity issues 2018-03-19 11:51:04 +01:00
Florian Märkl
93d9f4ec66 Add mask parameter to r_anal_op() 2018-03-16 11:10:15 +01:00
cyanpencil
cd719d120b Implement pluggable dietline history. Use it in Vo (#9591) 2018-03-09 00:33:33 +01:00
pancake
b860076802 Fix #9541 - VC rotates scr.color instead of toggling 2018-03-02 17:58:44 +01:00