-
Notifications
You must be signed in to change notification settings - Fork 97
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
MPSC Channel test case times out. #1286
Labels
[E] Performance
Track performance improvement (Time / Memory / CPU)
Comments
Just to clarify: It times out with the |
@tedinski It's timeout with Text on original issue is also fixed. |
YoshikiTakashima
added
Area: verification
[E] Performance
Track performance improvement (Time / Memory / CPU)
labels
Jun 16, 2022
tedinski
changed the title
Tracking issue: MPSC Channel test case times out.
MPSC Channel test case times out.
Aug 26, 2022
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 20, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
3 tasks
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 21, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 21, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 21, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 24, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 24, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 24, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286 Fixes: model-checking#1781
tautschnig
added a commit
to tautschnig/kani
that referenced
this issue
Apr 25, 2023
CBMC's heap allocator will produce objects that aren't just a byte array when a prior call to `size_of` was involved in computing the number of bytes to be allocated via malloc/calloc/realloc. This, in turn, permits type-safe member accesses to heap-allocated objects. This should speed up copying as well as all other operations on the resulting object (which will then not have to go through byte extract/byte update operations). It also seems that there no longer is a "size_of" intrinsic. Fixes: model-checking#1286
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracking issue
Originally posted by @danielsn in #1285 (comment)
Running
on the following code times out as of Kani 0.4.0 on M1 Mac, cargo 1.63.0-nightly (85e457e15 2022-06-07). Note that
kani::unwind(1)
fails to verify, andkani::unwind(2)
or not putting an unwind limit leads to timeout.The text was updated successfully, but these errors were encountered: