romainguy / kotlin-explorer

Desktop tool to quickly explore disassembled Kotlin code.
Apache License 2.0
771 stars 23 forks source link

Fix Line Table Parsing in ByteCodeParser #64

Closed alonalbert closed 1 month ago

alonalbert commented 1 month ago

The existing code assumes that the line table comes right after the code section but this is not always the case.

For example, if there are try-catch blocks in the code, the exception table will come before the line table.