Overview of Static Analysis
- Static analysis is applied after a CIVL-C model is obtained from an AST such that
- all concurrency dialect features are translated using CIVL-C primitives/libraries;
- side effects are only contained by assignment or function call;
- all unused code (statically) is removed;
- the main function doesn't take any parameters.
Therefore, the CIVL-C model which is the input of the static analysis also has the above features.
- Static analysis done by CIVL includes:
- purely local analysis details...
- figure out purely local variables
- figure out purely local statements
- figure out purely local locations
- identifying variable used as operand of address-of operator
- identifying assignment with left hand side being dereference expression (
*p=...) - identifying the applicable analyzer for each statement
- currently, there is only one analyzer:
abs(absolute value) call analyzer
- currently, there is only one analyzer:
- for locations:
- computing the set of variables writable at/from a location details...
- purely local analysis
- loop analysis
- memory unit analysis:
- reachable memory units
- impact memory units
- purely local analysis details...
Last modified
10 years ago
Last modified on 12/09/15 11:01:31
Note:
See TracWiki
for help on using the wiki.
