generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After a bit of profiling I noticed that creating TaintOperations is very expensive. In hindsight this is obvious, as we have to walk the stack to get the location etc. We did however create a lot of TaintOperation objects without ever using them, i.e., due to the string itself being untainted. This change does add explicit checks where possible (in some cases we create the TaintOperation object in advance due to GC issues, this is not easily hidden behind a check) so TaintOperations are only created if the string is actually tainted, i.e., we use the TaintOperation to extend the TaintFlow.
- Loading branch information
Showing
5 changed files
with
86 additions
and
48 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