I have a smali file and I want to know how to convert the smali file into an org.jf.dexlib2.iface.ClassDef object via the smali library.
I have an idea now: The dex file of the smali file will be obtained by the baksmali.disassembleDexFile() a method, and a new DexFile object can be generated to obtain the org.jf.dexlib2.iface.ClassDef object, but if the dex is large enough, it is too expensive.
So ask everyone to help me.