Skip to content
/ vast Public
forked from trailofbits/vast

VAST is an experimental frontend designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.

License

Notifications You must be signed in to change notification settings

MATRIXKOO/vast

 
 

Repository files navigation

Build & Test C++ Linter License

VAST: MLIR for Program Analysis

VAST is a library for program analysis and instrumentation of C/C++ and related languages. VAST provides a foundation for customizable program representation for a broad spectrum of analyses. Using the MLIR infrastructure, VAST provides a toolset to represent C/C++ program at various stages of the compilation and to transform the representation to the best-fit program abstraction.

For further information check trailofbits.github.io/vast/.

Try VAST

You can experiment with VAST on compiler explorer. Feel free to use VAST and produce MLIR dialects. To specify the desired MLIR output, utilize the -vast-emit-mlir=<dialect> option. Currently, the supported options are:

  • -vast-emit-mlir=hl to generate high-level dialect.
  • -vast-emit-mlir=llvm to generate LLVM MLIR dialect.

Refer to the vast-front documentation for additional details.

License

VAST is licensed according to the Apache 2.0 license. VAST links against and uses Clang and LLVM APIs. Clang is also licensed under Apache 2.0, with LLVM exceptions.

This research was developed with funding from the Defense Advanced Research Projects Agency (DARPA). The views, opinions and/or findings expressed are those of the author and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.

Distribution Statement A – Approved for Public Release, Distribution Unlimited

About

VAST is an experimental frontend designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 74.8%
  • C 16.7%
  • CMake 6.3%
  • Python 1.4%
  • Other 0.8%