amirbijani / androguard

Automatically exported from code.google.com/p/androguard
0 stars 0 forks source link

Strings shown by dad don't have first and last character #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using the dad decompiler (from androlyze or standalone), the decompiled 
output of strings is wrong: the first and the last character of the string are 
systematically deleted.

Example:
if(v2.equals("rreur Of The Dea") == 0) {

Where the string is "Erreur Of The Dead"

Other example (in another dex):
 v1 = new StringBuilder(String.valueOf(com.Android.Config.ReportUrl)).append("action=add&m").

where appending: ?action=add&m= 

The Dalvik byte code (show() or pretty_show()) of androlyze is correct. It's 
source() that is not with dad.

I am using Androguard 1.6

Original issue reported on code.google.com by aaforti...@gmail.com on 12 Oct 2012 at 11:14

GoogleCodeExporter commented 8 years ago
Yes you re right !

Fixed :)

Original comment by anthony....@gmail.com on 12 Oct 2012 at 11:58