Effect-driven Flow Analysis
Traditional machine-based static analyses use a worklist algorithm to explore the analysis state space, and compare each state in the worklist against a set of seen states as part of their fixed-point computation. This may require many state comparisons, which gives rise to a computational overhead. Even an analysis with a global store has to clear its set of seen states each time the store updates because of allocation or side-effects, which results in more states being reanalyzed and compared.
In this work we present a static analysis technique, ModF, that does not rely on a set of seen states, and apply it to a machine-based analysis with global-store widening. ModF analyzes one function execution at a time to completion while tracking read, write, and call effects. These effects trigger the analysis of other function executions, and the analysis terminates when no new effects can be discovered.
We compared ModF to a traditional machine-based analysis implementation on a set of 20 benchmark programs and found that ModF is faster for 17 programs with speedups ranging between 1.4x and 12.3x. Furthermore, ModF exhibits similar precision as the traditional analysis and yields state graphs that are comparable in size.
Sun 13 Jan
|16:00 - 16:30|
|16:30 - 17:00|
|17:00 - 17:30|