Allow configuring Crucible's lax-pointer-ordering option from SAW #1308
Labels
subsystem: crucible-llvm
Issues related to LLVM bitcode verification with crucible-llvm
type: feature request
Issues requesting a new feature or capability
There are some scenarios where LLVM is prone to generate code that compares pointers from different allocation blocks. For example, LLVM's strength reduction passes can generate comparisons between pointers with
-O2
or higher, as seen in GaloisInc/crucible#149. Here is another example, distilled from BoringSSL:These examples work when Crucible's
lax-pointer-ordering
option is enabled. This option is off by default, however, and SAW does not offer a way to change the default setting. We should offer functionality to do so, much like we offer functionality to configurelax-arithmetic
.The text was updated successfully, but these errors were encountered: