-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heapster bugfixes for tcCFG #1414
Conversation
…ucible BlockIDs they were created from
…t widening iteration, to allow everything to quiesce
buildBlockIDMap (viewAssign -> AssignExtend asgn _) = | ||
Ctx.extend (fmapFC extendBlockIDTrans $ buildBlockIDMap asgn) | ||
(BlockIDTrans Member_Base) | ||
buildBlockIDMap blks = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not critical, but since this only uses the size of the incoming assignment, it might be nice to take the Size
directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh, yes, good suggestion!
I am merging this manually because I have run the CI locally and confirmed that everything works correctly, and because the github CI does not seem to be running...? |
Fixed two bugs in the top-level type-checker for CFGs,
tcCFG
:deleteEntryCallees
was keeping the call sites it was supposed to deletetcCFG
was limited to 5 iterations that allow widening before we have to stop, to avoid an infinite loopI also changed the
Show
method forTypedBlockID
andTypedEntryID
so that the block numbers are printed the same as the corresponding standard Crucible block numbers.