feat(ir): add TrackedParam struct and SinkVar fields (PR-02)#606
Merged
shivasurya merged 1 commit intomainfrom Mar 14, 2026
Merged
feat(ir): add TrackedParam struct and SinkVar fields (PR-02)#606shivasurya merged 1 commit intomainfrom
shivasurya merged 1 commit intomainfrom
Conversation
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
=======================================
Coverage 83.84% 83.84%
=======================================
Files 155 155
Lines 20936 20937 +1
=======================================
+ Hits 17554 17555 +1
Misses 2739 2739
Partials 643 643 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Mar 14, 2026
Owner
Author
Merge activity
|
…ields Adds TrackedParam to CallMatcherIR and TypeConstrainedCallIR for parameter-level taint sensitivity. Adds SinkParamIndex/SinkParamName to DataflowDetection. Adds SinkVar to TaintDetection populated from usedVar in FindTaintFlows(). Adds TrackedParams to CallSiteMatch. Structural changes only — no filtering logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2e43d4a to
9298363
Compare
Code Pathfinder Security ScanNo security issues detected.
Powered by Code Pathfinder |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
TrackedParamstruct toir_types.gowithIndex *int,Name string,Return boolfieldsTrackedParams []TrackedParamto bothCallMatcherIRandTypeConstrainedCallIRSinkParamIndex/SinkParamNametoDataflowDetectionfor reporting which parameter was taintedSinkVartoTaintDetectionpopulated fromusedVarinFindTaintFlows()— records which variable at the sink carries taintTrackedParamstoCallSiteMatchfor carrying tracking info through the executor pipelineTest plan
gradle buildGopassesgradle testGopasses (zero regressions)gradle lintGopasses (0 issues)gradle lintPythonpassesomitempty🤖 Generated with Claude Code