Skip to content

[BUG] Retrieving analysis states before non-root statements #189

@lucaneg

Description

@lucaneg

Description
When invoking CFGWithAnaysisResults.getAnalysisStateBefore(statement), the returned value is the least upper bound of the post states of all its predecessors. The list of predecessors are calculated through the adjacency matrix, and this is a problem for non-root statements: since they don't represent a node of the graph, the matrix's computation will throw an exception. Whenever the pre-state of a non-root statement is queried, we have to handle this specific case.

Metadata

Metadata

Assignees

Labels

⁉ priority:p2Priority planning - level 2🎊 resolution:resolvedBug or feature resolved - might not have been merged to master yet🐛 type:bugSomething isn't working🔍 scope:analysisWork regarding abstract domains or fixpoint algorithms

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions