Ticket #11808 (closed: fixed)
Undefined Behavior Sanitizer
Reported by: | Steven Hahn | Owned by: | Steven Hahn |
---|---|---|---|
Priority: | major | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Ross Whitfield |
Description
Undefined Behavior Sanitizer (UBSan) is now available on gcc 4.9+ and would be an additional check for undefined behavior in Mantid. Using it, however requires additional cflags. This ticket adds a build option WITH_UBSAN which adds these cflags.
http://developerblog.redhat.com/2014/10/16/gcc-undefined-behavior-sanitizer-ubsan/
Change History
comment:2 Changed 5 years ago by Steven Hahn
Refs #11808. Fix potentially uninitialized variable.
Changeset: 43dd20df7cda7e167127c62a8620acd9c47700c1
comment:3 Changed 5 years ago by Steven Hahn
Refs #11808. Fix invalid controlling predicate error.
Changeset: eeae070212c64d13f0dbf558d10231997956784a
comment:4 Changed 5 years ago by Steven Hahn
Refs #11808. forgot to run clang-format.
Changeset: 8244aedefa0d1c9ce4bfb5275b3de265bb564367
comment:5 Changed 5 years ago by Steven Hahn
- Status changed from inprogress to verify
- Resolution set to fixed
This is being verified as pull request #774.
comment:6 Changed 5 years ago by Steven Hahn
Refs #11808. cpp-check suppression on wrong line.
Changeset: 8a5960c25dfc6092515d0c8eb9aed789366255e5
comment:7 Changed 5 years ago by Ross Whitfield
- Status changed from verify to verifying
- Tester set to Ross Whitfield
comment:8 Changed 5 years ago by Ross Whitfield
- Status changed from verifying to closed
Merge pull request #774 from mantidproject/11808_ubsan
Undefined Behavior Sanitizer
Full changeset: 0c6032a0d88ab6a6e903e8c9b9f305efc1e0ddb1
Refs #11808. Add WITH_UBSAN option to cmake script.
Changeset: 5b006c9900f51f4daac23f81be15b1a8c3c4748f