SootUp icon indicating copy to clipboard operation
SootUp copied to clipboard

Likely also a bug in FutureSoot

Open linghuiluo opened this issue 3 years ago • 3 comments

For some Lombok-generated build methods, the old soot doesn't not terminate in soot.asm.AsmMethodSource#convert @kadirayk I'm afraid this is a deep bug in the bytecode front end. It would be great we can test this and add a test case here. Can you assign a student to do this?

The Java code and the bytecode is in the out folder inside this zip. CossiInput.zip

linghuiluo avatar May 12 '21 06:05 linghuiluo

Sure, we'll test it. Thanks.

kadirayk avatar May 12 '21 07:05 kadirayk

I am pretty sure this is a bug in the bytecode front end, since the AsmMethodSource is simply copied from the old soot. It is probably not an issue in the source code front end, because WALA handles this properly.

linghuiluo avatar May 14 '21 14:05 linghuiluo

This is indeed a bug, it results in a stack underrun in AsmMethodSource.convertMethodInsn()

bastihav avatar Jun 30 '21 14:06 bastihav