Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed FindDeadLocalStores to handle LOOKUPSWITCH and TABLESWITCH (#2937)
* test: added more tests for false positives * fix: a switch instruction is a BCEL Select LOOKUPSWITCH and TABLESWITCH both extend Select, use the base class to detect the start of a switch in FindDeadLocalStores Updated the line numbers of expected bugs * fix: reverted .* import --------- Co-authored-by: Jeremy Landis <jeremylandis@hotmail.com>
- Loading branch information
Showing
4 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters