Commit graph

527 commits

Author SHA1 Message Date
pancake
b39fb26264 Add $Fb and $Fs to handle basicblock address and size 2016-08-08 13:32:23 +02:00
pancake
3e5f636869 Fix Vcdn to rename local vars - reported by @ret2libc 2016-08-08 01:00:47 +02:00
pancake
9fda59e26d Only use ~/.config/radare2/prefix/bin 2016-08-03 14:03:09 +02:00
pancake
8e45f6248c Fix #5425 - Code cleanup and refactor 2016-08-01 13:58:14 +02:00
Alexandru Razvan Caciulescu
61518c2646 xrefs dir path fix 2016-08-01 12:55:47 +02:00
Ahmed Mohamed Abd El-MAwgood
2dbb3d8fc6 Calling convention profiles in SDB (#5358) 2016-07-27 13:50:14 +02:00
Ahmed Mohamed Abd El-MAwgood
85dcb19dae fixing type link consumes no bytes (#5288)
implementing initial api for types
Adding types profiles for x86 and x86_64 architectures
2016-07-05 22:44:53 +02:00
Maijin
1117f5e19c Fix #3874 2016-06-19 12:30:30 +02:00
pancake
59f63e5f8d Handle Windows's noreturn call to ExitProcess 2016-06-19 12:26:58 +02:00
pancake
91e6b11b11 Add another noreturn function for uclibc 2016-06-09 23:34:52 +02:00
Karol Harasim
c1eb8253c2 Add support for 'pf [size]D' (#5063) 2016-06-06 10:36:09 +02:00
pancake
176a735927 Add cmdf callback and license in RLang 2016-05-31 02:32:30 +02:00
Chinmay Deshpande
1cffc55fe0 Adds autocompletion for afan (#5016)
* Adds autocompletion for afan

* Removes duplication
2016-05-29 10:38:17 +02:00
pancake
132b173b87 Refactoring $B and decompose $F into $FB $FE $FS and $FI + code cleanup 2016-05-25 23:34:06 +02:00
Sven Steinbauer
eef32d0260 First few fixes for infer scans
Fixes a few memleaks and several NULL dereferences

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
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