Weird bytecode crashing TypeAssigner? #1283
|
I have a sample Kotlin JarFile which has some strange bytecode that is emitted which is causing issues with the Local variable table that I think is of interest. CFR decompiler creates a void variable to handle the local variable What I'm assuming is happening - but I may be wrong - is that the local I only assume this due to some open issues on the CFR github, which is why it produces a void type - and I assume this is causing an issue with TypeAssigner? If this isn't an issue, is there a way to catch this or limit the TypeAssigner to prevent this crash? Many thanks. |
Replies: 1 comment
|
As soon as I published this I remembered the LocalSplitter BodyInterceptor. By moving this above the TypeAssigner this issue is resolved. I guess my brain was one step ahead, sorry. 😓 |
As soon as I published this I remembered the LocalSplitter BodyInterceptor. By moving this above the TypeAssigner this issue is resolved. I guess my brain was one step ahead, sorry. 😓