Skip to content
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

Use defined functions to represent memory read/writes #333

Closed
danmatichuk opened this issue Sep 20, 2022 · 1 comment
Closed

Use defined functions to represent memory read/writes #333

danmatichuk opened this issue Sep 20, 2022 · 1 comment
Labels
enhancement New feature or request memory model stale Review - close as 'wontfix' or integrate into other ticket

Comments

@danmatichuk
Copy link
Collaborator

Currently memory reads and writes are represented in terms of their primitive byte operations on the underlying memory store. This makes the resulting terms difficult to interpret, as their high-level structure has been lost.

It would be straightforward to instead represent memory reads and writes as defined function calls, which would result in much more understandable terms. In particular, this would likely assist in the future task of generating explanations for traces, which will involve term analysis in order to locate the genesis of divergences between slices.

@danmatichuk
Copy link
Collaborator Author

An initial attempt is in #334, but there are still a fair number of outstanding issues that were introduced from this. In particular a lot of the static evaluation/unfolding that What4 performs on array accesses is no longer applicable.

This would likely need to be resolved by just coming up with a custom simplification step that performs these operations at the level of reads/writes, rather than array accesses.

@danmatichuk danmatichuk added enhancement New feature or request memory model labels Sep 23, 2022
@thebendavis thebendavis added the stale Review - close as 'wontfix' or integrate into other ticket label May 31, 2024
@thebendavis thebendavis closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request memory model stale Review - close as 'wontfix' or integrate into other ticket
Projects
None yet
Development

No branches or pull requests

2 participants