Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for the fix: Only propagate constants which are not null, otherwi…
…se you get a null_type in the type hierarchy
- Loading branch information
f6f3522
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a strange behavior with this piece of code (and probably the previous version).
The following Java code
Has the following Jimple code
I fixed my example by modifying line 258 into
However I'm not sure it is the right fix.
f6f3522
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix seems to be ok for me. I will push it to the "develop" branch. In fact, the wrong side got cast here. It makes much more sense to cast the constant than to cast the target of the assignment. Thank you for reporting that one!