Related issue upstream: https://github.com/phan/phan/issues/4530
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Daimona | T274780 Correctly process argument links when backpropagating EXEC taintedness | |||
| Open | Daimona | T281479 Implement NUMKEY propagation the proper way | |||
| Open | Daimona | T281478 Backpropagate method links without TaintednessBackpropVisitor | |||
| Resolved | Daimona | T281475 Avoid setting EXEC bits on variables | |||
| Resolved | Daimona | T269816 Investigate running taint-check with analyze-twice | |||
| Resolved | BUG REPORT | Daimona | T290515 Don't report duplicated issues with different caused-by lines |
Event Timeline
Change 719309 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):
[mediawiki/tools/phan/SecurityCheckPlugin@master] [WIP] Duplicated issues
Turns out this is non-trivial to do (in a cheap-ish way). I guess we could just leave duplicates for now, so not currently working on this.
Change 719309 merged by jenkins-bot:
[mediawiki/tools/phan/SecurityCheckPlugin@master] Document status quo with duplicated issues
For --analyze-twice specifically, things got better thanks to upstream change https://github.com/phan/phan/pull/5495, which changed the first pass of --analyze-twice so that it doesn't actually emit any issues. I'm going to upgrade to phan >= 6.0.3 to get this fix.
I am also going to assume that duplicated issues can't otherwise be reported (without --analyze-twice), and that the upgrade will therefore resolve this.
Change #1267087 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):
[mediawiki/tools/phan/SecurityCheckPlugin@master] Upgrade phan to ~6.0.5
Change #1267087 merged by jenkins-bot:
[mediawiki/tools/phan/SecurityCheckPlugin@master] Upgrade phan to ~6.0.5