Skip to content

saw-core: Add the ability to assert side conditions during simulation #2433

Open
@RyanGlScott

Description

@RyanGlScott

When implementing certain SAWCore primitives, it would be very convenient to be able to add side conditions about the symbolic values in scope during simulation. This is how Cryptol implements some of its corresponding primitives. Some particular examples that are worth calling out:

Despite my attempts to find one, I couldn't find a straightforward way to assert side conditions directly at the SAWCore simulator level (most of the code involving side conditions requires access to a Crucible backend, which the SAWCore simulator lacks). We may need to alter the SAWCore simulator API in order to return a collection of these side conditions so that the call side of the simulator can then assert these side conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    subsystem: saw-coreIssues related to the saw-core representation or the saw-core subsystemtype: feature requestIssues requesting a new feature or capability

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions