You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Memory blows up on a simple two-dimensional vector example #1226
T-CBMCIssue related to an existing CBMC issue[C] BugThis is a bug. Something isn't working.[E] PerformanceTrack performance improvement (Time / Memory / CPU)
My further changes are all extensions to expression simplification, but it's probably necessary to have union field-sensitivity in place as well for otherwise there might just not be anything to propagate (and then simplify).
T-CBMCIssue related to an existing CBMC issue[C] BugThis is a bug. Something isn't working.[E] PerformanceTrack performance improvement (Time / Memory / CPU)
Activity
zhassan-aws commentedon May 25, 2022
An immutable version of the above program doesn't run out of memory, but it doesn't terminate in 1 hour with an
unwindvalue of 6:If I reduce the
unwindvalue to 5, it finishes in ~25 minutes and uses 7 GB of memory, but an unwinding assertion fails.EDIT: It terminated in 65 minutes with an unwinding of 6 and used 12.6 GB of memory, but an unwinding assertion still failed.
tedinski commentedon May 26, 2022
The probable cause of this is that:
Vecinternally uses unions.nondetremains in that memory.edited to clarify things a bit
Possible experiments:
stdto zero-initialize unions?zhassan-aws commentedon May 26, 2022
Documenting a couple more results:
zhassan-aws commentedon May 27, 2022
For the record, a smaller version of the above program:
completes in 34 minutes with a minimum unwind of 5 and uses 6.3GB of memory.
tautschnig commentedon Nov 9, 2022
With diffblue/cbmc#7230 on top of diffblue/cbmc@70b7cf7baf735f I get "Verification Time: 74.53128s" when it takes 86.885506s using diffblue/cbmc@70b7cf7baf735f and Kani revision 057926b. These are numbers referring to #1226 (comment). It seems further investigation is necessary here.
tautschnig commentedon Nov 9, 2022
Changes to CBMC to be PR'ed, but I have now gotten this down to 2 seconds.
zhassan-aws commentedon Nov 9, 2022
Awesome! Is the PR also related to unions?
tautschnig commentedon Nov 10, 2022
My further changes are all extensions to expression simplification, but it's probably necessary to have union field-sensitivity in place as well for otherwise there might just not be anything to propagate (and then simplify).
Add test for model-checking#1226