-
Notifications
You must be signed in to change notification settings - Fork 0
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
Data Flow Analysis for acq-rel #1
Comments
Have written up the informal specifications for the behaviour of |
Looking into adding an LLVM pass to the static analysis now. I think what I need to do is:
|
ImportantThe argument collection code will modify the module IR it is run on. This is because it creates load instructions for the values in scope, and so the module pass will always need to return a value that indicates it has modified the IR. |
For the most part this is done now - there are some edge cases that aren't totally covered, but the majority of the analysis exists and can be run on a module. |
Previously I've implemented a set of experiments for demonstrating the properties of my
acq_rel
automaton. In order to statically analyse these automata, I need to work out how best to perform the data flow analysis on the LLVM IR.Things that need to be done in order for this to go ahead:
Value *
somehow. I think this will involve ripping out the part of theAssertionSiteInstrumenter
that does the argument collection and mapping - need to audit that code path to work out what class state it relies on.The text was updated successfully, but these errors were encountered: