Commit Graph

15135 Commits

Author SHA1 Message Date
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
SkUaTeR
41726dbe73 fix ouput of aerR/aer* (#7870) 2017-07-06 16:07:34 +02:00
Srimanta Barua
b1996bcffe Removed eprintfs before release (#7865) 2017-07-06 00:26:59 +02:00
Khairul Azhar Kasmiran
3f9eae9c60 Remove | highlight with asm.cmtright=false and call statement (#7864) 2017-07-05 17:01:43 +02:00
pancake
39e63acfe0 Fix last COVs (double free and memleak in grub code) 2017-07-05 13:13:53 +02:00
Sven Steinbauer
b61e278c01 Conditionally remove sh for iOS 2017-07-05 13:01:02 +02:00
pancake
213f8170de Fix fork detection 2017-07-05 07:30:16 +02:00
j123123
f3f71b195b Add NULL check at shlr/sdb/src/json/api.c (#7859) 2017-07-05 06:52:56 +02:00
j123123
5df164157f added NULL check and memory leak fixed in libr/util/w32-sys.c 2017-07-05 03:40:14 +02:00
Lowly Worm
949efc35e8 ignore some binaries 2017-07-04 14:00:53 -07:00
Lowly Worm
cca0ff90c2 clang-format 2017-07-04 13:59:58 -07:00
Srimanta Barua
6d5585fc68 Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5) 2017-07-04 19:44:09 +02:00
pancake
c57997e76e Fix r2_hbo_grub_memmove ext2 crash 2017-07-04 19:38:33 +02:00
pancake
8c3035acc2 Fix ios-sdk builds 2017-07-04 19:16:24 +02:00
Khairul Azhar Kasmiran
41b944b357 asm.strenc (latin1) (#7857) 2017-07-04 18:56:14 +02:00
Kenny MacDermid
e04b82059a Fix generated ESIL for AVR flags. (#7852)
A typo of `__generic_sub_update_flags_rr` meant that the generated
code contained the immediate as a register, resulting in the flags
not being set correctly.

After switching this to `_rk` the format of the immediate values were
still incorrect because they were being output as hex without the `0x`
prefix. This was changed to output decimal instead, as that matches the
format of the result value when doing operations like `cpi`. For
example:

    cpi r26, 0x2e
    46,r26,-,r26,0x08,&,!,46,0x08,&...

The format for the `__generic_add_update_flags` was also fixed, but
as there is currently no `_rk` version it doesn't affect anything.
2017-07-03 01:46:47 +02:00
pancake
7e4d73947d Fix build 2017-07-02 23:39:30 +02:00
pancake
50643229e7 Make Vb run dbs like key.f2 for consistency 2017-07-02 23:37:13 +02:00
Lowly Worm
704e057cc0 enable breakpoints when using f2 2017-07-02 14:34:39 -07:00
Srimanta Barua
d453d7430f pid/tid specific continue with signal for gdb (#7848)
* Corrected tid syntax, added pid/thread-specific continue
* Added continue with sig
2017-07-02 19:09:04 +02:00
Chinmay Deshpande
9dc2fc6bc5 Removes additional 'esil' from pdj output (#7850) 2017-07-02 11:42:26 +02:00