Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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::...
hassec's user avatar
  • 766
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/...
Hal's user avatar
  • 1,129
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", ...
InsideLoop's user avatar
  • 6,237
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 / ...
manabear's user avatar
  • 431