Improve the tainted analysis of Quark#207
Conversation
|
Hello @haeter525! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-07-10 06:51:12 UTC |
Codecov Report
@@ Coverage Diff @@
## master #207 +/- ##
==========================================
+ Coverage 79.38% 80.75% +1.36%
==========================================
Files 46 46
Lines 2518 2801 +283
==========================================
+ Hits 1999 2262 +263
- Misses 519 539 +20
Continue to review full report at Codecov.
|
|
Thanks @haeter525 for the improvement! |
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 2.13%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Description
This PR aims to add bytecode supports to enhance the tainted analysis. It introduced 227 instructions in total.
The selection principle is to cover all the instructions that make changes to registers.
All of them can be classified into the following five groups.
move-kind)new-array-kind,filled-array-kind,aput-kind)unop-kind,binop-kind)invoke-polymorphic,invoke-custom)move-exception)However, based on reasonable considerations, the PR excludes several instructions:
monitor-start,monitor-end)Code changes
Test Plans