Commit Graph

15355 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
ec3ec28845 Fix oob write in microsoft_demangle.c 2017-07-11 11:36:26 +02:00
Giovanni
59d6141658 Coverity patch for VLE (#7904) 2017-07-11 11:25:32 +02:00
pancake
7dbc50ed5f Use more heap to avoid freeing a stack address introduced in previous commit 2017-07-11 11:08:17 +02:00
pancake
19b41bec5c Fix last covs 2017-07-11 08:46:42 +02:00
pancake
7354a63372 Fix format string in comments - Thanks Dennis Goodlett 2017-07-11 07:54:38 +02:00
Francesco Tamagni
c7e31da37b Fix pcdelta for arm thumb (#7902)
- make the delta depend on the value of `thumb` parameter instead of the op size, because otherwise when 4-bytes-long instructions are present in thumb mode (e.g. `ldr.w`) that delta is computed wrong
2017-07-11 02:42:56 +02:00
pancake
389a8283e3 Handle ^C in aab and abb 2017-07-10 22:45:24 +02:00
Schrodinger
66f5520740 Update cmd_flag.c (#7900)
fl command requires an '@' before the named flag.
2017-07-10 20:53:49 +02:00
pancake
05ca43b5b2 Oops fix build 2017-07-10 18:10:30 +02:00
Giovanni
326fa654fc PowerPC VLE support with capstone [anal/asm] (#7899)
* libvle + capstone to support PowerPC VLE
2017-07-10 18:06:11 +02:00
pancake
0918cabb22 Blindfix a null deref in dwarf parser 2017-07-10 18:05:01 +02:00
Khairul Azhar Kasmiran
f1f87fc0fd asm.strenc (asciidot) (#7898) 2017-07-10 17:55:39 +02:00
pancake
31f0c83189 Fix infinite loop in PE parser (thanks @h4ng3r por reporting!) 2017-07-10 17:18:22 +02:00
pancake
ce4a15decb Optimize r_str_replace with r_str_replace_char in some cases 2017-07-10 15:43:05 +02:00
pancake
e445f6cef0 Support underscores in hex numbers 2017-07-10 12:31:50 +02:00
pancake
3d44e97092 Fix rasn1 regression 2017-07-10 12:05:24 +02:00
pancake
3c25b9830e Fix #7636 - Add hack for PS2 binaries 2017-07-10 11:59:47 +02:00
pancake
1b6cfb68bd Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
xarkes
931aa1e285 Windows XP support test (#7844) 2017-07-10 09:52:00 +02:00
xarkes
77fbaaccd0 Added idp command to load functions from pdb file (#7891) 2017-07-10 09:51:29 +02:00
pancake
1a04c2a24d Get ready for the 1.6 release 2017-07-10 01:32:50 +02:00
pancake
ee6c373bfc Fix x~?? -> shows only the help, not the output of the command 2017-07-10 01:23:27 +02:00
pancake
8f6de80193 Fix #7619 - Make dm consistent with dmm 2017-07-10 01:02:21 +02:00
alvarofe
fe6aba1fbd Translate to paddr only with wtf! command 2017-07-10 00:07:19 +02:00
alvarofe
ec78cabef7 Translate vaddr to paddr in wtf command 2017-07-10 00:04:10 +02:00
alvarofe
20dc587f7b Fix oob read when doing wtf! 2017-07-09 23:48:17 +02:00
alvarofe
e01822f973 Add ?* into ??? 2017-07-09 23:36:03 +02:00
alvarofe
97f838abab Fix oob read with ?* command 2017-07-09 23:22:12 +02:00
Jack Baker
d13c6575c4 Fix r_core_print_disasm_json() output with mid flags (#7893) 2017-07-09 22:04:19 +02:00
Srimanta Barua
47a081c5df cleanup redundant gdbr_send_command (#7890) 2017-07-09 20:55:15 +02:00
Srimanta Barua
4fdb21643c added drp sub-command to parse gdb reg profile and dump r2 one (#7889) 2017-07-09 18:18:27 +02:00
pancake
f36cd87cb1 Partial fix for #7545 2017-07-09 13:15:13 +02:00
pancake
9372c11996 Fix #7887 - null deref in bin_get_endian() 2017-07-09 13:08:13 +02:00
Ren Kimura
bd3247c03b Add dtst and dtsf commands for save and restore sessions. (#7880)
* Add memory diff dump function
* Add base snapshot dump
* Add resotring function
* Fixed some bugs
* Fixed code format
* Removed packed attribute
2017-07-09 12:36:00 +02:00
Khairul Azhar Kasmiran
9be5c81c50 scr.breaklines: Break lines in Visual mode instead of truncating them (#7888)
* Fix #3731 - scr.breaklines: Break lines in Visual mode instead of truncating them
* Fix jk scrolling
2017-07-09 12:35:11 +02:00
pancake
befd046c05 Implement evm assembler, simplify disassembler 2017-07-09 01:54:56 +02:00
pancake
b599bd3dcc Initial support for EVM (The Ethereum Virtual Machine) 2017-07-09 00:53:26 +02:00
alvarofe
151f3c673c Fix /rc in aarch64 - issue due to alignment 2017-07-09 00:21:44 +02:00
j123123
79dd4c5453 fixing some memory leaks at libr/util/strpool.c (#7882)
* fixing some memory leaks at libr/util/strpool.c

and also some codestyle fix

* small codestyle fix :)
2017-07-08 19:21:08 +02:00
alvarofe
825f5e0adc Fix #7866 - add drtj support 2017-07-08 16:45:12 +02:00
Nils Berg
f3a71ed7ba properly sign-extend parameters to SH bt/f instructions in analysis (#7879)
* properly sign-extend parameters to SH bt/f instructions in analysis

* add braces
2017-07-08 14:32:59 +02:00
Srimanta Barua
9e437f861b Added qRcmd monitor commands to io_gdb (#7877)
* Added qRcmd to io_gdb

* Printing reply to pkt and prompting for ack if required. Also adhering to r2 coding conventions
2017-07-08 10:29:11 +02:00
pancake
31a21ac1e7 Add more error checking in handle_redirection_proc 2017-07-07 16:58:52 +02:00
pancake
9c57ebc06a Fix a possible null deref in fi->name for #7872 2017-07-07 16:46:20 +02:00
pancake
5a0551f2b7 Simplify the freeing logic on the aea memory accesses 2017-07-07 12:29:14 +02:00
pancake
afaf94d5d9 aea -> aea* 2017-07-07 01:46:24 +02:00
danitorregrosa
4e7de0487c Fix #7851 - get filesystem abspath instead of URI (#7869)
* Fix #7851 - get filesystem abspath instead of URI
2017-07-07 00:32:02 +02:00
Nils Berg
df82290e43 cast immediate values to unsigned char instead of char (#7871)
for compilers that default to signed char, wrong values were generated by this cast

example:
$ # before
$ rasm2 -a sh -d 'ffc8'
tst 0xFFFFFFFF,r0

$ # after
$ rasm2 -a sh -d 'ffc8'
tst 0xFF,r0
2017-07-07 00:31:37 +02:00
pancake
86949245cd Make the aea output interpretable 2017-07-07 00:22:18 +02:00
pancake
803804b6cd Fix #7872 - Crash in disasm 2017-07-06 23:31:22 +02:00