Skip to content

v0.2.2

Latest
Compare
Choose a tag to compare
@silverbullettt silverbullettt released this 23 Sep 12:36
· 196 commits to master since this release

New Features

  • Add option --app-class-path.
  • Add option --keep-results.
  • Add option --output-dir.
  • Add option -wc, --world-cache-mode.
  • Add def-use analysis.
  • Add dominator-finding algorithm.
  • Add generics signature information for Class, Method, and Field.
  • Include documentation source in the repository.
  • Taint analysis
    • Support taint source for arguments of method calls and method parameters.
    • Support taint source for field loads.
    • Support taint sanitization for method parameters.
    • Dump taint flow graph.
    • Support loading multiple taint configuration files.
    • Support taint transfer between variables and instance fields/array elements.
    • Support call-site mode.
  • Pointer analysis
    • Support adding entry points of the program to analyze.
    • Support analysis time limit.
    • Support propagation for values of primitive types.
    • Support hybrid inference-based and log-based reflection analysis.
    • Add Solar reflection analysis (TOSEM'19).
    • Support annotation-based invoke handler registration.
    • Support dumping points-to set in YAML format.

Breaking Changes

  • Option and configuration changes
    • Change All dump related options. Previously, most dump options require users to specify a path to dump file; now, Tai-e uses fixed path for dump file (the file name is fully fixed, and users can still change dump directory via option --output-dir), so that users only need to specify true or false for all dump options.
    • Rename analysis class-dumper to ir-dumper.
    • Pointer analysis
      • Replace merge-string-constants by distinguish-string-constants.
      • Replace action by dump and expected-file.
    • Taint analysis
      • Require to add kind to source configurations. Previously, the taint analysis only supports one kind of sources, i.e., result of method call. Now, we support more kinds of sources, including argument or result of method call (kind: call), and method parameter (kind: param) , so users need to specify kind of each source. Please see an example.
  • API changes
    • Change pascal.taie.analysis.pta.core.heap.HeapModel.getMockObj(String,...) to HeapModel.getMockObj(Descriptor,...).
    • Change APIs of pascal.util.graph.Edge and its subclasses.
    • Change return type of Exp.getUses() to Set<RValue>.
    • Change return type of Stmt.getUses() to Set<RValue>.