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

release: sync with internal Picus #66

Merged
merged 56 commits into from
Mar 13, 2024

Conversation

sorawee
Copy link

@sorawee sorawee commented Mar 8, 2024

No description provided.

sorawee and others added 30 commits March 8, 2024 15:29
* Setup pre-release files

* Setup release files

---------

Co-authored-by: sorawee <[email protected]>
Co-authored-by: shankarapailoor <[email protected]>
Prior this commit, yvec will reuse input variables from xvec
which is sound because we assume that they are equal anyway.
However, this reusing adds complexity to Picus.
This commit removes the reusing, simplifying the codebase.
The removal should also not affect performance,
since SMT solvers are very good at dealing with equalities.
This also allows modular verification to be programmed more
straightforwardly.
…eridise#22)

Previously, we added them during a constraint optimization pass as
a part of the AST traversal. This is not ideal for many reasons.
First, we only want to include the definitons once,
but the AST traversal opens an opportunity to accidentally include them
more than once (e.g. if we happen to have a rcmds as a subnode of another node).
Second, it meant that we needed the pdef? parameter so that
on alternative constraints, the prime definitions are omitted.
The refactoring simply put the definition inclusion at the top-level,
simplifying the optimization pass.
* chore: clean up indentation

* logging: log inferred known vars
@sorawee sorawee force-pushed the 24-03-08-release-picus branch from 0b484bd to 0ff3926 Compare March 8, 2024 15:07
@sorawee sorawee force-pushed the 24-03-08-release-picus branch from 0ff3926 to ace287f Compare March 11, 2024 16:59
Copy link
Collaborator

@shankarapailoor shankarapailoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sorawee sorawee merged commit 138b151 into Veridise:main Mar 13, 2024
1 check passed
@sorawee sorawee deleted the 24-03-08-release-picus branch March 13, 2024 22:04
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.

4 participants