kvrocks icon indicating copy to clipboard operation
kvrocks copied to clipboard

[Build] Add supports for build kvrocks with UBSAN

Open mapleFU opened this issue 1 year ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Motivation

Sanitizer is widely used in systems. Currently kvrocks has ASAN and TSAN supports. And now kvrocks may has UB in https://github.com/apache/kvrocks/issues/2261 . So, I think we should add a build support for ubsan. We can enable UBSAN in CI after cleaning all the issues

Solution

Add UBSAN support in build script

Are you willing to submit a PR?

  • [X] I'm willing to submit a PR!

mapleFU avatar May 07 '24 05:05 mapleFU