Closed andersk closed 10 years ago
Thanks for reporting the issue. The problem appears because LLVM is vectorizing the load and store of pointers and subsequently using extractvalue to access the vector elements. Currently, softboundcets does not allow extractvalue/insertvalue to return pointer values. I will update with a patch to address this issue.
Fixed the compilation error with the latest commit. Now SoftboundCETS reports a memory safety violation with the given test case.
I decided to play with SoftBound + CETS to see if it could have been helpful in diagnosing a GCC bug, and I happened across some code that causes an assertion failure in
SoftBoundCETSPass::gatherBaseBoundPass1
. Here’s a reduced test case.