Commit Graph

1447 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
d6d453b4a1 renamed gum_read_sleb128 to r_sleb128
this API has been borrowed from the awesome Frida project
2016-12-16 13:38:36 +01:00
Marc
c585f91439 Dalvik analysis and bin parsing enhancements (#6320)
* Initial work to enhance the dalvik analysis with rbin info
* fix ptr addr in new-instance instruction in Dalvik Anal (#6082)
* dalvik anal:fix ptr addr in new-instance
* first ESIL instructions for Dalvik
* more ESIL instructions for Dalvik
* parse more data in dex format
* code refactor and several fixes
2016-12-15 00:14:33 +01:00
pancake
6ae8d68299 Fix r_str_glob and add command 'fla' 2016-12-15 00:13:26 +01:00
pancake
c70c8f78ee Fix regressions in pf parsing and enhance error reporting 2016-12-14 16:09:45 +01:00
pancake
0053dfefd8 Fix #6316 - Check Cf format size 2016-12-14 13:56:58 +01:00
pancake
1ebc5e29ec Fix #6308 - Fix crash in /P and enhance the output 2016-12-10 23:29:32 +01:00
Álvaro Felipe Melchor
028e8f0ca3 Fix few covs 2016-12-04 22:26:17 +01:00
pancake
56f5c29d64 Fix asm.dwarf, add asm.dwarf.{file,abspath} 2016-11-22 23:59:04 +01:00
pancake
7b94a79dcd Initial support for C++ classes extracted from the demangler 2016-11-22 14:20:52 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
aba4ca918f Fix #6222 - ej valid JSON format 2016-11-20 23:15:12 +01:00
pancake
09594bdde9 Fix compiler optimization bug where -1 turned out into 255 2016-11-18 13:28:14 +01:00
pancake
4bcdd33f25 Honor utf8 in r_str_is_printable 2016-11-18 13:28:06 +01:00
pancake
5789279503 Fix overflow in r_base64_dec_dyn 2016-11-18 03:38:09 +01:00
Alex Kornitzer
1a81071d9d A correct implementation of r_list_join
From what I can see this function has never functioned correctly. At
most it would sort of maybe join two lists. This should resolve this
problem.

Signed-off-by: Álvaro Felipe Melchor <alvaro.felipe91@gmail.com>
2016-11-16 20:15:45 +01:00
Álvaro Felipe Melchor
b69ce7ba00 Fix oob write 2016-11-15 23:58:18 +01:00
pancake
d75aabc4f7 Initial speedup for dwarf 50s -> 0.4s, wip 2016-11-15 22:01:08 +01:00
pancake
15ee118550 Fix r_num_is_float() 2016-11-13 22:12:19 +01:00
pancake
7fc002dfd9 Remove unnecessary call to impaddr() and some reindents 2016-11-13 01:40:44 +01:00
pancake
8804952eec Fix some uninitialized arguments 2016-11-08 15:37:44 +01:00
pancake
ca730772f4 Fix wrong usage of sizeof(ptr) 2016-11-08 15:12:43 +01:00
pancake
ea5c83ce4e Fix a bunch of malloc(0) 2016-11-08 15:09:52 +01:00
pancake
93c0293664 Fix overflow in r_str_ansi_crop 2016-11-08 13:25:08 +01:00
pancake
f3be6a8cda Update android paths for the new app 2016-11-08 10:24:10 +01:00
Álvaro Felipe Melchor
ae2888dbc7 add r_str_nlen_w to get wide or ascii len
we already have r_str_nlen and r_wstr_clen to get either ascii string or wide
string length but in some cases such as defining string with 'Cs' or 'ds' from
visual mode we do not know if is a wide or ascii so r_str_nlen_w try to detect
and is prone to errors.

We should rename those API and maybe introduce new command to handle both cases
correctly without guessing and letting the user to chose the best
2016-11-07 23:31:22 +01:00
Álvaro Felipe Melchor
9c3e2a46b5 support define wide string with ds in visual mode 2016-11-07 20:54:00 +01:00
pancake
9c57ff07a6 Implement Po& and r2 -tp to load projects in a thread 2016-11-04 23:07:02 +01:00
Álvaro Felipe Melchor
776577d553 get rid of rabin2 when ik* 2016-11-03 16:51:51 +01:00
Álvaro Felipe Melchor
d5e4a2125f Fix an oob read in p_format 2016-11-03 13:11:17 +01:00
Álvaro Felipe Melchor
1f4a0bcd4b Fix regression in visual graph mode 2016-11-02 13:21:21 +01:00
pancake
d7c13a36b1 Fix #3763 - Add oi command to raise/close fd by index 2016-11-02 03:27:37 +01:00
pancake
f411df9881 Fix #2653 - Honor hex.cols in pc* 2016-11-02 01:06:40 +01:00
Álvaro Felipe Melchor
a0b4aab22a Fix #5935 - improvements on ah command
make anal hint print more grep friendly
fix ah- command
honor offset in ah? and ah*
implement ahb-, ahS-, ...etc
2016-11-01 23:52:42 +01:00
Álvaro Felipe Melchor
f40328b89a some cleanup and update r_core_anal_get_bbaddr 2016-11-01 23:52:42 +01:00
pancake
52dd1f85f0 Add asm.decoff 2016-11-01 23:30:36 +01:00
pancake
d1937cd367 Fix pf regressions 2016-10-31 00:43:24 +01:00
pancake
3858232030 Fix some pf regressions 2016-10-30 23:57:25 +01:00
pancake
7ddcd86400 Fix cmd_pf tests 2016-10-30 23:24:20 +01:00
pancake
e31164a5fa Fix latest covs 2016-10-29 13:06:11 +02:00
pancake
1ab7c43efe Fix #6054 - divbyzero in pcp 2016-10-27 15:32:00 +02:00
pancake
e925e04ea2 Fix crash in disassembler 2016-10-27 01:42:00 +02:00
pancake
589ac97bda Fix some overflow-related covs 2016-10-26 23:40:17 +02:00
pancake
8d37adc546 Fix all pending null-deref covs 2016-10-26 23:22:04 +02:00
pancake
8b8151d12e Fix latest covs 2016-10-26 11:25:50 +02:00
Álvaro Felipe Melchor
aa5124905d fix oob str.c 2016-10-25 14:37:57 +02:00
pancake
d45999d10e Implement column sorting in RCons.grep 2016-10-25 12:03:55 +02:00
Álvaro Felipe Melchor
a2befc8adc Enhance performance in r_anal_fcn_get_in() using tinyrange and sorted adds
* added sorted parameter in r_list
* use r_list_sort in r_range_sort
* some clean up
* added is_data into RBinSection
* use tinyrange by default to improve speed
2016-10-25 01:12:06 +02:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
Álvaro Felipe Melchor
44d9048169 Fix #5986 - use RStack in r_cons_push/pop
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +02:00