Skip to content

[LifetimeSafety] Add loan expiry analysis #148712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: users/usx95/lifetime-safety-liveness
Choose a base branch
from

Conversation

usx95
Copy link
Contributor

@usx95 usx95 commented Jul 14, 2025

This PR adds the ExpiredLoansAnalysis class to track which loans have expired. The analysis uses a dataflow lattice (ExpiredLattice) to maintain the set of expired loans at each program point. The implementation includes:

  • A lattice class to track expired loans
  • Transfer functions for handling loan expiry and issuance
  • Join operations that merge expired loan sets

Copy link
Contributor Author

usx95 commented Jul 14, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@usx95 usx95 changed the title users/usx95/lifetime-safety-add-loan-expiry [LifetimeSafety] Add loan expiry analysis Jul 14, 2025
@usx95 usx95 force-pushed the users/usx95/07-14-users_usx95_lifetime-safety-add-loan-expiry branch from 880cf3b to ed73e3b Compare July 14, 2025 19:49
@usx95 usx95 force-pushed the users/usx95/lifetime-safety-liveness branch from c217d0d to 702d255 Compare July 14, 2025 19:49
@usx95 usx95 force-pushed the users/usx95/07-14-users_usx95_lifetime-safety-add-loan-expiry branch from ed73e3b to a50b00e Compare July 14, 2025 19:52
@usx95 usx95 force-pushed the users/usx95/lifetime-safety-liveness branch 2 times, most recently from 7e098b0 to 793d58e Compare July 14, 2025 20:02
@usx95 usx95 force-pushed the users/usx95/07-14-users_usx95_lifetime-safety-add-loan-expiry branch from a50b00e to a9f1e8d Compare July 14, 2025 20:03
@usx95 usx95 self-assigned this Jul 14, 2025
@usx95 usx95 force-pushed the users/usx95/lifetime-safety-liveness branch from 793d58e to 2bff132 Compare July 15, 2025 09:09
@usx95 usx95 force-pushed the users/usx95/07-14-users_usx95_lifetime-safety-add-loan-expiry branch 5 times, most recently from 6ce3173 to 9265536 Compare July 15, 2025 10:27
@usx95 usx95 force-pushed the users/usx95/lifetime-safety-liveness branch from 2253ff0 to c073ef3 Compare July 15, 2025 10:27
@usx95 usx95 force-pushed the users/usx95/07-14-users_usx95_lifetime-safety-add-loan-expiry branch from 9265536 to 9da8f3a Compare July 15, 2025 10:47
@usx95 usx95 force-pushed the users/usx95/lifetime-safety-liveness branch from c073ef3 to 51afc3e Compare July 15, 2025 10:47
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