Skip to content

Conversation

@usx95
Copy link
Contributor

@usx95 usx95 commented Jan 23, 2025

Currently focussing on CFG based return-stack-addr and stack-use-after-scope diagnostics.
This analysis is primarily based on [[gsl::Pointer]], [gsl::Owner]], [[clang::lifetimebound]], <TODO: [[clang::lifetime_capture_by(X)]]> annotations.

<TODO: references are not yet tracked>

For spectators, the tests would be the most useful.

@usx95 usx95 force-pushed the lifetime-cfg branch 7 times, most recently from 2291706 to 4a1f461 Compare January 28, 2025 09:29
@github-actions
Copy link

github-actions bot commented Jan 28, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@usx95 usx95 force-pushed the lifetime-cfg branch 3 times, most recently from be91e32 to fcdadc7 Compare February 2, 2025 17:44
@usx95 usx95 force-pushed the lifetime-cfg branch 8 times, most recently from 52028ae to 5f9375e Compare February 8, 2025 23:23
@usx95 usx95 changed the title [experimental] Detect return-stack-addr using CFG [experimental] DanglingCFG analysis prototype Feb 13, 2025
@usx95 usx95 self-assigned this Jul 19, 2025
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.

1 participant