acurs / smali

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

CustomInlineMethodResolver #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
Can't deodex framework.odex
What is the exact smali/baksmali command that you ran?

java -jar baksmali-2.0.3.jar -a 17 -T inline.txt -d /system/framework -x 
/system/framework/framework.odex

What version of smali/baksmali are you using? What rom are you working
from?

smali/baksmali 2.0.3 Android 4.2.2 on MT6529

What is the airspeed velocity of an unladen swallow?

too fast

Please provide any additional information below: error messages, symptoms,
etc.

Error message

C:\>java -jar baksmali-2.0.3.jar -a 17 -T inline.txt -d //system/framework -x 
/system/framework/framework.odex
Exception in thread "main" java.lang.NullPointerException
  at org.jf.dexlib2.analysis.CustomInlineMethodResolver.parseAndResolveInl
ineMethod(CustomInlineMethodResolver.java:120)

inline.txt contains:

Lorg/apache/harmony/dalvik/NativeTestTarget;->emptyInlineMethod()V
Ljava/lang/String;->charAt(I)C
Ljava/lang/String;->compareTo(Ljava/lang/String;)I
Ljava/lang/String;->equals(Ljava/lang/Object;)Z
Ljava/lang/String;->fastIndexOf(II)I
Ljava/lang/String;->isEmpty()Z
Ljava/lang/String;->length()I
Ljava/lang/Math;->abs(I)I
Ljava/lang/Math;->abs(J)J
Ljava/lang/Math;->abs(F)F
Ljava/lang/Math;->abs(D)D
Ljava/lang/Math;->min(II)I
Ljava/lang/Math;->max(II)I
Ljava/lang/Math;->sqrt(D)D
Ljava/lang/Math;->cos(D)D
Ljava/lang/Math;->sin(D)D
Ljava/lang/Float;->floatToIntBits(F)I
Ljava/lang/Float;->floatToRawIntBits(F)I
Ljava/lang/Float;->intBitsToFloat(I)F
Ljava/lang/Double;->doubleToLongBits(D)J
Ljava/lang/Double;->doubleToRawLongBits(D)J
Ljava/lang/Double;->longBitsToDouble(J)D
Ljava/lang/StrictMath;->abs(I)I
Ljava/lang/StrictMath;->abs(J)J
Ljava/lang/StrictMath;->abs(F)F
Ljava/lang/StrictMath;->abs(D)D
Ljava/lang/StrictMath;->min(II)I
Ljava/lang/StrictMath;->max(II)I
Ljava/lang/StrictMath;->sqrt(D)D
Ljava/lang/Math;->log(D)D
Ljava/lang/Math;->atan(D)D
Ljava/lang/Math;->exp(D)D

Original issue reported on code.google.com by KRed01...@gmail.com on 22 Feb 2014 at 11:58

GoogleCodeExporter commented 9 years ago
This has already been fixed, and will be in the next release. In the meantime, 
you can grab and build the current source.

(https://code.google.com/p/smali/source/detail?r=dd2079cd53c94056436d8c7c26df801
fb210df4d)

Thanks for the report!

Original comment by jesusfreke@jesusfreke.com on 26 Feb 2014 at 3:05