soot-oss / soot

Soot - A Java optimization framework
GNU Lesser General Public License v2.1
2.85k stars 706 forks source link

Ensure sound type propagation when Type Mask was not found for Cast Operations #1990

Closed piskachev closed 1 year ago

piskachev commented 1 year ago

This PR makes a sound improvement of the PR #1987. In the previous change the BitVector was set to 0s which will prevent any type known to be propagate. To ensure sound type propagation for the special case in this part of the code, we need to return a BitVector set to all 1s.