<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>CERT - 分类 - LoveIt</title>
        <link>https://zhengqijun0121.github.io/blog/categories/cert/</link>
        <description>CERT - 分类 - LoveIt</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>zhengqijun0121@qq.com (zhengqijun0121)</managingEditor>
            <webMaster>zhengqijun0121@qq.com (zhengqijun0121)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Tue, 21 Apr 2026 09:00:00 &#43;0800</lastBuildDate><atom:link href="https://zhengqijun0121.github.io/blog/categories/cert/" rel="self" type="application/rss+xml" /><item>
    <title>CERT C 规范</title>
    <link>https://zhengqijun0121.github.io/blog/006_certc%E8%A7%84%E8%8C%83/</link>
    <pubDate>Tue, 21 Apr 2026 09:00:00 &#43;0800</pubDate>
    <author>zhengqijun0121@qq.com (zhengqijun0121)</author>
    <guid>https://zhengqijun0121.github.io/blog/006_certc%E8%A7%84%E8%8C%83/</guid>
    <description><![CDATA[<h1 id="cert-c-规范">CERT C 规范</h1>
<blockquote>
<p><a href="https://ww2.mathworks.cn/help/bugfinder/cert-c-rules-and-recommendations.html?lang=en" target="_blank" rel="noopener noreffer ">https://ww2.mathworks.cn/help/bugfinder/cert-c-rules-and-recommendations.html?lang=en</a></p>
</blockquote>
<hr>
<h2 id="english-version">English Version</h2>
<h3 id="rules">Rules</h3>
<h4 id="preprocessor">Preprocessor</h4>
<p>[Rule PRE30-C] Do not create a universal character name through concatenation.</p>
<p>[Rule PRE31-C] Avoid side effects in arguments to unsafe macros.</p>
<p>[Rule PRE32-C] Do not use preprocessor directives in invocations of function-like macros.</p>
<hr>
<h4 id="declarations-and-initialization">Declarations and initialization</h4>
<p>[Rule DCL30-C] Declare objects with appropriate storage durations.</p>
<p>[Rule DCL31-C] Declare identifiers before using them.</p>
<p>[Rule DCL36-C] Do not declare an identifier with conflicting linkage classifications.</p>]]></description>
</item>
</channel>
</rss>
