-
Notifications
You must be signed in to change notification settings - Fork 79
Latest updates to Checked C Convert tool #891
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
Latest updates to Checked C Convert tool #891
Conversation
This reverts commit acbd52d.
This has the same functionality as provided by the reverted commit, but the constraint graphs are now kept separate while solving.
Adjust constraint graph rep (not complete)
This also has the effect of returning PVConstraints with no atoms instead of an empty constraint sets for structs in getExprConstraintVars
Refactor struct inits; code smoothing
Implement Conversion of Compound Literal Expressions
GraphViz improvement
Remove boost from BigRefactor_master
@dtarditi We removed the dependency of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for removing the dependency on boost. LGTM.
@dtarditi Would you like to take a final look at the PR?
I ran our automated testing for this PR and testing for Window x86 failed. 245 of the converter tests failed. There are errors involving confusion of long and int. There are also some improper type casts. It looks like some problems occur when running the tool and some problems occur when compiling the output of the tool. 2020-08-26T23:47:24.7721050Z ******************** |
Fix test failures
@dtarditi I think we fixed the issue. Can you please rerun the Windows tests? |
@Machiry, I emailed you the results of automated testing on Friday against your most recent changes. I saw a bunch of failures that indicate the clang-cl.exe is being invoked on Windows. This is a compiler driver that emulates the ‘cl’ compiler command-line form Visual Studio. The -fcheckedc-convert-tool flag is being passed. There’s a special escape mechanism for flags that need to be passed through clang-cl to the underlying clang driver: -Xclang. So you need to do something like -Xclang -fcheckedc-convert-tool. You can run clang-cl /? To see the command line option. 2020-08-28T20:18:06.2051364Z -- Testing: 16024 tests, 24 threads -- |
@dtarditi Fixed the warnings and verified that all tests pass on a Windows machine. Could you please check now? |
This has passed automated testing. Thanks! |
277d84a. We first submitted them in PR checkedc#837, but Mandeep noticed (checkedc#837 (review)) and the unintended changes were removed from that PR in 74bfcaf. However, when the squash of PR checkedc#837 was merged with the original commits in cfc998e, the unintended changes were incorrectly retained. They got submitted again in the next 3C PR (checkedc#891), and no one noticed that time.
) 277d84a. We first submitted them in PR #837, but Mandeep noticed (#837 (review)) and the unintended changes were removed from that PR in 74bfcaf. However, when the squash of PR #837 was merged with the original commits in cfc998e, the unintended changes were incorrectly retained. They got submitted again in the next 3C PR (#891), and no one noticed that time.
) 277d84a. We first submitted them in PR #837, but Mandeep noticed (#837 (review)) and the unintended changes were removed from that PR in 74bfcaf. However, when the squash of PR #837 was merged with the original commits in cfc998e, the unintended changes were incorrectly retained. They got submitted again in the next 3C PR (#891), and no one noticed that time. (cherry picked from commit cfe00ea)
This pull request includes a lot of changes to cconv tool.
We fixed various issues, added a lot (318) of test cases, improved the reliability and accuracy of the tool done over past 2 months.