Closed
Bug 432925
Opened 17 years ago
Closed 16 years ago
dehydra cfg-like functionality for treehydra
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: taras.mozilla, Assigned: taras.mozilla)
Details
Attachments
(1 file)
1.87 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Attachment #320096 -
Flags: review?(dmandelin)
Comment 1•17 years ago
|
||
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.
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Comment 2•14 years ago
|
||
Comment on attachment 320096 [details] [diff] [review]
iterator
Cleaning up ancient review requests.
Attachment #320096 -
Flags: review?(dmandelin)
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•