A C++ implementation that detects undefined behavior?

后端 未结 10 1372
没有蜡笔的小新
没有蜡笔的小新 2020-11-27 14:13

A huge number of operations in C++ result in undefined behavior, where the spec is completely mute about what the program\'s behavior ought to be and allows for anything to

10条回答
  •  隐瞒了意图╮
    2020-11-27 14:51

    Take a look at PCLint its pretty decent at detecting a lot of bad things in C++.

    Here's a subset of what it catches

提交回复
热议问题