Closed hillwangsec closed 1 month ago
Our new front-end have supported Java 21, but the release is still pending as there are some remaining tasks to complete. We appreciate your patience in the meantime. ๐
Sure & Thanks for attention~ And the released frond-end in Tai-e now based on Soot is packaged to lib/sootclasses-modified.jar. we see that the latest Soot now has support JDK21, so is it convenient to share the source code of sootclasses-modified.jar? Maybe we can also try to upgrade it at the same time.
best wishes!
Here is the file for you: sootclasses-modified.zip.
Thanks a lot๏ผ
๐ Overall Description
When the input -acp parameter path is the .class bytecode generated from jdk21 compilation. Tai-e could not work and always output the exception: java.lang.IllegalArgumentException: Unsupported class file major version 65.
And from Tai-e document, shown that:
Currently, Tai-e leverages Soot frontend to parse Java programs and help build Tai-eโs IR. Soot contains two frontends, one for parsing Java source files (.java) and the other one for bytecode files (.class). The former is outdated (only partially supports Java versions up to 7); while the latter, though quite robust (works properly for the .class files compiled by up to Java 17), cannot fully satisfy our requirements.
So, here would like to check that if now the Tai-e analysis framework is still unable to support the projects compiled by jdk21. thanks๏ผ
๐ฏ Expected Behavior
Support to analyze the jdk21 .class bytecode by Tai-e framework.
๐ Current Behavior
Exception in thread "main" java.lang.IllegalArgumentException: Unsupported class file major version 65
Exception occurred in the source code:
๐ Reproducible Example
Any classes produced by jdk21 compilation.
โ๏ธ Tai-e Arguments
๐ Click here to see Tai-e Options
```yaml {{The content of 'output/options.yml' file}} ```๐ Click here to see Tai-e Analysis Plan
```yaml {{The content of 'output/tai-e-plan.yml' file}} ```๐ Tai-e Log
๐ Click here to see Tai-e Log
``` {{The content of 'output/tai-e.log' file}} ```โน๏ธ Additional Information
Have any idea or suggestion now to support jdk21 byte code?