TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Software Engineering Institute Makes CERT C++ Coding Standard Freely Available

179 点作者 BudVVeezer大约 8 年前

6 条评论

brakmic大约 8 年前
<a href="http:&#x2F;&#x2F;www.cert.org&#x2F;downloads&#x2F;secure-coding&#x2F;assets&#x2F;sei-cert-cpp-coding-standard-2016-v01.pdf" rel="nofollow">http:&#x2F;&#x2F;www.cert.org&#x2F;downloads&#x2F;secure-coding&#x2F;assets&#x2F;sei-cert-...</a>
评论 #13935650 未加载
评论 #13935456 未加载
mavam大约 8 年前
It would be great to see such elaborate guidelines to be accompanied with an integration into a linting tool, such as clang-tidy.
评论 #13936117 未加载
评论 #13935936 未加载
评论 #13935782 未加载
_pmf_大约 8 年前
Pretty sane and modern when compared to other so called safety standards like MISRA that are in fact rules to satisfy proprietary legacy compilers.
a3n大约 8 年前
And C: <a href="http:&#x2F;&#x2F;www.cert.org&#x2F;news&#x2F;article.cfm?assetid=465486&amp;article=182&amp;year=2016" rel="nofollow">http:&#x2F;&#x2F;www.cert.org&#x2F;news&#x2F;article.cfm?assetid=465486&amp;article=...</a>
sargun大约 8 年前
I was really hoping the Wikipedia article on Roller Coasters was better. I wanted to write a piece of prose paralleling roller coasters and programming languages, but unfortunately, I have such little info to go on (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Roller_coaster" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Roller_coaster</a>).<p>I feel like roller coasters started because people wanted to go fast, and this crazy death contraption was the only way how. Subsequently, ride operators, in order to avoid the death of their patrons, advised them not to stick their limbs outside of the car. Unfortunately, this mechanism only reduced injuries, but far from eliminated them. Not only do accidents occur because of the actions of the riders themselves, but ride operators can pose introduce risk not only by malice, but negligence. In extremely rare cases, riders can be injured by compiler failures.<p>Roller coaster operators soon learned that these contraptions were fundamentally unsafe, and the only way to induce safety was if the systems which drove the coaster had safety as a fundamental concern. Therefore they introduced these things like &quot;PLCs&quot; -- a type of computer to make sure the operators could only do so much to endanger the riders. In addition, by following the basic rules of physics at build time of the coaster they further increased safety. Since people have stopped building coasters that relied on the rider&#x27;s healthy sense of caution, and the operator&#x27;s awareness of safety, they&#x27;ve become one of the safest ways to enjoy oneself. Or at least this is how I was hoping the story went.
Cyph0n大约 8 年前
To anyone experienced with CERT C++: are there rules in the standard that are critical for secure code, but not easy to discover without extensive experience?<p>For instance, I went through the I&#x2F;O section, and most of the rules seem quite intuitive even to a novice C++ programmer like myself.
评论 #13936298 未加载
评论 #13935398 未加载
评论 #13936167 未加载
评论 #13939073 未加载
评论 #13935375 未加载