Skip to content

implement comment injections#183

Open
Ferinko wants to merge 12 commits intomasterfrom
ferinko/annotate_smts
Open

implement comment injections#183
Ferinko wants to merge 12 commits intomasterfrom
ferinko/annotate_smts

Conversation

@Ferinko
Copy link
Copy Markdown
Contributor

@Ferinko Ferinko commented Mar 1, 2023

This PR implements:

  • machinery for adding comments into raw *.smt2 queries
  • usage of said machinery to annotate the most common things we encounter

@Ferinko Ferinko force-pushed the ferinko/annotate_smts branch 2 times, most recently from 4a1095e to c5f0571 Compare March 1, 2023 00:46
@Ferinko Ferinko force-pushed the ferinko/checkpoint_gone branch from 0966f3d to e490654 Compare March 1, 2023 11:10
@Ferinko Ferinko force-pushed the ferinko/checkpoint_gone branch from 5eaa318 to 7b81e67 Compare March 10, 2023 10:16
@langfield langfield force-pushed the ferinko/checkpoint_gone branch from 7b81e67 to 466b9fd Compare March 10, 2023 13:31
In this commit, we add a function `userAnnotatedSources` which replaces
`isStandardSource`. It generates a list of all the user annotated
ScopedFunctions. This list is used to filter modules for solving. This
requires a slight refactor within `FunctionAnalysis.hs`.

* Add `extern_remove_dirty` test.

The basic idea is this:
1. Find all wrapper functions.
2. Compute their respective set of reachable functions.
3. Mark them all as 'don't check' unless they are referenced from a
   different source as well.
@langfield langfield changed the base branch from ferinko/checkpoint_gone to master March 24, 2023 17:58
@Ferinko Ferinko force-pushed the ferinko/annotate_smts branch 2 times, most recently from 8e8119e to 76ac907 Compare March 27, 2023 18:52
Don't verify `@external`-generated wrapper functions
* Use `ssh-agent` to clone with specific private key
* Set `0o400` permissions on private key file
* Add `mathsat` to list of solvers used in tests
Add mathsat installation to Github actions workflow
…ted-specs

Add FAQ about commenting-out annotations
…eadme-additions

Add `README.md` section on details of `CairoSemanticsL`
@langfield langfield force-pushed the ferinko/annotate_smts branch from 76ac907 to f41b3c6 Compare March 28, 2023 15:41
Copy link
Copy Markdown
Contributor

@langfield langfield left a comment

Choose a reason for hiding this comment

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

I'm in the process of reviewing this. It adds a lot of code.

Comment thread src/Horus/CFGBuild.hs
Comment on lines +85 to +87
isOptimising :: Vertex -> Bool
isOptimising = isJust . v_preCheckedF

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Duplicates isPreCheckingVertex (sorry about the name churn).

@langfield langfield force-pushed the master branch 2 times, most recently from 9f9928b to 3397b7c Compare March 31, 2023 15:01
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.

2 participants