Skip to content

PTP: Improve handling of global structs#2799

Open
morbitzer wants to merge 20 commits into
mainfrom
mm/ptp-globalstruct
Open

PTP: Improve handling of global structs#2799
morbitzer wants to merge 20 commits into
mainfrom
mm/ptp-globalstruct

Conversation

@morbitzer

Copy link
Copy Markdown
Collaborator

In some occasions, the PtP was not able to correctly draw the prevDFG of PMVs. This should be fixed with this PR.

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 72.14%. Comparing base (aeb76d2) to head (85caecf).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...lin/de/fraunhofer/aisec/cpg/passes/PointsToPass.kt 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
...lin/de/fraunhofer/aisec/cpg/passes/PointsToPass.kt 84.80% <88.88%> (+<0.01%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@morbitzer morbitzer marked this pull request as ready for review June 22, 2026 08:43
// Since we already have the argVal, AKA the memoryAddress
// of the argDerefVal, we simply fetch the last write for the
// argVal from the declarationState and add the properties
// TODO: what if argVal is global?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this question one that we can address in this PR, is not relevant anymore or is here as a reminder for the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants