[WIP] MemorySanitizer and UndefinedSanitizer builds#29
Open
Conversation
494f911 to
436d26e
Compare
26 tasks
Owner
Author
|
Totally by accident I found some info on the UBSan false positives related to vptr with dlopen(): https://whatofhow.wordpress.com/2015/03/17/odr-rtti-dso/ It references these commits, which look like they export polymorphic classes and load the dynamic objects using RTLD_GLOBAL:
But I am already doing all of that? Another thing is using |
Repository owner
deleted a comment from
coveralls
Dec 13, 2020
Repository owner
deleted a comment from
coveralls
Dec 13, 2020
Repository owner
deleted a comment from
coveralls
Dec 13, 2020
Repository owner
deleted a comment from
coveralls
Dec 13, 2020
Repository owner
deleted a comment from
coveralls
Dec 13, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things to do:
std::memcpy()((UndefinedBehaviorSanitizer) GrowableArray.h: null pointer passed as argument 2, which is declared to never be null #102)std::memcmp()-- String, StringView (ffs? really? come on, C)std::memchr()also can't accept null input, WTHOriginal (most probably obsolete) TODO below:
libc++-devto package list on Precise gets just ignored, because there's no such package the default repos andapt-gettreats not found packages as regular expressions, which then matcheslibc6-devor about anything else. So the installation succeeds, but silently doesn't install the package at all, failing during compilation withcan't find -lc++. Whoever thought this is a good idea for a package manager?!!libc++-devfor Precise isdebian-sid. Just enabling that PPA makes all hell break loose and apt-get install fails on some file conflict much later.