Direct .java to .smali conversion. Possible?

前端 未结 1 1121
刺人心
刺人心 2020-12-16 03:25

I\'m working with baksmali/smali tools. But sometimes I need to compile .java class to .smali file. So I\'ve to first compile it with Eclipse and second disassemble the .AP

1条回答
  •  旧时难觅i
    2020-12-16 04:04

    "javac" or similar program can be used to convert the source code to .class.

    Android's "dx" is used to convert .class to Dalvik .dex.

    The result of that can be processed with the Smali tools. You should be able to invoke all of these directly from a script.

    0 讨论(0)
提交回复
热议问题