Commit Graph

757 Commits

Author SHA1 Message Date
pancake
6a64ae487a Fix #10849 - Improve L command with all subcommands and proper help message
- Autocomplete L <file>
- Rename core_anal into core_a2f
- Fix a2f - it was not creating any valid function
2018-08-01 05:10:54 +02:00
pancake
1b7a3ae94d Add missing autocompletion for the obf command 2018-07-30 17:16:38 +01:00
Florian Märkl
8c8f0a6516 Add &b command 2018-07-21 16:29:12 +02:00
Luca Di Bartolomeo
13a2cb344a [WIP] Colorize function arguments and variables part 2 (#10777)
* Colorize comments that hint type of data
* Use new colors for comments that hint type of data
* Colorize local variables and args in disasm
* Fixed leak in r_anal_var_all_list()
* Refactoring + rename color func_arg* to func_var*
* Updated all color themes for func_var* colors
* Directly query sdb for faster and cleaner var colorizing in r_colorize_opcode
* Remove hackish r_core.h include in print.c and use callbacks instead
2018-07-20 12:45:51 +02:00
cyanpencil
8cb110efa3 Add function argument colors to palette 2018-07-18 00:07:48 +02:00
Florian Märkl
d3a3940d75
Add r_core_bind_cons() (#10715) 2018-07-12 15:32:42 +02:00
Florian Märkl
8db9631c98 Block Signals when locking core->tasks_lock 2018-07-12 11:36:13 +02:00
Florian Märkl
16d72de010 Use OneShot for cons->event_resize 2018-07-12 11:36:13 +02:00
Florian Märkl
f9f5ddeac5 Add Task OneShots 2018-07-12 11:36:13 +02:00
radare
4e3cbbfa3e
Fix #10701 - Support glob expressions in r_file_mkstemp() (#10703) 2018-07-12 00:12:02 +02:00
cyanpencil
ad75f08a48 Add file completion to V! > open file 2018-07-10 10:33:28 +02:00
radare
3bd0368a43
Fix #10444 - aav, /v enforces the map information, considering null:// (#10508)
* Improve isValidAddress validation for aav (slower checks, faster when unallocated on fuzzed bins)
2018-07-09 16:32:34 +02:00
pancake
33225b8005 Implement rax2, rahash2, r2pm, ... as "r2 commands"
- This is the begining to avoid fork() for them using the busybox style
2018-07-08 23:33:29 +02:00
cyanpencil
7a246f3cea Fix auto complete in offset seek in visual 2018-06-30 01:54:22 +02:00
Florian Märkl
c6a3b6bc49 Add tasks_running to RCore to reduce tasks overhead (#10514) 2018-06-27 12:59:23 +02:00
Giovanni
3e6f5a41de Blind fix coverity 1393602/1393610/1393603/1393609/1393606/1393608/1393605/1393607 (#10491) 2018-06-25 13:32:56 +02:00
Giovanni
a3c6f782cd Coverity - 24/06/18 (#10469)
* fix for coverity 1393580

* fix for coverity 1393579

* fix for coverity 1393577

* fix for coverity 1393578
2018-06-24 20:09:26 +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
pancake
c8043844f8 Fix !!!? and !!!- behaviours 2018-06-22 11:27:56 +02:00
Giovanni
9620ffab16 Implement !!!: to register new autocompletion logic (#10407) 2018-06-22 02:08:21 +02:00
pancake
d495d531b0 Implement $r{} to access register values by name 2018-06-19 12:37:58 +02:00
pancake
f5f090b709 Implement named breakpoints with support for expressions 2018-06-19 12:27:57 +02:00
pancake
46dc3ecb44 Fix uaf with r2frida deinitialization 2018-06-18 23:45:51 +02:00
Florian Märkl
8d92f4045d Fix breaking from SIGINT 2018-06-17 11:34:03 +02:00
Florian Märkl
43449afcfe Fix joining Tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
842f0984e5 Fix freeing stuff before joining tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
fa3ff32569 Fix Task Commands for new Tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
6cba82c066 Flatten RThreadMsg into RCoreTask 2018-06-17 11:34:03 +02:00
Florian Märkl
ea98d95e8f Fix an invalid cons load in tasks 2018-06-17 11:34:03 +02:00
Florian Märkl
6730a93e9c Sleep during prompt
Sleep during prompt for Windows
2018-06-17 11:34:03 +02:00
Florian Märkl
1d4a2bd678 Add Task Sleeping 2018-06-17 11:34:03 +02:00
Florian Märkl
1a30d17d31 Keep current task in RCore 2018-06-17 11:34:03 +02:00
Florian Märkl
eeab1869c1 Schedule Tasks in r_cons_is_breaked() 2018-06-17 11:34:03 +02:00
Florian Märkl
f449ae66f5 Fix Command History and Quit 2018-06-17 11:34:03 +02:00
Florian Märkl
88fa23e53a Add r_core_cmd_task_sync() 2018-06-17 11:34:03 +02:00
Florian Märkl
90810d2ff7 Change task id assigning, Properly set task thread 2018-06-17 11:34:03 +02:00
Florian Märkl
b3714f6fdf Initial Task Scheduling Implementation
Fix Creation and Deletion of tasks_queue
2018-06-17 11:34:03 +02:00
sivaramaaa
55d9aa1c93 Added autocompletion for remaining t commands 2018-06-10 21:04:57 +02:00
sivaramaaa
772ada399d Add autocompletion for pf.fmt.ele 2018-06-10 03:16:11 +02:00
sivaramaaa
5830198378 Add autocompletion for ts and fix te query 2018-06-10 03:16:11 +02:00
pancake
b75cd5239f Fix memleak reported by coverity 2018-06-03 18:17:27 +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
38d6dada8d Implement {flag} to get flag size 2018-05-30 13:00:39 +02:00
radare
d461644977
Add --with-libr and deprecate --with-{nonpic,pic,merged} (#10212) 2018-05-28 17:14:49 +02:00
Luca Di Bartolomeo
80c92bd01e Added ag autocompletion + final ag* fixes (#10187)
* Added ag autocompletion + shortcuts hidden when graph not interactive
* Renamed command 'agt' to 'abt'
2018-05-28 20:06:02 +08:00
pancake
b63e146300 Fix ft help message and install flag tags file 2018-05-27 15:55:33 +02:00
radare
6da28493f5
Initial work on using idpool+idstorage from RBin + initial new RBin.open() api (#10160) 2018-05-22 17:48:34 +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
sivaramaaa
97de3ff035 Manage types enum more properly (#10139) 2018-05-21 01:54:50 +02:00
pancake
4c2cdaf3a2 Autocomplete for 's+ ' 2018-05-19 01:29:00 +02:00