actually decompiling binaries or just making a best effort based on the sources presented? I have a compiler plugin injecting stuff in the bytecode that I don’t see in the bytecode viewer. What do people use to debug emitted bytecode when working with compiler plugins? thanks!
i
Ilmir Usmanov [JB]
06/13/2019, 11:01 PM
It calls the compiler, built into plugin with predefined flags.
As for your second question, javap should work just fine. I personally use a asm-based bytecode reader, since its output resembles the bytecode viewer output. Also, javap sometimes fails to disasm complicated suspend functions. Also also, I can write queries to bytecode in kotlin.
r
raulraja
06/13/2019, 11:39 PM
thanks @Ilmir Usmanov [JB] I’ll continue with javap