Repository navigation
Conversation
celinval
reviewed
Dec 2, 2022
celinval
left a comment
Contributor
There was a problem hiding this comment.
We should eventually get rid of the [no_mangle] stuff. I think only the legacy linker depends on it now. That said, I think this is a small enough change that is an improvement. We can remove the export name once we get rid of [no_mangle].
My only ask is to add a similar test for concrete playback. Thanks
YoshikiTakashima
force-pushed
the
661-different-harness-option2
branch
from
December 7, 2022 15:42
ade900b to
a212111
Compare
This aims to resolve model-checking#661 and is option 2 proposed by @tedinski.
YoshikiTakashima
force-pushed
the
661-different-harness-option2
branch
from
December 7, 2022 16:47
87d1214 to
bd71a35
Compare
YoshikiTakashima
force-pushed
the
661-different-harness-option2
branch
from
December 7, 2022 21:38
add4747 to
62e00af
Compare
YoshikiTakashima
force-pushed
the
661-different-harness-option2
branch
from
December 7, 2022 21:40
62e00af to
bcbd79e
Compare
celinval
reviewed
Dec 7, 2022
YoshikiTakashima
force-pushed
the
661-different-harness-option2
branch
from
December 7, 2022 22:29
e18ddb1 to
b1df1f5
Compare
Contributor
Author
|
@celinval Modulo any major bugs, I think this should address the comments. Also, I can't press the merge button, so please merge when you think it's ready. |
celinval
approved these changes
Dec 8, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
Changes
kani_macrosto export harnesses with fully qualified paths, not name of function. Adjusts concrete-playback since it relies on this path.Resolved issues:
Partial resolution of #661 (full path, still has
#[no_mangle])Call-outs:
#[no_mangle]b/c I though it was required for forcing codegen. TODO: Check if this is really the case.Testing:
How is this change tested? tests/kani/FunctionCall_MultiModuleSameHarnessName/main.rs
Is this a refactor change? No
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.