Commit graph

12035 commits

Author SHA1 Message Date
pancake
e935aca270 Set esil->address before calling esil.parse 2016-06-13 15:05:48 +02:00
Ahmed Mohamed Abd El-MAwgood
0027246ec4 Fixing arguments docs 2016-06-13 13:09:46 +02:00
pancake
c883c0354f Simplify some arm esil expressions 2016-06-13 11:57:21 +02:00
pancake
3861032686 LDR PC is considered UJMP 2016-06-13 11:31:08 +02:00
pancake
8a82e5cae6 Implement 'cbz' in armass-thumb 2016-06-13 11:12:20 +02:00
pancake
3d9bea75ab Fixing some ARM regressions 2016-06-13 10:13:28 +02:00
pancake
26f71f342b Update capstone from -next 2016-06-12 23:47:34 +02:00
pancake
889ff52f37 Bring back the previous disasm changes 2016-06-12 23:42:40 +02:00
pancake
b829244c19 Fixes for thumb/arm string references and endian refptr 2016-06-12 23:42:37 +02:00
Lukas Dresel
8f6c4716e0 Fixed 64bit enum support for structures where size was calculated incorrectly (#5122)
* Implemented 8 byte enumeration format size

Bug found with
po elf64
pf [4]? (elf_shdr)h

Notice how the name of the next section overlaps in address with the previous
section's entsize

* Adjusted coding style
2016-06-12 23:40:58 +02:00
Ahmed Mohamed Abd El-MAwgood
13d8e65426 Enhancing comments for vars/aegs (#5127)
Adding locality properity to variable and argument comments

the old implementation made use of the standard r_meta functions to create comments using the frame offset as the address. this caused problems because more than one function might have variable at the same offset (with respect to each ones stackframe). so they will overwride each others comments.

adding `base64:` feature

prevening CC from processing var/args comment (in wrong manner)
2016-06-12 23:39:40 +02:00
jnahorny
f7b8f4c1ea Get rid of the error when 'mkdir' wanted to remove unexisting directory (#5128) 2016-06-12 23:16:36 +02:00
pancake
3081b3b5d6 Fix ? floating point values 2016-06-12 22:50:20 +02:00
Maijin
f3ee978361 Fix typo Cr -> Cv
@oddcoder
2016-06-11 12:55:09 +02:00
megabug
534cc69a79 Fix trimbits (#5120) 2016-06-11 12:09:39 +02:00
Ahmed Mohamed Abd El-MAwgood
b7c4d1eeb0 enabling Commenting using both index as well as name (#5118) 2016-06-11 11:07:58 +02:00
Jeffrey Crowell
7c3fb53a5e fix disassembling 'backwards'
(e.g. pd -5) producing wrong output

fixes #5105
2016-06-11 10:59:42 +02:00
pancake
20bd6003ae Fix undefined behaviour issue in zip.inflate 2016-06-10 19:13:15 +02:00
Ahmed Mohamed Abd El-MAwgood
2d76ac0383 Implementing comments on arguments and vars (#5115) 2016-06-10 18:08:12 +02:00
Sven Steinbauer
deebcc5f46 Add check for 64bit overflow (#5116) 2016-06-10 17:02:51 +02:00
pancake
11fde024c0 Fix asm.emu issue 2016-06-10 16:31:37 +02:00
pancake
d1b5737a59 Add anal.vinfunr 2016-06-10 15:31:38 +02:00
pancake
b25c520428 Do not realign non-code ARM symbols (strings and such) 2016-06-10 12:18:32 +02:00
pancake
3ffffd367f Only show fcn bit mode if different than current one 2016-06-10 10:57:43 +02:00
Jeffrey Crowell
412f81590c note a caveat in r_str_ichr 2016-06-10 03:11:26 +00:00
Jeffrey Crowell
ef59d3aa7f make a note of TODO in str.c 2016-06-10 02:17:31 +00:00
Jeffrey Crowell
3e8a0cc693 replace usage of killed r_str_trim 2016-06-10 01:12:07 +00:00
Jeffrey Crowell
50417301a9 fix description of r_str_word_set0 2016-06-09 23:47:41 +00:00
Jeffrey Crowell
32037244ce kill r_str_trim 2016-06-09 23:43:46 +00:00
Jeffrey Crowell
4cd58acaca comment more string functions, kill some duplicated functions. 2016-06-09 23:43:46 +00:00
HummyPkg
b9aea669d3 Background web server does not honour port parameter 2016-06-09 23:43:42 +02:00
pancake
c65edef137 Always store fcn->bits info on analyze 2016-06-09 23:34:55 +02:00
pancake
91e6b11b11 Add another noreturn function for uclibc 2016-06-09 23:34:52 +02:00
Jeffrey Crowell
ed47ce4fb3 add missing ; in debug_native.c 2016-06-09 21:16:02 +00:00
leberus
6b1a46be23 Add: Generate Coredump - added support for threads and x86 (#5104)
* Add: Generate Coredump - added support for threads and x86

* Fix: debug_native.c allow coredump for i386 too
2016-06-09 22:23:39 +02:00
Joshua J. Drake
a4b21680d8 Re-work r_debug_native_map_get to fix issues (#5108)
* Fixes #4972
* Check more return values
* Improve error reporting
* Minor formatting fixes
2016-06-09 22:12:16 +02:00
pancake
2ca927caea Add anal.vinfun for aav (only grab values outside function boundaries) 2016-06-09 21:52:25 +02:00
Jeffrey Crowell
1b1578e25e fix accidental commit that broke hex2int 2016-06-09 18:40:52 +00:00
Jeffrey Crowell
98d258339a more r_util comments 2016-06-09 18:16:47 +00:00
Jeffrey Crowell
b4c39b5b35 begin adding some documentation to r_str functions
r_util needs some documentation if it is to be unit tested.
2016-06-09 17:42:27 +00:00
Álvaro Felipe Melchor
21d554846d fix mem leak java code 2016-06-09 18:27:55 +02:00
Álvaro Felipe Melchor
f018c2e727 Fix #5106 2016-06-09 18:17:51 +02:00
Jeffrey Crowell
c85a6dd9a3 reenable unit tests now that they link properly 2016-06-09 15:31:39 +00:00
Anton Kochkov
5456670208 Add basic r2pm information 2016-06-09 11:45:47 +03:00
Jeffrey Crowell
bfe3debc50 disable unit tests for now... 2016-06-09 00:31:23 -04:00
Jeffrey Crowell
4d5630ed30 make r_str_replace_char_once actually do only once 2016-06-09 00:11:59 -04:00
pancake
8340b342c4 Fix crash in last commit 2016-06-08 23:33:31 +02:00
Karol Harasim
df8fba3364 Get rid of global ESIL vars in disasm.c (#5102) 2016-06-08 21:16:00 +02:00
Jeffrey Crowell
a25ef5b3bb remove duplicate char counting functions in r_util 2016-06-08 16:40:44 +00:00
Ahmed Mohamed Abd El-MAwgood
000c602348 FIX #5096 (#5101) 2016-06-08 18:13:36 +02:00