Concept Flow - Live variable analysis
Start at end of program
Initialize live variables as empty
For each statement backward
Remove variables defined here
Add variables used here
Update live variable set
Repeat for all statements
Result: live variables at each point
Live variable analysis works backward through code, tracking which variables are needed later by removing those redefined and adding those used.