Skip to content

Conversation

@hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented Dec 15, 2025

In preparation for the introduction of workspace structures
at the higher-level APIs, this commit removes all uses of
the CBMC footprint predicate object_whole and instead uses
the more fine-grained memory_slice.

For mlk_poly_getnoise_eta1122_4x, we also remove the sole
use of same_object in the code base, and remove its definition
from cbmc.h.

@hanno-becker hanno-becker marked this pull request as ready for review December 15, 2025 06:58
@hanno-becker hanno-becker requested a review from a team as a code owner December 15, 2025 06:58
@hanno-becker hanno-becker force-pushed the no_object_whole branch 2 times, most recently from 460ce09 to c977b3c Compare December 15, 2025 08:54
@hanno-becker hanno-becker changed the title CBMC: Remove uses of object_whole CBMC: Remove uses of object_whole and same_object Dec 15, 2025
@hanno-becker
Copy link
Contributor Author

@mkannwischer If you're happy with it, let's merge it directly as part of #1379

In preparation for the introduction of workspace structures
at the higher-level APIs, this commit removes all uses of
the CBMC footprint predicate `object_whole` and instead uses
the more fine-grained `memory_slice`.

For `mlk_poly_getnoise_eta1122_4x`, we also remove the sole
use of `same_object` in the code base, and remove its definition
from cbmc.h.

Signed-off-by: Hanno Becker <[email protected]>
@mkannwischer mkannwischer merged commit 71773d9 into main Dec 16, 2025
387 checks passed
@mkannwischer mkannwischer deleted the no_object_whole branch December 16, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CBMC: Replace object_whole with memory_slice in non-top-level contracts

3 participants