All Questions
4 questions
2
votes
0
answers
411
views
Memory sanitizer false positive on centos 7 but not on other platform
my test code is the following:
#include <string>
#include <iostream>
int main()
{
std::string mylongstring("This is a test string");
std::cout << mylongstring << std::...
6
votes
2
answers
616
views
Unable to reproduce memory sanitization results from the project's example project
I'm getting exactly the same results from centos7, clang-3.6.1 built from source using a fedora rpm specfile. Ubuntu 14.04, clang-3.4
Using the instructions from the wiki here https://github.com/...
8
votes
3
answers
3k
views
Memory Sanitizer
I am playing around with Memory Sanitizer with Clang 3.7.0 on Ubuntu 14.04. The following code does work perfectly:
#include <cstdio>
int main() {
double ans;
printf("Hello World: %f\n", ...
0
votes
1
answer
339
views
clang memory sanitizer (linux) does not report errors
I'm attempting to produce clang memory sanitizer errors on a linux platform with a toy program. I haven't been able to produce any errors with what I believe is a correct platform / compilation / ...