[SERVER-23826] Expand UBSAN builder test coverage Created: 20/Apr/16  Updated: 06/Jun/16  Resolved: 16/May/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: undefined-sanitizer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 13 (04/22/16), Platforms 14 (05/13/16), Platforms 15 (06/03/16)
Participants:

 Description   

Currently only run the unit tests are under UBSAN. The remaining test suites should be added.



 Comments   
Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 Run all tests under the undefined behavior sanitizer
Branch: master
https://github.com/mongodb/mongo/commit/dca92896c83b519d7754df70f2a6b896804fb859

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-24150 Avoid numerical UB in ValueReader::fromBSONElement
Branch: master
https://github.com/mongodb/mongo/commit/1991b885292a271437f7a72f22ca86f0f720a75b

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-24149 Avoid undefined behavior when validating geo index types
Branch: master
https://github.com/mongodb/mongo/commit/5167ef1ec2e29edcee1de2b4a3ddd0d1c53b6bf8

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-24147 Do not construct MemberState with out-of-bounds values
Branch: master
https://github.com/mongodb/mongo/commit/95733f135e4a139ffe662a36dfb0981bccae574a

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-24145 Don't pass nullptr to attribute nonnull parameters
Branch: master
https://github.com/mongodb/mongo/commit/e026b3c04ba2ed42b64937f36b36a4cbb6aced6b

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-24141 Initialize all fields of SSLParams
Branch: master
https://github.com/mongodb/mongo/commit/5b3e0cd4c4a5238efdf10c93359db37a25b4b139

Comment by Githook User [ 16/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 SERVER-22697 Allow arbitrary error codes without undefined behavior
Branch: master
https://github.com/mongodb/mongo/commit/5ec034bbce9d2f0778b5c236d10b80a746356d6e

Comment by Githook User [ 20/Apr/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23826 Run the dbtests under UBSAN

Also cleans up some handling around how undefined behavior
sanitizer finds the symbolizer, and suppresses some undefined
behavior in mozjs that prevented the dbtests from passing.

In addition, it was recognized that we can reduce the scope
where we inhibit UBSANs checks for misaligned access to only
wiredtiger, so do that too.
Branch: master
https://github.com/mongodb/mongo/commit/c60dea0181a621169f5130bd2fc291185421001a

Generated at Thu Feb 08 04:04:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.