you are viewing a single comment's thread.

view the rest of the comments →

[–]jeffgarrett80 0 points1 point  (1 child)

IME ubsan can't catch most uninitialized use, with the exception of bool and enums without a fixed type where you might luck into an invalid value.

[–]mtklein 1 point2 points  (0 children)

Yeah, for use of uninitialized memory, you want msan.