Timmmm
Timmmm

Reputation: 97008

Enable runtime UB checks in libstdc++

Is it possible with g++/libstdc++ to enable runtime UB checks, so that for example:

I do not want to detect language level UB (that requires something like ubsan). I just want reasonable "safe" behaviour in the standard library. These should be checks appropriate for production, not ubsan/address-sanitizer.

Upvotes: 0

Views: 95

Answers (0)

Related Questions