-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tainted instruction plugin optimizations.
- Made globals static. - Added "suppress_redundant_taint_reports" option. -- When enabled, won't output the same PC multiple times consecutively. -- Only used when pandalog is not enabled. - In the for loop that computes num_tainted in taint_change: -- Exit early if not pandalogging. -- Further looping in this case isn't necessary as output doesn't change. - Removed redundant ifs. - Fix memory leak (ti->taint_query allocated via malloc was not freed.) - Save "pc = 0x..." generated string in case it can be reused. - Moved assignments to last_asid and last_pc to avoid unnecessary assignments.
- Loading branch information
1 parent
e627660
commit c69bf1e
Showing
2 changed files
with
56 additions
and
55 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