Closed Bug 433121 Opened 16 years ago Closed 11 years ago

Treehydra: need forward analysis framework

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dmandelin, Unassigned)

References

Details

The Treehydra libs directory has a backward abstract interpretation framework. We need a forward analysis as well. In particular, dead code detection and constant branch detection are forward analyses. 

The obvious thing to do is copy the backward analysis code and switch things around as needed. But the framework is complex enough that it would be nice to share changes and bugfixes across the two. We could do this by instead adding traversal order overrides to the framework. 

Recommendations?
Additional note. So far we've been using the ESP lib for forward analyses, and that seems to work well. In particular, the ESP lib helps handle the destructor blocks and other funny GCC control flow things. So maybe we don't need another forward analysis system.
Dehydra and treehydra are no longer maintained by Mozilla.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.