-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a bug: 'getExitBB' of SVFFunction may get incorrect exit block. (#…
…1262) * fix a bug: 'getExitBlock' of SVFFunction may get incorrect exit block. * handle multi exit basic blocks: introduce a unique exit basic block, and connect all exit basic blocks to it. * 1. remove redundant entry block setting 2. setting exit block more concisely * remove assert about nullness of exit basic block * revise assertion:When caller calls 'getExitBB', let caller ensures the function must have return instruction * make recognizing exit basic block more robust * fix crash: ensure the function has an exit basic block * fix incorrect recognizing exit basic block * revise assert about SVFFunction#back() * fix a crash: before call SVFFunction#getExitBB, need to ensure the function has ret instruction * more clearly setting exit Basic Block * remove redundant method 'hasReturn' in class SVFFunction
- Loading branch information
Showing
6 changed files
with
62 additions
and
12 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
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