Skip to content

v0.5.4

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Jun 12:03
· 32 commits to master since this release

New Features

  • New frontend for converting input Java programs to Tai-e IR.
    • Integrate our new frontend (OOPSLA'25), which is significantly faster and more reliable than the previous Soot-based frontend.
    • Add option --ssa to enable SSA IR generation.
    • Support parsing Java programs up to Java 25.
    • Preserve source-level variable names in generated Tai-e IR when they are available in bytecode.
    • Add option --jre-dir to specify the JRE directory for the Java library selected by -java.
  • Add Android analysis plugin.
    • Integrate PacDroid (ICSE'25), our pointer-analysis-centric framework for Android apps, into Tai-e's pointer analysis.
    • Add option --android-mode to enable Android mode.
    • Add option --android-jars to specify the Android platform jars required for Android analysis.
    • Model key Android framework semantics, including lifecycle/callback behaviors, inter-component communication (ICC), and other common Android features such as intent extras and asynchronous execution.
  • Add Spring DI and WEC analysis plugin.
    • Add pointer-analysis option spring to enable the built-in Spring Framework analysis plugin.
    • Model Spring dependency injection (DI) by collecting bean definitions from configured annotations, @Bean factory methods, and XML bean configurations.
    • Simulate Spring-managed constructor, field, and method injection, including qualifier/name-based and type-based bean resolution.
    • Collect Spring Web endpoint configurations (WEC) from controller and request-mapping annotations, and add endpoint handlers as entry points with receiver beans and mock parameters.
    • Provide spring-plugin-config.yaml to configure supported DI annotations, XML tags, and WEC annotations.
  • Add backends in pascal.taie.backend for Tai-e IR
    • Add a bytecode backend to convert Tai-e IR into Java bytecode and JAR archives.
    • Add a simple virtual machine to interpret Tai-e IR. This VM is not fully-fledged and is intended mainly for testing purposes.

Contributors

We would like to thank the following community members for their contributions to this release: Chenxi Li, Haoran Lin, Tian Tan, Menglong Chen, Zheyu Zhong, Teng Zhang, Jinpeng Wang, yahyachan, Jaic1, YaphetsH, cs-cat, Hengbin Zheng, Yufei Liang.