[BUG] Heap analyses should react to type conversions and castings #300
Labels
‼ priority:p1
Priority planning - level 1
🎊 resolution:resolved
Bug or feature resolved - might not have been merged to master yet
🔍 scope:analysis
Work regarding abstract domains or fixpoint algorithms
🐛 type:bug
Something isn't working
Milestone
Description
Sometimes, to explicitly invoke a method from a superclass (e.g.,
super.foo()
), the receiver of the call can be set to(Superclass) this
, that is, the current object casted to its supertype. Logic inside heap abstractions should support expressions of this kind: e.g., atlisa/lisa/lisa-analyses/src/main/java/it/unive/lisa/analysis/heap/pointbased/AllocationSiteBasedAnalysis.java
Line 126 in 0be57d8
rhs
might be aBinaryExpression
with aTypeConv
operator.The text was updated successfully, but these errors were encountered: