Commit Graph

8281 Commits

Author SHA1 Message Date
radare
c1ab35df32
Fix #10800 - Honor op->prefix in op.mnem and add FAMILY_THREAD for x86 and ARM (#10953) 2018-08-06 10:38:02 +02:00
pancake
c5208b84e4 Use io.pcache.write instead of io.cache for performance reasons 2018-08-06 09:39:57 +02:00
Fangrui Song
90105a92f9 cmd_print: add command names beside case labels (#10948) 2018-08-06 01:19:52 +02:00
Khairul Azhar Kasmiran
0d6adaf1fb Fix -Wformat-truncation warnings in cbin.c for #10338 (#10933) 2018-08-06 01:06:20 +02:00
pancake
c9e8f89f0c Fix #10916 - enable cache around afta 2018-08-06 01:05:14 +02:00
pancake
6d1ec2d697 Add q!! and q!!! autocompletions 2018-08-05 22:13:33 +02:00
Luca Di Bartolomeo
370f35c2a6 Vim-like autocompletion in visual offset prompt (#10912)
* Feat: autocompletion widget for offset prompt in visual mode
* Fix: screen refresh when erasing sel_widget
* Refactor: many small changes to the autocompletion widget
* Fix: colors in selection widget taken from palette
* Refactor: do not use utf8 inside selection widget
* Refactor: rename ANSI_ESC_CLEAR_LINE to R_CONS_CLEAR_LINE
2018-08-05 20:53:12 +02:00
Fangrui Song
015ee0bfb1 Add unaligned integer types and fix unaligned load and bound issue in /v (#10934) 2018-08-05 19:32:54 +02:00
Fangrui Song
95094a3c3e cmd_write: add command names beside case labels (#10941) 2018-08-05 19:32:18 +02:00
Fangrui Song
6e776b986a Fix some warnings in debug (#10929) 2018-08-05 11:56:15 +02:00
sivaramaaa
1f87361fe3 A simple detection and renaming of stack canary (#10931) 2018-08-05 11:54:34 +02:00
fr0zn
e0db66c554 Fixing crash on ts*, #10914 (#10915) 2018-08-04 23:58:29 +02:00
cyanpencil
69a26bbbf3 Fix: remove again ascii control codes in json output 2018-08-04 23:56:42 +02:00
Luca Di Bartolomeo
c076e12941 Add "save to file" to ag*w commands + colorize comments like ";arg1" (#10860)
* Colorize comments like ';arg1' as var type comments

* Choose path for saving dot graph

* Fixed ag? help

* Remove addr argument from most of ag* commands

* Fix: gcc warnings in r_core_graph_cmd + use vartype comments in cmd_type

Refactor: Move r_core_graph_cmd from cconfig.c to cmd_anal.c and make it static

Refactor: moved getViewerPath() to cmd_anal.c too

* Refactor: rename r_core_graph_cmd to graph_cmd

* Refactor: many small refactors of ag* commands in cmd_anal.c

Refactor: solve merge conflict in cconfig.c

Refactor: other small refactorings in cmd_anal.c

* Fix: wrong merge in cconfig.c and updated ag? help
2018-08-05 03:35:50 +08:00
Fangrui Song
ac04e2d965 meson: don't compile files that are not used standalone
They caused a plethora of -Wunused-function warnings.
2018-08-04 18:16:12 +02:00
Khairul Kasmiran
c9ec8b54b9 Cd.: show size of data at current address 2018-08-04 13:41:21 +02:00
Andry
6601ccb583 Fix #10895 - tcc infinite loop 2018-08-04 13:17:29 +02:00
Khairul Azhar Kasmiran
672b2a3850
Add hvaddr to iee(j) output; haddr -> hpaddr (#10899)
* iee(j): add hvaddr

* haddr -> hpaddr

* Minor realignment
2018-08-04 08:17:37 +08:00
pancake
447116022e Fix asan crash in the fi command 2018-08-03 15:33:27 +02:00
Fangrui Song
16f4c8dadf Print help if cfg.newtab=true (#10893) 2018-08-03 08:44:33 +02:00
Fangrui Song
31629a4f8e cmd_info: add command names beside case labels (#10907) 2018-08-03 08:43:13 +02:00
Fangrui Song
8c2cacbb0a Add help_msg_pc (#10906) 2018-08-03 08:42:35 +02:00
Luca Di Bartolomeo
1c55911ddb Fix: color ascii escapes in json output (#10898) 2018-08-03 11:50:58 +08:00
sivaramaaa
e6796bf812 Add a verbose option for afta to increase visibility on missing database input (#10897) 2018-08-02 21:25:34 +08:00
Maijin
096d5eed00
?%? must be the same as %? Fix #10866 (#10894) 2018-08-02 13:18:48 +02:00
Paweł Łukasik
20cacc39a0 Fixing the issue with seeking to a function name that starts with 'A' (#10890)
* Fix issue with seeking to function name starting with 'A'
2018-08-02 13:09:42 +02:00
Maijin
66d3b4d0fe aflqj as ints Fix #10572 2018-08-02 10:11:05 +02:00
Maijin
70f65c9521
iX for listing .c found with dbginfo #6159 (#10892)
* iX for listing .c found with dbginfo #6159

* iX for listing .c found with dbginfo
2018-08-02 10:10:17 +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
cyanpencil
3fda01343d Fix: coverities 1394583 1394582 1394447 2018-08-01 17:52:06 +02:00
Khairul Kasmiran
ce752a7b81 Minor refactoring 2018-08-01 23:02:19 +08:00
pancake
eb355771f5 Disable graph.dotted by default 2018-08-01 14:40:07 +02:00
pancake
5c3ede332c Fix build of the a2f plugin 2018-08-01 06:45:54 +02:00
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
sivaramaaa
0043a7c1e2 Fix #10871, null deref issue in afta 2018-08-01 01:03:07 +01:00
Paul I
56a960ea3a Some fixes for ag command:
* Fix r_file_path() on Windows
* Fix bug in r_core_graph_cmd()
* Use explorer.exe as picture viewer on Windows
2018-08-01 01:02:38 +01:00
Florian Märkl
7ab290d170 Fix tasks_lock_enter() 2018-08-01 00:55:28 +01:00
Khairul Kasmiran
dcdb33bda3 Fix -Wformat-truncation warning in disasm.c for #10338 2018-07-31 22:59:57 +08:00
Khairul Kasmiran
f0bf39805d ieej: PFMT64d -> PFMT64u 2018-07-31 22:10:39 +08:00
Khairul Azhar Kasmiran
5ef73c0876 Declare elf preinit/init/fini array entries as data (#10858)
* Declare elf preinit/init/fini array entries as data
* Using rva
* Use entry->bits instead of info->bits
2018-07-31 15:24:07 +02:00
mandlebro
643eaa6bd9 Fix 'dpj pid' command 2018-07-31 12:43:41 +01:00
pancake
6fc94b8ea5 Unset iova when cfg.debug is set, dunno who broke that. io.debug needs to be killed 2018-07-31 11:26:18 +01:00
pancake
a1666a7712 Fix warnings introduced recently 2018-07-30 18:17:09 +01:00
Florian Märkl
8beae0bb91 Fix pvector usage in r_core_get_boundaries_prot 2018-07-30 18:49:37 +02:00
Florian Märkl
d5c1fcfd74 Implement flat RVector and pvector 2018-07-30 18:49:37 +02:00
pancake
1b7a3ae94d Add missing autocompletion for the obf command 2018-07-30 17:16:38 +01: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
cyanpencil
f3b33640d1 Adjust edge positioning if there is a graph title
Fix whitespace
2018-07-29 12:48:15 +08:00
cyanpencil
29955c4c0d Add '#' key to toggle graph hints
Refactoring

Small fix

Fix for windows in graph.c
2018-07-29 12:48:15 +08:00