Commit graph

512 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
pancake
c94145242f Fix #4739 - Do not run cmd.bp twice 2016-05-16 23:17:03 +02:00
pancake
28f64c83b9 Fix #4897 - Rename /# into /h 2016-05-16 21:48:22 +02:00
pancake
83c3f5cd3f Add v alias for V 2016-05-14 16:42:41 +02:00
Sven Steinbauer
278c868693 Add autocomplete for wxf
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-13 11:33:16 +02:00
rene
695d9a0d04 added shortcuts for every node in graph view
fixes mentioned in the pr
fixed the Vp issue mentioned in the pr
fixes the mentioned parts
changed reallocation size

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-12 23:49:30 +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
bbb7b8412b Implement experimental cmdback in rap server and client 2016-05-05 01:20:23 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
17b0458ab6 Fix #4654 - Access debug map boundaries via $D and $DD 2016-04-17 19:28:43 +02:00
pancake
2b6ccd5a3f Make clean in pyc swf r2pm packages 2016-04-15 04:01:50 +02:00
pancake
6d3370d115 Implement local flag seek in r_core_num_callback 2016-04-12 01:32:11 +02:00
pancake
c6ef723055 Autocomplete aav and other sub-aa commands 2016-04-11 10:23:08 +02:00
dequis
c30c102ea4 Fix invalid free after tab-completing pf or te commands
Commands such as "pf." or "te" changed the tmp_argv_heap flag to true,
which means the completion argv is heap allocated and
r_core_free_autocomplete() should free it.

r_core_fgets() assigns a different, non-heap allocated array to argv,
sets argc to 226, and doesn't free the old one or change that flag.
So the next call to r_core_free_autocomplete() tries to free 226 items
out of tmp_argv.

This is fixed by freeing the old tmp_argv before replacing it with
radare_argv
2016-04-11 10:20:37 +02:00
pancake
54fe1ae941 Fix uaf and another memleak 2016-04-04 00:36:18 +02:00
pancake
2c43b48b23 Fix back fcnsign for w32 abi 2016-04-03 18:41:50 +02:00
pancake
344bf13064 Add missing sym.imp.abort noreturn 2016-04-02 23:38:32 +02:00
NaveenBoggarapu
7d61361361 fix some memory leaks 2016-04-01 19:25:32 +02:00
pancake
f641200bdc Enhancements for the p=ej 2016-03-27 00:32:12 +01:00
pancake
90bc56dc43 Implement variable to get minimum map address 2016-03-23 22:42:02 +01:00
pancake
d1b36b01ec Fix #4267 - Prefix all env vars with R2_ 2016-03-20 02:24:17 +01:00
Darredevil
12e40a9249 Loading time for issue #3244 2016-03-18 12:34:17 +01:00
Matthieu Tardy
bb84bbc276 Fix memory leaks in rabin2 and libr 2016-03-06 23:17:44 +01:00
Mario Ballano
47d9888f93 Various RAP client/server bugs, endianness and remove RAP_RMT_SYSTEM 2016-02-23 15:00:59 +01:00
pancake
0e69bfd541 Add default noreturn functions, adjust xrefs and fix regression in type 2016-02-16 03:24:47 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
pancake
fd359e9121 Implement radiff2 -D and optimize r_strbuf 2016-02-15 23:51:20 +01:00
pancake
63854eb4ca Fix #4048 - Fix autocomplete of macros 2016-01-29 00:32:46 +01:00
akrasuski1
c33af2d540 Added real telescoping.
Right now, the telescoping works only one level deep: something points to something. This commit adds recursive telescoping, similar to gdp-peda's.
Sample screenshot: http://i.imgur.com/JsThuTD.png.

Uses hex.depth which is 5 by default
2016-01-09 03:15:09 +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
pancake
dae75dacfa Fix null deref in r_core_free and add naked.h 2015-12-27 02:33:53 +01:00
zlowram
91611e8cbb Implemented slc subcommand and slc? help. prl now uses lines cache if
available.
2015-12-24 13:18:09 +01:00
pancake
3d1eec808f Fix regression with undefined behaviour 2015-12-22 02:52:13 +01:00
zlowram
b371b9a4f7 Implemented 'sl' command
- Fixed tabs indentation
 - Using r_num_math instead of atoi
 - Fixed warning and used R_SNEW0 instead of calloc
2015-12-22 02:32:33 +01:00
Álvaro Felipe Melchor
90e338e934 added autocompletion for pfv pfj and fix invalid frees 2015-11-27 16:47:25 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
pancake
8ff8b5df7b Fix cmd_pf tests 2015-11-17 02:04:38 +01:00
pancake
0327c8fb97 Add dp- and autocomplete f- 2015-11-17 01:00:25 +01:00
pancake
9523a37b53 Autocompletion for 'z' commands 2015-11-13 01:41:09 +01:00
pancake
b701626cfc Fix some clang-analyzer issues 2015-11-10 12:18:27 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
pancake
43571c8ef5 Add $B internal var to point to the begining of the function 2015-10-30 17:16:11 +01:00
pancake
36558baf54 Add 'r2' command 2015-10-30 01:45:49 +01:00
Riccardo Schirone
fe02223754 core/core: fix out of bound read when using non existing asmqjmps
core/graph: fix HJKL/hjkl help
2015-10-29 08:41:24 +01:00
Riccardo Schirone
dcb5cbfe1a core/core: return UT64_MAX when shortcut is not valid 2015-10-28 21:07:11 +01:00
pancake
52cfe459a0 Enhance te command. Autocomplete and partial args working 2015-10-27 12:41:09 +01:00
pancake
798de76fc2 Initial autocompletion support for #!pipe 2015-10-26 02:42:08 +01:00
pancake
21fe9f1fa9 A bit deeper zerosep 2015-10-24 23:25:56 +02:00
pancake
880821634f Refactor zerosep for r2 -0 2015-10-24 22:49:12 +02:00
pancake
dcbddab6e3 Initial support for pfd and better pf autocompletion 2015-10-22 17:19:33 +02:00