> lifetime analysis can be done fully automatic for most C code as long as it can be done independently from other program state
Is this an interprocedural or intraprocedural analysis?
> I have seen quite promising work on this.
Is this work public? I'm interested in seeing more!