Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 601 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 601 Bytes

software-analysis-tool

A basic framework software analysis and optmizer written in Haskell

Functionality

This framework can perform basic control flow analysis of an AST representing an imperative programming language called "While".

Implementation

Implemented with Monads. User must implement their custom lattice and transfer functions, like the illustration below shows.

alt text

Example use

An example analysis and optimizer for live variable analysis can be found in LiveVariable.hs, just load it in ghci and call test1.