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

Adapt to Call/CallBr having raw function types #1070

Merged
merged 2 commits into from
Apr 3, 2023
Merged

Conversation

RyanGlScott
Copy link
Contributor

@RyanGlScott RyanGlScott commented Mar 20, 2023

There are a handful of places in crucible-llvm where we assume that the Call and CallBr instructions have pointer types. As noted in GaloisInc/llvm-pretty-bc-parser#189, however, this is subtly incorrect. This patch:

There are a handful of places in `crucible-llvm` where we assume that the
`Call` and `CallBr` instructions have pointer types. As noted in
GaloisInc/llvm-pretty-bc-parser#189, however, this is subtly incorrect. This
patch:

* Bumps the `llvm-pretty-bc-parser` submodule to bring in the changes from
  GaloisInc/llvm-pretty-bc-parser#207, which corrects this mistake.
* Bumps the `llvm-pretty` submodule to be in tandem with
  `llvm-pretty-bc-parser`. Note that because this brings in the changes from
  GaloisInc/llvm-pretty#104, I opted to explicitly disallow LLVM's opaque
  pointers in `crucible-llvm` for now, but this is something that will likely
  change in subsequent patches.
* Changes the parts of `crucible-llvm` that match on pointer types to no longer
  do so.
@RyanGlScott RyanGlScott marked this pull request as ready for review April 3, 2023 13:37
@RyanGlScott
Copy link
Contributor Author

Ah, the changes from GaloisInc/llvm-pretty-bc-parser#202 will require using a build plan that supports tasty-sugar-2.1.*. This will first require downstream changes in what4: see GaloisInc/what4#233.

This requires bumping the `what4` submodule to bring in the changes from
GaloisInc/what4#233, which adds support for `tasty-sugar-2.1.*` on the `what4`
side.
@kquick kquick self-requested a review April 3, 2023 15:55
@RyanGlScott RyanGlScott merged commit 0cfce77 into master Apr 3, 2023
@RyanGlScott RyanGlScott deleted the lpbp-T189 branch April 3, 2023 17:32
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.

None yet

3 participants