Comments (2)
Line boost/lexical_cast/detail/converter_lexical_streams.hpp:594:17
is
stream.exceptions(std::ios::badbit);
where stream
has just been declared as
std::basic_istream<CharT, Traits> stream(&buf);
so this doesn't look like a legitimate lexical_cast
issue. The documentation of -fsanitize=memory says that all code needs to be instrumented, and in this case the standard library probably hasn't been.
from lexical_cast.
@pdimov is absolutely right - msan requires instrumentation for all the code, including C++ Standard Library, libc and c++ runtimes.
We use lexical_cast
in some projects that build and test the whole world with msan, no issues so far
from lexical_cast.
Related Issues (20)
- Crash on Android using ARM architecture HOT 1
- Support for <boost/std>::filesystem::path HOT 4
- Resolve cyclic dependency between lexical_cast and math HOT 9
- One test from boost libraries failed to run after boost submodule throw_exception updated from 50c34d to 514355 HOT 3
- Rule breaking bool cast HOT 1
- `lexical_cast` doesn't recognize `std::string_view` or `boost::string_view` HOT 5
- GCC suggest-override warning HOT 2
- clang -fsanitize=undefined,integer error HOT 2
- lexical_cast throws std::bad_cast
- lexical_cast<unsigned> returns unexpected result when using with split_iterator<std::wstring::iterator> HOT 1
- Lexical_cast throws an error converting string "08" to int128_t HOT 1
- lexical_cast in boost 1.76.0 no longer compiles with pre-c++11 setup HOT 1
- Compilation fails when source is a volatile integer type and output is the same non-volatile type HOT 2
- Remove the workaround for llvm.15723? HOT 2
- BOOST_OVERRIDE missing HOT 2
- boost::filesystem::path with witespaces HOT 6
- Compilation errors with gcc 4.6 HOT 7
- Boost container support HOT 1
- Tests fail on macOS with Xcode clang.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lexical_cast.