Undefined behavior in code might seem harmless at first, but it can lead to program crashes or errors as code complexity grows, making the root cause difficult to pinpoint. Undefined Behavior Sanitizer (UBSan) is a tool designed to identify such behavior and assist in resolving runtime errors stemming from undefined behavior.
Below are common instances of undefined behavior:
This feature is supported since DevEco Studio 5.1.0 Release.
ASan, TSan, UBSan, and HWASan cannot be enabled simultaneously; only one of these sanitizers can be enabled at a time.
"arguments": "-DOHOS_ENABLE_UBSAN=ON"

This direct link to the source code is available regardless of whether the build mode is debug or release.
