Closed Bug 432925 Opened 17 years ago Closed 16 years ago

dehydra cfg-like functionality for treehydra

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

Details

Attachments

(1 file)

Attached patch iteratorSplinter Review
No description provided.
Attachment #320096 - Flags: review?(dmandelin)
1. Would you mind renaming some things, for more descriptiveness and to match the existing abstract interpretation stuff: iter -> flowState structurally_equal -> equal duplicate -> copyState initial_state -> initState preconditions -> seenStates guard -> seenStateMap (actually, I'm a bit unsure about the "seen" part. "visited" or something may be better.) 2. Note that there are sink bbs (i.e. having no successors) other than the exit block. I think they happen with exceptions (and you will see them in any method that does memory allocation). You may want to call path_end for those as well. And you probably want to provide an argument that indicates whether it's a normal exit or not. Alternatively, you might want to exclude those paths from the traversal entirely--AFAIK they never contain anything interesting. My Python prototype stuff did that. I just looked up and it did it by first finding all the nodes that can reach the exit block, and then traversing only those nodes.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Comment on attachment 320096 [details] [diff] [review] iterator Cleaning up ancient review requests.
Attachment #320096 - Flags: review?(dmandelin)
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.

Attachment

General

Created:
Updated:
Size: