zhangwenan / smali

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

-d, --no-debug-info donesn't work properly #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This option disables only .parameter info. Doesn't disable .line/.local

$ java -jar baksmali.jar --no-debug-info -d system/framework -o 1 -x 
system/framework/am.odex
$ java -jar ../bin/baksmali.jar -d system/framework -o 2 -x 
system/framework/am.odex
$ diff -r 1 2
diff -r 1/com/android/commands/am/Am$InstrumentationWatcher.smali 
2/com/android/commands/am/Am$InstrumentationWatcher.smali
27a28
>     .parameter
47a49,50
>     .parameter "x0"
>     .parameter "x1"
59a63,65
>     .parameter "name"
>     .parameter "resultCode"
>     .parameter "results"
218a225,227
>     .parameter "name"
>     .parameter "resultCode"
>     .parameter "results"
372a382
>     .parameter "rawMode"
diff -r 1/com/android/commands/am/Am$IntentReceiver.smali 
2/com/android/commands/am/Am$IntentReceiver.smali
25a26
>     .parameter
42a44,45
>     .parameter "x0"
>     .parameter "x1"
54a58,63
>     .parameter "intent"
>     .parameter "rc"
>     .parameter "data"
>     .parameter "ext"
>     .parameter "ord"
>     .parameter "sticky"
diff -r 1/com/android/commands/am/Am.smali 2/com/android/commands/am/Am.smali
54a55
>     .parameter "x0"
64a66
>     .parameter "args"
1046a1049
>     .parameter "args"

Original issue reported on code.google.com by stari...@gmail.com on 26 Jun 2010 at 10:36

GoogleCodeExporter commented 9 years ago
Confirmed, thanks for the bug report :)

Original comment by JesusFr...@gmail.com on 26 Jun 2010 at 11:07

GoogleCodeExporter commented 9 years ago
Fixed: http://code.google.com/p/smali/source/detail?r=764

Original comment by JesusFr...@gmail.com on 26 Jun 2010 at 11:19