[{"data":1,"prerenderedAt":4280},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl37-c":28,"surround-\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl37-c":2506,"sidebar-sei-cert-c-coding-standard":2513},[4,8],{"title":5,"path":6,"_path":6,"fromAppConfig":7},"Home","\u002F",true,{"title":9,"path":10,"children":11,"_path":27,"fromAppConfig":7},"Coding Standards","\u002Fcoding-standards\u002F",[12,15,18,21,24],{"title":13,"path":14},"Android Coding Standard","\u002Fandroid-secure-coding-standard\u002F",{"title":16,"path":17},"C Coding Standard","\u002Fsei-cert-c-coding-standard\u002F",{"title":19,"path":20},"C++ Coding Standard","\u002Fsei-cert-cpp-coding-standard\u002F",{"title":22,"path":23},"Java Coding Standard","\u002Fsei-cert-oracle-coding-standard-for-java\u002F",{"title":25,"path":26},"Perl Coding Standard","\u002Fsei-cert-perl-coding-standard\u002F","\u002Fcoding-standards",{"id":29,"title":30,"body":31,"description":2491,"extension":2492,"meta":2493,"navigation":7,"path":2502,"seo":2503,"stem":2504,"__hash__":2505},"content\u002F4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F5.dcl37-c.md","DCL37-C. Do not declare or define a reserved identifier",{"type":32,"value":33,"toc":2471},"minimark",[34,38,48,63,68,90,93,123,128,136,197,201,204,244,248,275,281,401,405,408,500,504,534,695,699,702,831,835,870,963,967,970,1218,1225,1244,1255,1262,1289,1292,1309,1315,1325,1339,1355,1359,1366,1425,1435,1441,1482,1488,1611,1615,1618,1685,1690,2263,2267,2274,2393,2397,2443,2446,2467],[35,36,30],"h1",{"id":37},"dcl37-c-do-not-declare-or-define-a-reserved-identifier",[39,40,41,42,47],"p",{},"According to the C Standard, 6.4.2.1 paragraph 7 [ ",[43,44,46],"a",{"href":45},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO-IEC9899-2024","ISO\u002FIEC 9899:2024"," ],",[49,50,51,54,57,60],"blockquote",{},[39,52,53],{},"Some identifiers are reserved.",[39,55,56],{},"—  All identifiers that begin with a double underscore ( __ ) or begin with an underscore ( _ ) followed by an uppercase letter are reserved for any use, except those identifiers which are lexically identical to keywords.",[39,58,59],{},"—  All identifiers that begin with an underscore are reserved for use as identifiers with file scope in both the ordinary and tag name spaces.",[39,61,62],{},"Other identifiers may be reserved, see 7.1.3.",[39,64,65,66,47],{},"C Standard, 7.1.3 paragraph 1 [ ",[43,67,46],{"href":45},[49,69,70,73,76,79,87],{},[39,71,72],{},"Each header declares or defines all identifiers listed in its associated subclause, and optionally declares or defines identifiers listed in its associated future library directions subclause and identifiers which are always reserved either for any use or for use as file scope identifiers.",[39,74,75],{},"— All potentially reserved identifiers (including ones listed in the future library directions) that are provided by an implementation with an external definition are reserved for any use. An implementation shall not provide an external definition of a potentially reserved identifier unless that identifier is reserved for a use where it would have external linkage. All other potentially reserved identifiers that are provided by an implementation (including in the form of a macro) are reserved for any use when the associated header is included. No other potentially reserved identifiers are reserved.",[39,77,78],{},"— Each macro name in any of the following subclauses (including the future library directions) is reserved for use as specified if any of its associated headers is included; unless explicitly stated otherwise (see 7.1.4).",[39,80,81,82,86],{},"— All identifiers with external linkage in any of the following subclauses (including the future library directions) and ",[83,84,85],"code",{},"errno"," are always reserved for use as identifiers with external linkage.",[39,88,89],{},"— Each identifier with file scope listed in any of the following subclauses (including the future library directions) is reserved for use as a macro name and as an identifier with file scope in the same name space if any of its associated headers is included.",[39,91,92],{},"Additionally, subclause 7.33 defines many other reserved identifiers for future library directions.",[39,94,95,96,105,106,112,113,117,118,122],{},"No other identifiers are reserved. (The POSIX standard extends the set of identifiers reserved by the C Standard to include an open-ended set of its own. See ",[97,98,99,100,104],"em",{},"Portable Operating System Interface [POSIX ",[101,102,103],"sup",{},"®"," ], Base Specifications, Issue 7"," , ",[43,107,111],{"href":108,"rel":109},"http:\u002F\u002Fwww.opengroup.org\u002Fonlinepubs\u002F9699919799\u002Ffunctions\u002FV2_chap02.html#tag_15_02",[110],"nofollow","Section 2.2"," , \"The Compilation Environment\" [ ",[43,114,116],{"href":115},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-IEEEStd1003.1-2013","IEEE Std 1003.1-2013"," ].) The behavior of a program that declares or defines an identifier in a context in which it is reserved or that defines a reserved identifier as a macro name is undefined. (See ",[43,119,121],{"href":120},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fcc-undefined-behavior#CC.UndefinedBehavior-ub_105","undefined behavior 105"," .)",[124,125,127],"h2",{"id":126},"noncompliant-code-example-include-guard","Noncompliant Code Example (Include Guard)",[39,129,130,131,135],{},"A common, but noncompliant, practice is to choose a reserved name for a macro used in a preprocessor conditional guarding against multiple inclusions of a header file. (See also ",[43,132,134],{"href":133},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre06-c","PRE06-C. Enclose header files in an include guard"," .) The name may clash with reserved names defined by the implementation of the C standard library in its headers or with reserved names implicitly predefined by the compiler even when no C standard library header is included.",[137,138,140],"code-block",{"quality":139},"bad",[141,142,147],"pre",{"className":143,"code":144,"language":145,"meta":146,"style":146},"language-c shiki shiki-themes github-light github-dark monokai","#ifndef _MY_HEADER_H_\n#define _MY_HEADER_H_\n\n\u002F* Contents of \u003Cmy_header.h> *\u002F\n\n#endif \u002F* _MY_HEADER_H_ *\u002F\n","c","",[83,148,149,162,170,176,183,188],{"__ignoreMap":146},[150,151,154,158],"span",{"class":152,"line":153},"line",1,[150,155,157],{"class":156},"sC2Qs","#ifndef",[150,159,161],{"class":160},"srTi1"," _MY_HEADER_H_\n",[150,163,165,168],{"class":152,"line":164},2,[150,166,167],{"class":156},"#define",[150,169,161],{"class":160},[150,171,173],{"class":152,"line":172},3,[150,174,175],{"emptyLinePlaceholder":7},"\n",[150,177,179],{"class":152,"line":178},4,[150,180,182],{"class":181},"s8-w5","\u002F* Contents of \u003Cmy_header.h> *\u002F\n",[150,184,186],{"class":152,"line":185},5,[150,187,175],{"emptyLinePlaceholder":7},[150,189,191,194],{"class":152,"line":190},6,[150,192,193],{"class":156},"#endif",[150,195,196],{"class":181}," \u002F* _MY_HEADER_H_ *\u002F\n",[124,198,200],{"id":199},"compliant-solution-include-guard","Compliant Solution (Include Guard)",[39,202,203],{},"This compliant solution avoids using leading underscores in the macro name of the include guard:",[137,205,207],{"quality":206},"good",[141,208,210],{"className":143,"code":209,"language":145,"meta":146,"style":146},"#ifndef MY_HEADER_H\n#define MY_HEADER_H\n\n\u002F* Contents of \u003Cmy_header.h> *\u002F\n\n#endif \u002F* MY_HEADER_H *\u002F\n",[83,211,212,219,225,229,233,237],{"__ignoreMap":146},[150,213,214,216],{"class":152,"line":153},[150,215,157],{"class":156},[150,217,218],{"class":160}," MY_HEADER_H\n",[150,220,221,223],{"class":152,"line":164},[150,222,167],{"class":156},[150,224,218],{"class":160},[150,226,227],{"class":152,"line":172},[150,228,175],{"emptyLinePlaceholder":7},[150,230,231],{"class":152,"line":178},[150,232,182],{"class":181},[150,234,235],{"class":152,"line":185},[150,236,175],{"emptyLinePlaceholder":7},[150,238,239,241],{"class":152,"line":190},[150,240,193],{"class":156},[150,242,243],{"class":181}," \u002F* MY_HEADER_H *\u002F\n",[124,245,247],{"id":246},"noncompliant-code-example-file-scope-objects","Noncompliant Code Example (File Scope Objects)",[39,249,250,251,254,255,258,259,261,262,265,266,269,270,274],{},"In this noncompliant code example, the names of the file scope objects ",[83,252,253],{},"_max_limit"," and ",[83,256,257],{},"_limit"," both begin with an underscore. Because ",[83,260,253],{}," is static, this declaration might seem to be impervious to clashes with names defined by the implementation. However, because the header ",[83,263,264],{},"\u003Cstddef.h>"," is included to define ",[83,267,268],{},"size_t"," , a potential for a name clash exists. (Note, however, that a ",[43,271,273],{"href":272},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-conformingprogram","conforming"," compiler may implicitly declare reserved names regardless of whether any C standard library header is explicitly included.)",[39,276,277,278,280],{},"In addition, because ",[83,279,257],{}," has external linkage, it may clash with a symbol of the same name defined in the language runtime library even if such a symbol is not declared in any header. Consequently, it is not safe to start the name of any file scope identifier with an underscore even if its linkage limits its visibility to a single translation unit.",[137,282,283],{"quality":139},[141,284,286],{"className":143,"code":285,"language":145,"meta":146,"style":146},"#include \u003Cstddef.h>\n\nstatic const size_t _max_limit = 1024;\nsize_t _limit = 100;\n\nunsigned int getValue(unsigned int count) {\n  return count \u003C _limit ? count : _limit;\n}\n",[83,287,288,297,301,327,341,345,370,395],{"__ignoreMap":146},[150,289,290,293],{"class":152,"line":153},[150,291,292],{"class":156},"#include",[150,294,296],{"class":295},"sstjo"," \u003Cstddef.h>\n",[150,298,299],{"class":152,"line":164},[150,300,175],{"emptyLinePlaceholder":7},[150,302,303,306,309,313,317,320,324],{"class":152,"line":172},[150,304,305],{"class":156},"static",[150,307,308],{"class":156}," const",[150,310,312],{"class":311},"sq6CD"," size_t",[150,314,316],{"class":315},"sMOD_"," _max_limit ",[150,318,319],{"class":156},"=",[150,321,323],{"class":322},"s7F3e"," 1024",[150,325,326],{"class":315},";\n",[150,328,329,331,334,336,339],{"class":152,"line":178},[150,330,268],{"class":311},[150,332,333],{"class":315}," _limit ",[150,335,319],{"class":156},[150,337,338],{"class":322}," 100",[150,340,326],{"class":315},[150,342,343],{"class":152,"line":185},[150,344,175],{"emptyLinePlaceholder":7},[150,346,347,350,353,356,359,361,363,367],{"class":152,"line":190},[150,348,349],{"class":311},"unsigned",[150,351,352],{"class":311}," int",[150,354,355],{"class":160}," getValue",[150,357,358],{"class":315},"(",[150,360,349],{"class":311},[150,362,352],{"class":311},[150,364,366],{"class":365},"sTHNf"," count",[150,368,369],{"class":315},") {\n",[150,371,373,376,379,382,384,387,389,392],{"class":152,"line":372},7,[150,374,375],{"class":156},"  return",[150,377,378],{"class":315}," count ",[150,380,381],{"class":156},"\u003C",[150,383,333],{"class":315},[150,385,386],{"class":156},"?",[150,388,378],{"class":315},[150,390,391],{"class":156},":",[150,393,394],{"class":315}," _limit;\n",[150,396,398],{"class":152,"line":397},8,[150,399,400],{"class":315},"}\n",[124,402,404],{"id":403},"compliant-solution-file-scope-objects","Compliant Solution (File Scope Objects)",[39,406,407],{},"In this compliant solution, names of file scope objects do not begin with an underscore:",[137,409,410],{"quality":206},[141,411,413],{"className":143,"code":412,"language":145,"meta":146,"style":146},"#include \u003Cstddef.h>\n\nstatic const size_t max_limit = 1024;\nsize_t limit = 100;\n\nunsigned int getValue(unsigned int count) {\n  return count \u003C limit ? count : limit;\n}\n",[83,414,415,421,425,442,455,459,477,496],{"__ignoreMap":146},[150,416,417,419],{"class":152,"line":153},[150,418,292],{"class":156},[150,420,296],{"class":295},[150,422,423],{"class":152,"line":164},[150,424,175],{"emptyLinePlaceholder":7},[150,426,427,429,431,433,436,438,440],{"class":152,"line":172},[150,428,305],{"class":156},[150,430,308],{"class":156},[150,432,312],{"class":311},[150,434,435],{"class":315}," max_limit ",[150,437,319],{"class":156},[150,439,323],{"class":322},[150,441,326],{"class":315},[150,443,444,446,449,451,453],{"class":152,"line":178},[150,445,268],{"class":311},[150,447,448],{"class":315}," limit ",[150,450,319],{"class":156},[150,452,338],{"class":322},[150,454,326],{"class":315},[150,456,457],{"class":152,"line":185},[150,458,175],{"emptyLinePlaceholder":7},[150,460,461,463,465,467,469,471,473,475],{"class":152,"line":190},[150,462,349],{"class":311},[150,464,352],{"class":311},[150,466,355],{"class":160},[150,468,358],{"class":315},[150,470,349],{"class":311},[150,472,352],{"class":311},[150,474,366],{"class":365},[150,476,369],{"class":315},[150,478,479,481,483,485,487,489,491,493],{"class":152,"line":372},[150,480,375],{"class":156},[150,482,378],{"class":315},[150,484,381],{"class":156},[150,486,448],{"class":315},[150,488,386],{"class":156},[150,490,378],{"class":315},[150,492,391],{"class":156},[150,494,495],{"class":315}," limit;\n",[150,497,498],{"class":152,"line":397},[150,499,400],{"class":315},[124,501,503],{"id":502},"noncompliant-code-example-reserved-macros","Noncompliant Code Example (Reserved Macros)",[39,505,506,507,510,511,514,515,518,519,521,522,525,526,529,530,533],{},"In this noncompliant code example, because the C standard library header ",[83,508,509],{},"\u003Cinttypes.h>"," is specified to include ",[83,512,513],{},"\u003Cstdint.h>"," , the name ",[83,516,517],{},"SIZE_MAX"," conflicts with a standard macro of the same name, which is used to denote the upper limit of ",[83,520,268],{}," . In addition, although the name ",[83,523,524],{},"INTFAST16_LIMIT_MAX"," is not defined by the C standard library, it is a reserved identifier because it begins with the ",[83,527,528],{},"INT"," prefix and ends with the ",[83,531,532],{},"_MAX"," suffix. (See the C Standard, 7.33.14 .)",[137,535,536],{"quality":139},[141,537,539],{"className":143,"code":538,"language":145,"meta":146,"style":146},"#include \u003Cinttypes.h>\n#include \u003Cstdio.h>\n\nstatic const int_fast16_t INTFAST16_LIMIT_MAX = 12000;\n\nvoid print_fast16(int_fast16_t val) {\n  enum { SIZE_MAX = 80 };\n  char buf[SIZE_MAX];\n  if (INTFAST16_LIMIT_MAX \u003C val) {\n    sprintf(buf, \"The value is too large\");\n  } else {\n    snprintf(buf, SIZE_MAX, \"The value is %\" PRIdFAST16, val);\n  }\n}\n",[83,540,541,548,555,559,578,582,600,616,628,642,657,669,684,690],{"__ignoreMap":146},[150,542,543,545],{"class":152,"line":153},[150,544,292],{"class":156},[150,546,547],{"class":295}," \u003Cinttypes.h>\n",[150,549,550,552],{"class":152,"line":164},[150,551,292],{"class":156},[150,553,554],{"class":295}," \u003Cstdio.h>\n",[150,556,557],{"class":152,"line":172},[150,558,175],{"emptyLinePlaceholder":7},[150,560,561,563,565,568,571,573,576],{"class":152,"line":178},[150,562,305],{"class":156},[150,564,308],{"class":156},[150,566,567],{"class":311}," int_fast16_t",[150,569,570],{"class":315}," INTFAST16_LIMIT_MAX ",[150,572,319],{"class":156},[150,574,575],{"class":322}," 12000",[150,577,326],{"class":315},[150,579,580],{"class":152,"line":185},[150,581,175],{"emptyLinePlaceholder":7},[150,583,584,587,590,592,595,598],{"class":152,"line":190},[150,585,586],{"class":311},"void",[150,588,589],{"class":160}," print_fast16",[150,591,358],{"class":315},[150,593,594],{"class":311},"int_fast16_t",[150,596,597],{"class":365}," val",[150,599,369],{"class":315},[150,601,602,605,608,610,613],{"class":152,"line":372},[150,603,604],{"class":311},"  enum",[150,606,607],{"class":315}," { SIZE_MAX ",[150,609,319],{"class":156},[150,611,612],{"class":322}," 80",[150,614,615],{"class":315}," };\n",[150,617,618,621,625],{"class":152,"line":397},[150,619,620],{"class":311},"  char",[150,622,624],{"class":623},"sOrwc"," buf",[150,626,627],{"class":315},"[SIZE_MAX];\n",[150,629,631,634,637,639],{"class":152,"line":630},9,[150,632,633],{"class":156},"  if",[150,635,636],{"class":315}," (INTFAST16_LIMIT_MAX ",[150,638,381],{"class":156},[150,640,641],{"class":315}," val) {\n",[150,643,645,648,651,654],{"class":152,"line":644},10,[150,646,647],{"class":160},"    sprintf",[150,649,650],{"class":315},"(buf, ",[150,652,653],{"class":295},"\"The value is too large\"",[150,655,656],{"class":315},");\n",[150,658,660,663,666],{"class":152,"line":659},11,[150,661,662],{"class":315},"  } ",[150,664,665],{"class":156},"else",[150,667,668],{"class":315}," {\n",[150,670,672,675,678,681],{"class":152,"line":671},12,[150,673,674],{"class":160},"    snprintf",[150,676,677],{"class":315},"(buf, SIZE_MAX, ",[150,679,680],{"class":295},"\"The value is %\"",[150,682,683],{"class":315}," PRIdFAST16, val);\n",[150,685,687],{"class":152,"line":686},13,[150,688,689],{"class":315},"  }\n",[150,691,693],{"class":152,"line":692},14,[150,694,400],{"class":315},[124,696,698],{"id":697},"compliant-solution-reserved-macros","Compliant Solution (Reserved Macros)",[39,700,701],{},"This compliant solution avoids redefining reserved names or using reserved prefixes and suffixes:",[137,703,704],{"quality":206},[141,705,707],{"className":143,"code":706,"language":145,"meta":146,"style":146},"#include \u003Cinttypes.h>\n#include \u003Cstdio.h>\n \nstatic const int_fast16_t MY_INTFAST16_UPPER_LIMIT = 12000;\n\nvoid print_fast16(int_fast16_t val) {\n  enum { BUFSIZE = 80 };\n  char buf[BUFSIZE];\n  if (MY_INTFAST16_UPPER_LIMIT \u003C val) {\n    sprintf(buf, \"The value is too large\");\n  } else {\n    snprintf(buf, BUFSIZE, \"The value is %\" PRIdFAST16, val);\n  }\n}\n",[83,708,709,715,721,726,743,747,761,774,783,794,804,812,823,827],{"__ignoreMap":146},[150,710,711,713],{"class":152,"line":153},[150,712,292],{"class":156},[150,714,547],{"class":295},[150,716,717,719],{"class":152,"line":164},[150,718,292],{"class":156},[150,720,554],{"class":295},[150,722,723],{"class":152,"line":172},[150,724,725],{"class":315}," \n",[150,727,728,730,732,734,737,739,741],{"class":152,"line":178},[150,729,305],{"class":156},[150,731,308],{"class":156},[150,733,567],{"class":311},[150,735,736],{"class":315}," MY_INTFAST16_UPPER_LIMIT ",[150,738,319],{"class":156},[150,740,575],{"class":322},[150,742,326],{"class":315},[150,744,745],{"class":152,"line":185},[150,746,175],{"emptyLinePlaceholder":7},[150,748,749,751,753,755,757,759],{"class":152,"line":190},[150,750,586],{"class":311},[150,752,589],{"class":160},[150,754,358],{"class":315},[150,756,594],{"class":311},[150,758,597],{"class":365},[150,760,369],{"class":315},[150,762,763,765,768,770,772],{"class":152,"line":372},[150,764,604],{"class":311},[150,766,767],{"class":315}," { BUFSIZE ",[150,769,319],{"class":156},[150,771,612],{"class":322},[150,773,615],{"class":315},[150,775,776,778,780],{"class":152,"line":397},[150,777,620],{"class":311},[150,779,624],{"class":623},[150,781,782],{"class":315},"[BUFSIZE];\n",[150,784,785,787,790,792],{"class":152,"line":630},[150,786,633],{"class":156},[150,788,789],{"class":315}," (MY_INTFAST16_UPPER_LIMIT ",[150,791,381],{"class":156},[150,793,641],{"class":315},[150,795,796,798,800,802],{"class":152,"line":644},[150,797,647],{"class":160},[150,799,650],{"class":315},[150,801,653],{"class":295},[150,803,656],{"class":315},[150,805,806,808,810],{"class":152,"line":659},[150,807,662],{"class":315},[150,809,665],{"class":156},[150,811,668],{"class":315},[150,813,814,816,819,821],{"class":152,"line":671},[150,815,674],{"class":160},[150,817,818],{"class":315},"(buf, BUFSIZE, ",[150,820,680],{"class":295},[150,822,683],{"class":315},[150,824,825],{"class":152,"line":686},[150,826,689],{"class":315},[150,828,829],{"class":152,"line":692},[150,830,400],{"class":315},[124,832,834],{"id":833},"noncompliant-code-example-identifiers-with-external-linkage","Noncompliant Code Example (Identifiers with External Linkage)",[39,836,837,838,254,841,844,845,850,851,855,856,858,859,105,862,865,866,869],{},"This noncompliant example provides definitions for the C standard library functions ",[83,839,840],{},"malloc()",[83,842,843],{},"free()"," . Although this practice is permitted by many traditional implementations of UNIX (for example, the ",[43,846,849],{"href":847,"rel":848},"http:\u002F\u002Fdmalloc.com\u002F",[110],"Dmalloc"," library), it is ",[43,852,854],{"href":853},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fcc-undefined-behavior#CC.UndefinedBehavior-ub_84","undefined behavior 84"," according to the C Standard. Even on systems that allow replacing ",[83,857,840],{}," , doing so without also replacing ",[83,860,861],{},"aligned_alloc()",[83,863,864],{},"calloc()"," , and ",[83,867,868],{},"realloc()"," is likely to cause problems.",[137,871,872],{"quality":139},[141,873,875],{"className":143,"code":874,"language":145,"meta":146,"style":146},"#include \u003Cstddef.h>\n \nvoid *malloc(size_t nbytes) {\n  void *ptr;\n  \u002F* Allocate storage from own pool and set ptr *\u002F\n  return ptr;\n}\n\nvoid free(void *ptr) {\n  \u002F* Return storage to own pool *\u002F\n}\n",[83,876,877,883,887,906,916,921,928,932,936,954,959],{"__ignoreMap":146},[150,878,879,881],{"class":152,"line":153},[150,880,292],{"class":156},[150,882,296],{"class":295},[150,884,885],{"class":152,"line":164},[150,886,725],{"class":315},[150,888,889,891,894,897,899,901,904],{"class":152,"line":172},[150,890,586],{"class":311},[150,892,893],{"class":156}," *",[150,895,896],{"class":160},"malloc",[150,898,358],{"class":315},[150,900,268],{"class":311},[150,902,903],{"class":365}," nbytes",[150,905,369],{"class":315},[150,907,908,911,913],{"class":152,"line":178},[150,909,910],{"class":311},"  void",[150,912,893],{"class":156},[150,914,915],{"class":315},"ptr;\n",[150,917,918],{"class":152,"line":185},[150,919,920],{"class":181},"  \u002F* Allocate storage from own pool and set ptr *\u002F\n",[150,922,923,925],{"class":152,"line":190},[150,924,375],{"class":156},[150,926,927],{"class":315}," ptr;\n",[150,929,930],{"class":152,"line":372},[150,931,400],{"class":315},[150,933,934],{"class":152,"line":397},[150,935,175],{"emptyLinePlaceholder":7},[150,937,938,940,943,945,947,949,952],{"class":152,"line":630},[150,939,586],{"class":311},[150,941,942],{"class":160}," free",[150,944,358],{"class":315},[150,946,586],{"class":311},[150,948,893],{"class":156},[150,950,951],{"class":365},"ptr",[150,953,369],{"class":315},[150,955,956],{"class":152,"line":644},[150,957,958],{"class":181},"  \u002F* Return storage to own pool *\u002F\n",[150,960,961],{"class":152,"line":659},[150,962,400],{"class":315},[124,964,966],{"id":965},"compliant-solution-identifiers-with-external-linkage","Compliant Solution (Identifiers with External Linkage)",[39,968,969],{},"The compliant, portable solution avoids redefining any C standard library identifiers with external linkage. In addition, it provides definitions for all memory allocation functions:",[137,971,972],{"quality":206},[141,973,975],{"className":143,"code":974,"language":145,"meta":146,"style":146},"#include \u003Cstddef.h>\n\nvoid *my_malloc(size_t nbytes) {\n  void *ptr;\n  \u002F* Allocate storage from own pool and set ptr *\u002F\n  return ptr;\n}\n\nvoid *my_aligned_alloc(size_t alignment, size_t size) {\n  void *ptr;\n  \u002F* Allocate storage from own pool, align properly, set ptr *\u002F\n  return ptr;\n}\n\nvoid *my_calloc(size_t nelems, size_t elsize) {\n  void *ptr;\n  \u002F* Allocate storage from own pool, zero memory, and set ptr *\u002F\n  return ptr;\n}\n\nvoid *my_realloc(void *ptr, size_t nbytes) {\n  \u002F* Reallocate storage from own pool and set ptr *\u002F\n  return ptr;\n}\n\nvoid my_free(void *ptr) {\n  \u002F* Return storage to own pool *\u002F\n}\n",[83,976,977,983,987,1004,1012,1016,1022,1026,1030,1056,1064,1069,1075,1079,1083,1109,1118,1124,1131,1136,1141,1167,1173,1180,1185,1190,1208,1213],{"__ignoreMap":146},[150,978,979,981],{"class":152,"line":153},[150,980,292],{"class":156},[150,982,296],{"class":295},[150,984,985],{"class":152,"line":164},[150,986,175],{"emptyLinePlaceholder":7},[150,988,989,991,993,996,998,1000,1002],{"class":152,"line":172},[150,990,586],{"class":311},[150,992,893],{"class":156},[150,994,995],{"class":160},"my_malloc",[150,997,358],{"class":315},[150,999,268],{"class":311},[150,1001,903],{"class":365},[150,1003,369],{"class":315},[150,1005,1006,1008,1010],{"class":152,"line":178},[150,1007,910],{"class":311},[150,1009,893],{"class":156},[150,1011,915],{"class":315},[150,1013,1014],{"class":152,"line":185},[150,1015,920],{"class":181},[150,1017,1018,1020],{"class":152,"line":190},[150,1019,375],{"class":156},[150,1021,927],{"class":315},[150,1023,1024],{"class":152,"line":372},[150,1025,400],{"class":315},[150,1027,1028],{"class":152,"line":397},[150,1029,175],{"emptyLinePlaceholder":7},[150,1031,1032,1034,1036,1039,1041,1043,1046,1049,1051,1054],{"class":152,"line":630},[150,1033,586],{"class":311},[150,1035,893],{"class":156},[150,1037,1038],{"class":160},"my_aligned_alloc",[150,1040,358],{"class":315},[150,1042,268],{"class":311},[150,1044,1045],{"class":365}," alignment",[150,1047,1048],{"class":315},", ",[150,1050,268],{"class":311},[150,1052,1053],{"class":365}," size",[150,1055,369],{"class":315},[150,1057,1058,1060,1062],{"class":152,"line":644},[150,1059,910],{"class":311},[150,1061,893],{"class":156},[150,1063,915],{"class":315},[150,1065,1066],{"class":152,"line":659},[150,1067,1068],{"class":181},"  \u002F* Allocate storage from own pool, align properly, set ptr *\u002F\n",[150,1070,1071,1073],{"class":152,"line":671},[150,1072,375],{"class":156},[150,1074,927],{"class":315},[150,1076,1077],{"class":152,"line":686},[150,1078,400],{"class":315},[150,1080,1081],{"class":152,"line":692},[150,1082,175],{"emptyLinePlaceholder":7},[150,1084,1086,1088,1090,1093,1095,1097,1100,1102,1104,1107],{"class":152,"line":1085},15,[150,1087,586],{"class":311},[150,1089,893],{"class":156},[150,1091,1092],{"class":160},"my_calloc",[150,1094,358],{"class":315},[150,1096,268],{"class":311},[150,1098,1099],{"class":365}," nelems",[150,1101,1048],{"class":315},[150,1103,268],{"class":311},[150,1105,1106],{"class":365}," elsize",[150,1108,369],{"class":315},[150,1110,1112,1114,1116],{"class":152,"line":1111},16,[150,1113,910],{"class":311},[150,1115,893],{"class":156},[150,1117,915],{"class":315},[150,1119,1121],{"class":152,"line":1120},17,[150,1122,1123],{"class":181},"  \u002F* Allocate storage from own pool, zero memory, and set ptr *\u002F\n",[150,1125,1127,1129],{"class":152,"line":1126},18,[150,1128,375],{"class":156},[150,1130,927],{"class":315},[150,1132,1134],{"class":152,"line":1133},19,[150,1135,400],{"class":315},[150,1137,1139],{"class":152,"line":1138},20,[150,1140,175],{"emptyLinePlaceholder":7},[150,1142,1144,1146,1148,1151,1153,1155,1157,1159,1161,1163,1165],{"class":152,"line":1143},21,[150,1145,586],{"class":311},[150,1147,893],{"class":156},[150,1149,1150],{"class":160},"my_realloc",[150,1152,358],{"class":315},[150,1154,586],{"class":311},[150,1156,893],{"class":156},[150,1158,951],{"class":365},[150,1160,1048],{"class":315},[150,1162,268],{"class":311},[150,1164,903],{"class":365},[150,1166,369],{"class":315},[150,1168,1170],{"class":152,"line":1169},22,[150,1171,1172],{"class":181},"  \u002F* Reallocate storage from own pool and set ptr *\u002F\n",[150,1174,1176,1178],{"class":152,"line":1175},23,[150,1177,375],{"class":156},[150,1179,927],{"class":315},[150,1181,1183],{"class":152,"line":1182},24,[150,1184,400],{"class":315},[150,1186,1188],{"class":152,"line":1187},25,[150,1189,175],{"emptyLinePlaceholder":7},[150,1191,1193,1195,1198,1200,1202,1204,1206],{"class":152,"line":1192},26,[150,1194,586],{"class":311},[150,1196,1197],{"class":160}," my_free",[150,1199,358],{"class":315},[150,1201,586],{"class":311},[150,1203,893],{"class":156},[150,1205,951],{"class":365},[150,1207,369],{"class":315},[150,1209,1211],{"class":152,"line":1210},27,[150,1212,958],{"class":181},[150,1214,1216],{"class":152,"line":1215},28,[150,1217,400],{"class":315},[124,1219,1221,1222,1224],{"id":1220},"noncompliant-code-example-errno","Noncompliant Code Example ( ",[83,1223,85],{}," )",[39,1226,1227,1228,254,1230,1233,1234,1238,1239,1243],{},"In addition to symbols defined as functions in each C standard library header, identifiers with external linkage include ",[83,1229,85],{},[83,1231,1232],{},"math_errhandling"," .  According to the C Standard, 7.5, paragraph 2 [ ",[43,1235,1237],{"href":1236},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO-IEC9899-2011","ISO\u002FIEC 9899:2011"," ], the behavior of a program is ",[43,1240,1242],{"href":1241},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-undefinedbehavior","undefined"," when",[49,1245,1246],{},[39,1247,1248,1249,1251,1252,1254],{},"A macro definition of ",[83,1250,85],{}," is suppressed in order to access an actual object, or the program defines an identifier with the name ",[83,1253,85],{}," .",[39,1256,1257,1258,1254],{},"See ",[43,1259,1261],{"href":1260},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fcc-undefined-behavior#CC.UndefinedBehavior-ub_111","undefined behavior 111",[39,1263,1264,1265,1267,1268,1272,1273,1276,1277,1280,1281,1283,1284,1286,1287,1254],{},"The ",[83,1266,85],{}," identifier expands to a modifiable ",[43,1269,1271],{"href":1270},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-lvalue","lvalue"," that has type ",[83,1274,1275],{},"int"," but is not necessarily the identifier of an object. It might expand to a modifiable lvalue resulting from a function call, such as ",[83,1278,1279],{},"*errno()"," . It is unspecified whether ",[83,1282,85],{}," is a macro or an identifier declared with external linkage. If a macro definition is suppressed to access an actual object, or if a program defines an identifier with the name ",[83,1285,85],{}," , the behavior is ",[43,1288,1242],{"href":1241},[39,1290,1291],{},"Legacy code is apt to include an incorrect declaration, such as the following:",[137,1293,1294],{"quality":139},[141,1295,1297],{"className":143,"code":1296,"language":145,"meta":146,"style":146},"extern int errno;\n",[83,1298,1299],{"__ignoreMap":146},[150,1300,1301,1304,1306],{"class":152,"line":153},[150,1302,1303],{"class":156},"extern",[150,1305,352],{"class":311},[150,1307,1308],{"class":315}," errno;\n",[124,1310,1312,1313,1224],{"id":1311},"compliant-solution-errno","Compliant Solution ( ",[83,1314,85],{},[39,1316,1317,1318,1320,1321,1324],{},"The correct way to declare ",[83,1319,85],{}," is to include the header ",[83,1322,1323],{},"\u003Cerrno.h>"," :",[137,1326,1327],{"quality":206},[141,1328,1330],{"className":143,"code":1329,"language":145,"meta":146,"style":146},"#include \u003Cerrno.h>\n",[83,1331,1332],{"__ignoreMap":146},[150,1333,1334,1336],{"class":152,"line":153},[150,1335,292],{"class":156},[150,1337,1338],{"class":295}," \u003Cerrno.h>\n",[39,1340,1341,1345,1346,1348,1349,1351,1352,1354],{},[43,1342,1344],{"href":1343},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-implementation","Implementations"," ",[43,1347,273],{"href":272}," to C are required to declare ",[83,1350,85],{}," in ",[83,1353,1323],{}," , although some historic implementations failed to do so.",[124,1356,1358],{"id":1357},"exceptions","Exceptions",[39,1360,1361,1365],{},[1362,1363,1364],"strong",{},"DCL37-C-EX1:"," Provided that a library function can be declared without reference to any type defined in a header, it is permissible to declare that function without including its header provided that declaration is compatible with the standard declaration.",[137,1367,1368],{"quality":206},[141,1369,1371],{"className":143,"code":1370,"language":145,"meta":146,"style":146},"\u002F* Not including stdlib.h *\u002F\nvoid free(void *);\n \nvoid func(void *ptr) {\n  free(ptr);\n}\n",[83,1372,1373,1378,1392,1396,1413,1421],{"__ignoreMap":146},[150,1374,1375],{"class":152,"line":153},[150,1376,1377],{"class":181},"\u002F* Not including stdlib.h *\u002F\n",[150,1379,1380,1382,1384,1386,1388,1390],{"class":152,"line":164},[150,1381,586],{"class":311},[150,1383,942],{"class":160},[150,1385,358],{"class":315},[150,1387,586],{"class":311},[150,1389,893],{"class":156},[150,1391,656],{"class":315},[150,1393,1394],{"class":152,"line":172},[150,1395,725],{"class":315},[150,1397,1398,1400,1403,1405,1407,1409,1411],{"class":152,"line":178},[150,1399,586],{"class":311},[150,1401,1402],{"class":160}," func",[150,1404,358],{"class":315},[150,1406,586],{"class":311},[150,1408,893],{"class":156},[150,1410,951],{"class":365},[150,1412,369],{"class":315},[150,1414,1415,1418],{"class":152,"line":185},[150,1416,1417],{"class":160},"  free",[150,1419,1420],{"class":315},"(ptr);\n",[150,1422,1423],{"class":152,"line":190},[150,1424,400],{"class":315},[39,1426,1427,1428,1431,1432,1434],{},"Such code is compliant because the declaration matches what ",[83,1429,1430],{},"stdlib.h"," would provide and does not redefine the reserved identifier. However, it would not be acceptable to provide a definition for the ",[83,1433,843],{}," function in this example.",[39,1436,1437,1440],{},[1362,1438,1439],{},"DCL37-C-EX2:"," For compatibility with other compiler vendors or language standard modes, it is acceptable to create a macro identifier that is the same as a reserved identifier so long as the behavior is idempotent, as in this example:",[137,1442,1443],{"quality":206},[141,1444,1446],{"className":143,"code":1445,"language":145,"meta":146,"style":146},"\u002F* Sometimes generated by configuration tools such as autoconf *\u002F\n#define const const\n \n\u002F* Allowed compilers with semantically equivalent extension behavior *\u002F\n#define inline __inline\n",[83,1447,1448,1453,1462,1467,1472],{"__ignoreMap":146},[150,1449,1450],{"class":152,"line":153},[150,1451,1452],{"class":181},"\u002F* Sometimes generated by configuration tools such as autoconf *\u002F\n",[150,1454,1455,1457,1459],{"class":152,"line":164},[150,1456,167],{"class":156},[150,1458,308],{"class":160},[150,1460,1461],{"class":156}," const\n",[150,1463,1464],{"class":152,"line":172},[150,1465,1466],{"class":315}," \n",[150,1468,1469],{"class":152,"line":178},[150,1470,1471],{"class":181},"\u002F* Allowed compilers with semantically equivalent extension behavior *\u002F\n",[150,1473,1474,1476,1479],{"class":152,"line":185},[150,1475,167],{"class":156},[150,1477,1478],{"class":160}," inline",[150,1480,1481],{"class":315}," __inline\n",[39,1483,1484,1487],{},[1362,1485,1486],{},"DCL37-C-EX3:"," As a compiler vendor or standard library developer, it is acceptable to use identifiers reserved for your implementation. Reserved identifiers may be defined by the compiler, in standard library headers or headers included by a standard library header, as in this example declaration from the glibc standard C library implementation:",[137,1489,1490],{"quality":206},[141,1491,1493],{"className":143,"code":1492,"language":145,"meta":146,"style":146},"\u002F*\n  The following declarations of reserved identifiers exist in the glibc implementation of\n  \u003Cstdio.h>. The original source code may be found at:\n  https:\u002F\u002Fsourceware.org\u002Fgit\u002F?p=glibc.git;a=blob_plain;f=include\u002Fstdio.h;hb=HEAD\n*\u002F\n \n#  define __need_size_t\n#  include \u003Cstddef.h>\n\u002F* Generate a unique file name (and possibly open it).  *\u002F\nextern int __path_search (char *__tmpl, size_t __tmpl_len,\n              const char *__dir, const char *__pfx,\n              int __try_tempdir);\n",[83,1494,1495,1500,1505,1510,1515,1520,1524,1532,1539,1544,1574,1601],{"__ignoreMap":146},[150,1496,1497],{"class":152,"line":153},[150,1498,1499],{"class":181},"\u002F*\n",[150,1501,1502],{"class":152,"line":164},[150,1503,1504],{"class":181},"  The following declarations of reserved identifiers exist in the glibc implementation of\n",[150,1506,1507],{"class":152,"line":172},[150,1508,1509],{"class":181},"  \u003Cstdio.h>. The original source code may be found at:\n",[150,1511,1512],{"class":152,"line":178},[150,1513,1514],{"class":181},"  https:\u002F\u002Fsourceware.org\u002Fgit\u002F?p=glibc.git;a=blob_plain;f=include\u002Fstdio.h;hb=HEAD\n",[150,1516,1517],{"class":152,"line":185},[150,1518,1519],{"class":181},"*\u002F\n",[150,1521,1522],{"class":152,"line":190},[150,1523,1466],{"class":315},[150,1525,1526,1529],{"class":152,"line":372},[150,1527,1528],{"class":156},"#  define",[150,1530,1531],{"class":160}," __need_size_t\n",[150,1533,1534,1537],{"class":152,"line":397},[150,1535,1536],{"class":156},"#  include",[150,1538,296],{"class":295},[150,1540,1541],{"class":152,"line":630},[150,1542,1543],{"class":181},"\u002F* Generate a unique file name (and possibly open it).  *\u002F\n",[150,1545,1546,1548,1550,1553,1556,1559,1561,1564,1566,1568,1571],{"class":152,"line":644},[150,1547,1303],{"class":156},[150,1549,352],{"class":311},[150,1551,1552],{"class":160}," __path_search",[150,1554,1555],{"class":315}," (",[150,1557,1558],{"class":311},"char",[150,1560,893],{"class":156},[150,1562,1563],{"class":365},"__tmpl",[150,1565,1048],{"class":315},[150,1567,268],{"class":311},[150,1569,1570],{"class":365}," __tmpl_len",[150,1572,1573],{"class":315},",\n",[150,1575,1576,1579,1582,1584,1587,1589,1592,1594,1596,1599],{"class":152,"line":659},[150,1577,1578],{"class":156},"              const",[150,1580,1581],{"class":311}," char",[150,1583,893],{"class":156},[150,1585,1586],{"class":365},"__dir",[150,1588,1048],{"class":315},[150,1590,1591],{"class":156},"const",[150,1593,1581],{"class":311},[150,1595,893],{"class":156},[150,1597,1598],{"class":365},"__pfx",[150,1600,1573],{"class":315},[150,1602,1603,1606,1609],{"class":152,"line":671},[150,1604,1605],{"class":311},"              int",[150,1607,1608],{"class":365}," __try_tempdir",[150,1610,656],{"class":315},[124,1612,1614],{"id":1613},"risk-assessment","Risk Assessment",[39,1616,1617],{},"Using reserved identifiers can lead to incorrect program operation.",[1619,1620,1621,1622,1621,1652],"table",{},"\n  ",[1623,1624,1625,1626,1621],"thead",{},"\n    ",[1627,1628,1629,1630,1629,1634,1629,1637,1629,1640,1629,1643,1629,1646,1629,1649,1625],"tr",{},"\n      ",[1631,1632,1633],"th",{},"Rule",[1631,1635,1636],{},"Severity",[1631,1638,1639],{},"Likelihood",[1631,1641,1642],{},"Detectable",[1631,1644,1645],{},"Repairable",[1631,1647,1648],{},"Priority",[1631,1650,1651],{},"Level",[1653,1654,1625,1655,1621],"tbody",{},[1627,1656,1629,1657,1629,1661,1629,1664,1629,1667,1629,1670,1629,1673,1629,1680,1625],{},[1658,1659,1660],"td",{},"DCL37-C",[1658,1662,1663],{},"Low",[1658,1665,1666],{},"Unlikely",[1658,1668,1669],{},"Yes",[1658,1671,1672],{},"No",[1658,1674,1676],{"style":1675},"color: #27ae60;",[1677,1678,1679],"b",{},"P2",[1658,1681,1682],{"style":1675},[1677,1683,1684],{},"L3",[1686,1687,1689],"h3",{"id":1688},"automated-detection","Automated Detection",[1619,1691,1694],{"className":1692},[1693],"wrapped",[1653,1695,1696,1720,1767,1797,1822,1849,1901,1932,1955,1981,2012,2039,2092,2121,2168,2197,2224],{},[1627,1697,1700,1705,1710,1715],{"className":1698},[1699],"header",[1631,1701,1702],{},[39,1703,1704],{},"Tool",[1631,1706,1707],{},[39,1708,1709],{},"Version",[1631,1711,1712],{},[39,1713,1714],{},"Checker",[1631,1716,1717],{},[39,1718,1719],{},"Description",[1627,1721,1724,1730,1738,1764],{"className":1722},[1723],"odd",[1658,1725,1726],{},[43,1727,1729],{"href":1728},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fastree","Astrée",[1658,1731,1732],{},[1733,1734,1737],"div",{"className":1735},[1736],"content-wrapper","25.10",[1658,1739,1740],{},[39,1741,1742,1345,1748,1345,1753,1345,1758],{},[1362,1743,1744,1745],{},"future-library-use",[1746,1747],"br",{},[1362,1749,1750,1751],{},"language-override",[1746,1752],{},[1362,1754,1755,1756],{},"reserved-declaration",[1746,1757],{},[1362,1759,1760,1761,1763],{},"reserved-identifier",[1746,1762],{},"\nlanguage-undefine",[1658,1765,1766],{},"Partially checked",[1627,1768,1771,1777,1785,1790],{"className":1769},[1770],"even",[1658,1772,1773],{},[43,1774,1776],{"href":1775},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Faxivion-bauhaus-suite","Axivion Bauhaus Suite",[1658,1778,1779],{},[1733,1780,1782],{"className":1781},[1736],[39,1783,1784],{},"7.2.0",[1658,1786,1787],{},[1362,1788,1789],{},"CertC-DCL37",[1658,1791,1792,1793,1796],{},"Fully implemented. Reserved identifiers, as in ",[1362,1794,1795],{},"DCL37-C-EX3"," , are configurable.",[1627,1798,1800,1806,1812,1819],{"className":1799},[1723],[1658,1801,1802],{},[43,1803,1805],{"href":1804},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodesonar","CodeSonar",[1658,1807,1808],{},[1733,1809,1811],{"className":1810},[1736],"9.1p0",[1658,1813,1814],{},[39,1815,1816],{},[1362,1817,1818],{},"LANG.STRUCT.DECL.RESERVED",[1658,1820,1821],{},"Declaration of reserved name",[1627,1823,1825,1831,1837,1843],{"className":1824},[1770],[1658,1826,1827],{},[43,1828,1830],{"href":1829},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frose","Compass\u002FROSE",[1658,1832,1833],{},[39,1834,1835],{},[1746,1836],{},[1658,1838,1839],{},[39,1840,1841],{},[1746,1842],{},[1658,1844,1845],{},[39,1846,1847],{},[1746,1848],{},[1627,1850,1852,1858,1864,1898],{"className":1851},[1723],[1658,1853,1854],{},[43,1855,1857],{"href":1856},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcoverity","Coverity",[1658,1859,1860],{},[1733,1861,1863],{"className":1862},[1736],"2017.07",[1658,1865,1866,1871,1878,1887],{},[39,1867,1868],{},[1362,1869,1870],{},"MISRA C 2004 Rule 20.1",[39,1872,1873],{},[1362,1874,1875],{},[1362,1876,1877],{},"MISRA C 2004 Rule 20.2",[39,1879,1880],{},[1362,1881,1882],{},[1362,1883,1884],{},[1362,1885,1886],{},"MISRA C 2012 Rule 21.1",[39,1888,1889],{},[1362,1890,1891],{},[1362,1892,1893],{},[1362,1894,1895],{},[1362,1896,1897],{},"MISRA C 2012 Rule 21.2",[1658,1899,1900],{},"Implemented",[1627,1902,1904,1911,1919,1926],{"className":1903},[1770],[1658,1905,1907],{"style":1906},"text-align: left;",[43,1908,1910],{"href":1909},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck-premium","Cppcheck Premium",[1658,1912,1913],{"style":1906},[1733,1914,1916],{"className":1915},[1736],[39,1917,1918],{},"24.11.0",[1658,1920,1921],{},[39,1922,1923],{},[1362,1924,1925],{},"premium-cert-dcl37-c",[1658,1927,1928],{},[39,1929,1930],{},[1746,1931],{},[1627,1933,1935,1941,1947,1952],{"className":1934},[1723],[1658,1936,1937],{},[43,1938,1940],{"href":1939},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Feclair","ECLAIR",[1658,1942,1943],{},[1733,1944,1946],{"className":1945},[1736],"1.2",[1658,1948,1949],{},[1362,1950,1951],{},"CC2.DCL37",[1658,1953,1954],{},"Fully implemented",[1627,1956,1958,1964,1972,1979],{"className":1957},[1770],[1658,1959,1960],{},[43,1961,1963],{"href":1962},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fhelix-qac","Helix QAC",[1658,1965,1966],{},[1733,1967,1969],{"className":1968},[1736],[39,1970,1971],{},"2025.2",[1658,1973,1974],{},[39,1975,1976],{},[1362,1977,1978],{},"C0602, C0603, C4600, C4601, C4602, C4603, C4604, C4605, C4606, C4607, C4608, C4620, C4621, C4622, C4623, C4624, C4640, C4641, C4642, C4643, C4644, C4645",[1658,1980,1954],{},[1627,1982,1984,1990,1995,2010],{"className":1983},[1723],[1658,1985,1986],{},[43,1987,1989],{"href":1988},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fklocwork","Klocwork",[1658,1991,1992],{},[1733,1993,1971],{"className":1994},[1736],[1658,1996,1997,2000,2002,2005,2007],{},[1362,1998,1999],{},"MISRA.DEFINE.WRONGNAME.UNDERSCORE",[1746,2001],{},[1362,2003,2004],{},"MISRA.STDLIB.WRONGNAME.UNDERSCORE",[1746,2006],{},[1362,2008,2009],{},"MISRA.STDLIB.WRONGNAME",[1658,2011,1954],{},[1627,2013,2015,2021,2027,2034],{"className":2014},[1770],[1658,2016,2017],{},[43,2018,2020],{"href":2019},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fldra","LDRA tool suite",[1658,2022,2023],{},[1733,2024,2026],{"className":2025},[1736],"9.7.1",[1658,2028,2029],{},[39,2030,2031],{},[1362,2032,2033],{},"86 S, 218 S, 219 S, 580 S, 626 S",[1658,2035,2036],{},[39,2037,2038],{},"Fully Implemented",[1627,2040,2042,2048,2050,2074],{"className":2041},[1723],[1658,2043,2044],{},[43,2045,2047],{"href":2046},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fparasoft","Parasoft C\u002FC++test",[1658,2049,1971],{},[1658,2051,2052],{},[39,2053,2054],{},[1362,2055,2056,2057,2059,2060,2062,2063,2065,2066,2068,2069,2071,2072],{},"CERT_C-DCL37-b",[1746,2058],{},"\nCERT_C-DCL37-c",[1746,2061],{},"\nCERT_C-DCL37-d",[1746,2064],{},"\nCERT_C-DCL37-e",[1746,2067],{},"\nCERT_C-DCL37-f",[1746,2070],{},"\nCERT_C-DCL37-g",[1746,2073],{},[1658,2075,2076,2077,2079,2080,2082,2083,2085,2086,2088,2089,2091],{},"Identifiers that begin with an underscore and either an uppercase letter or another underscore should not be declared",[1746,2078],{},"\nAvoid declaring file-scoped objects whose names begin with an underscore",[1746,2081],{},"\nThe names of standard library macros should not be reused (C11 code)",[1746,2084],{},"\nThe names of standard library identifiers with file scope should not be reused (C11 code)",[1746,2087],{},"\nThe standard library identifiers with external linkage should not be reused (C11 code)",[1746,2090],{},"\nMacros that begin with an underscore and either an uppercase letter or another underscore should not be defined",[1627,2093,2095,2101,2109,2116],{"className":2094},[1770],[1658,2096,2097],{},[43,2098,2100],{"href":2099},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpc-lint-plus","PC-lint Plus",[1658,2102,2103],{},[1733,2104,2106],{"className":2105},[1736],[39,2107,2108],{},"1.4",[1658,2110,2111],{},[39,2112,2113],{},[1362,2114,2115],{},"978, 9071, 9093",[1658,2117,2118],{},[39,2119,2120],{},"Partially supported",[1627,2122,2124,2130,2138,2150],{"className":2123},[1723],[1658,2125,2126],{},[43,2127,2129],{"href":2128},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpolyspace-bug-finder","Polyspace Bug Finder",[1658,2131,2132],{},[1733,2133,2135],{"className":2134},[1736],[39,2136,2137],{},"R2025b",[1658,2139,2140,2146],{},[39,2141,2142],{},[43,2143,2145],{"href":2144},"https:\u002F\u002Fwww.mathworks.com\u002Fhelp\u002Fbugfinder\u002Fref\u002Fcertcruledcl37c.html","CERT C: Rule DCL37-C",[39,2147,2148],{},[1746,2149],{},[1658,2151,2152,2155,2165],{},[39,2153,2154],{},"Checks for:",[2156,2157,2158,2162],"ul",{},[2159,2160,2161],"li",{},"Defining and undefining reserved identifiers or macros",[2159,2163,2164],{},"Declaring a reserved identifier or macro name",[39,2166,2167],{},"Rule partially covered",[1627,2169,2171,2177,2185,2193],{"className":2170},[1770],[1658,2172,2173],{},[43,2174,2176],{"href":2175},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpvs-studio","PVS-Studio",[1658,2178,2179],{},[1733,2180,2182],{"className":2181},[1736],[39,2183,2184],{},"7.42",[1658,2186,2187],{},[1362,2188,2189],{},[43,2190,2192],{"href":2191},"https:\u002F\u002Fpvs-studio.com\u002Fen\u002Fdocs\u002Fwarnings\u002Fv677\u002F","V677",[1658,2194,2195],{},[1746,2196],{},[1627,2198,2200,2206,2212,2220],{"className":2199},[1723],[1658,2201,2202],{},[43,2203,2205],{"href":2204},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsonarqube-ccpp-plugin","SonarQube C\u002FC++ Plugin",[1658,2207,2208],{},[1733,2209,2211],{"className":2210},[1736],"3.11",[1658,2213,2214],{},[1362,2215,2216],{},[43,2217,2219],{"href":2218},"https:\u002F\u002Fwww.sonarsource.com\u002Fproducts\u002Fcodeanalyzers\u002Fsonarcfamilyforcpp\u002Frules-c.html#RSPEC-978","S978",[1658,2221,2222],{},[1746,2223],{},[1627,2225,2227,2233,2238,2261],{"className":2226},[1770],[1658,2228,2229],{},[43,2230,2232],{"href":2231},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frulechecker","RuleChecker",[1658,2234,2235],{},[1733,2236,1737],{"className":2237},[1736],[1658,2239,2240],{},[39,2241,2242,2244,2246,2248,2250,2252,2254,2256,2258],{},[1362,2243,1744],{},[1746,2245],{},[1362,2247,1750],{},[1746,2249],{},[1362,2251,1755],{},[1746,2253],{},[1362,2255,1760],{},[1746,2257],{},[1362,2259,2260],{},"language-undefine",[1658,2262,1766],{},[124,2264,2266],{"id":2265},"related-guidelines","Related Guidelines",[39,2268,2269,2273],{},[43,2270,2272],{"href":2271},"\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhow-this-coding-standard-is-organized#HowthisCodingStandardisOrganized-RelatedGuidelines","Key here"," (explains table format and definitions)",[1619,2275,2276,2286],{},[1623,2277,2278],{},[1627,2279,2280,2282,2284],{},[1631,2281],{},[1631,2283],{},[1631,2285],{},[1653,2287,2288,2299,2315,2327,2341,2356,2369,2382],{},[1627,2289,2290,2293,2296],{},[1658,2291,2292],{},"Taxonomy",[1658,2294,2295],{},"Taxonomy item",[1658,2297,2298],{},"Relationship",[1627,2300,2301,2306,2312],{},[1658,2302,2303],{},[43,2304,2305],{"href":17},"CERT C Secure Coding Standard",[1658,2307,2308],{},[43,2309,2311],{"href":2310},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre00-c","PRE00-C. Prefer inline or static functions to function-like macros",[1658,2313,2314],{},"Prior to 2018-01-12: CERT: Unspecified Relationship",[1627,2316,2317,2321,2325],{},[1658,2318,2319],{},[43,2320,2305],{"href":17},[1658,2322,2323],{},[43,2324,134],{"href":133},[1658,2326,2314],{},[1627,2328,2329,2333,2339],{},[1658,2330,2331],{},[43,2332,2305],{"href":17},[1658,2334,2335],{},[43,2336,2338],{"href":2337},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre31-c","PRE31-C. Avoid side effects in arguments to unsafe macros",[1658,2340,2314],{},[1627,2342,2343,2348,2354],{},[1658,2344,2345],{},[43,2346,2347],{"href":20},"CERT C",[1658,2349,2350],{},[43,2351,2353],{"href":2352},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl51-cpp","DCL51-CPP. Do not declare or define a reserved identifier",[1658,2355,2314],{},[1627,2357,2358,2364,2367],{},[1658,2359,2360],{},[43,2361,2363],{"href":2362},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO-IECTS17961","ISO\u002FIEC TS 17961",[1658,2365,2366],{},"Using identifiers that are reserved for the implementation [resident]",[1658,2368,2314],{},[1627,2370,2371,2377,2380],{},[1658,2372,2373],{},[43,2374,2376],{"href":2375},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-MISRA12","MISRA C:2012",[1658,2378,2379],{},"Rule 21.1 (required)",[1658,2381,2314],{},[1627,2383,2384,2388,2391],{},[1658,2385,2386],{},[43,2387,2376],{"href":2375},[1658,2389,2390],{},"Rule 21.2 (required)",[1658,2392,2314],{},[124,2394,2396],{"id":2395},"bibliography","Bibliography",[1619,2398,2400,2409],{"className":2399},[1693],[2401,2402,2403,2407],"colgroup",{},[2404,2405],"col",{"style":2406},"width: 50%",[2404,2408],{"style":2406},[1653,2410,2411,2423],{},[1627,2412,2414,2420],{"className":2413},[1723],[1658,2415,2416,2417,2419],{},"[ ",[43,2418,116],{"href":115}," ]",[1658,2421,2422],{},"Section 2.2, \"The Compilation Environment\"",[1627,2424,2426,2430],{"className":2425},[1770],[1658,2427,2416,2428,2419],{},[43,2429,46],{"href":45},[1658,2431,2432,2433,2435],{},"7.1.3, \"Reserved Identifiers\"",[1746,2434],{},[39,2436,2437,2438,2442],{},"7.33.14, \"Integer Types ",[83,2439,2441],{"style":2440},"letter-spacing: 0.0px;","       \u003Cstdint.h>      "," \"",[2444,2445],"hr",{},[39,2447,2448,1345,2455,1345,2461],{},[43,2449,2451],{"href":2450},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl36-c",[2452,2453],"img",{"src":2454},"\u002Fattachments\u002F87152044\u002F88034188.png",[43,2456,2458],{"href":2457},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002F",[2452,2459],{"src":2460},"\u002Fattachments\u002F87152044\u002F88034190.png",[43,2462,2464],{"href":2463},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl38-c",[2452,2465],{"src":2466},"\u002Fattachments\u002F87152044\u002F88034189.png",[2468,2469,2470],"style",{},"html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .s8-w5, html code.shiki .s8-w5{--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}html pre.shiki code .sq6CD, html code.shiki .sq6CD{--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic}html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html pre.shiki code .sTHNf, html code.shiki .sTHNf{--shiki-default:#E36209;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit;--shiki-sepia:#FD971F;--shiki-sepia-font-style:italic}html pre.shiki code .sOrwc, html code.shiki .sOrwc{--shiki-default:#E36209;--shiki-dark:#FFAB70;--shiki-sepia:#F8F8F2}",{"title":146,"searchDepth":164,"depth":164,"links":2472},[2473,2474,2475,2476,2477,2478,2479,2480,2481,2483,2485,2486,2489,2490],{"id":126,"depth":164,"text":127},{"id":199,"depth":164,"text":200},{"id":246,"depth":164,"text":247},{"id":403,"depth":164,"text":404},{"id":502,"depth":164,"text":503},{"id":697,"depth":164,"text":698},{"id":833,"depth":164,"text":834},{"id":965,"depth":164,"text":966},{"id":1220,"depth":164,"text":2482},"Noncompliant Code Example ( errno )",{"id":1311,"depth":164,"text":2484},"Compliant Solution ( errno )",{"id":1357,"depth":164,"text":1358},{"id":1613,"depth":164,"text":1614,"children":2487},[2488],{"id":1688,"depth":172,"text":1689},{"id":2265,"depth":164,"text":2266},{"id":2395,"depth":164,"text":2396},"According to the C Standard, 6.4.2.1 paragraph 7 [ ISO\u002FIEC 9899:2024 ],","md",{"tags":2494},[2495,2496,2497,2498,2499,2500,2501],"ptc","compass\u002Frose","android-applicable","rose-possible","not-for-cpp","rule","dcl","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl37-c",{"title":30,"description":2491},"4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F5.dcl37-c","eXAbXpjUxGGlx7gk0E6gfba7HX-Pnbt7NhAWV99g2bw",[2507,2510],{"title":2508,"path":2450,"stem":2509,"children":-1},"DCL36-C. Do not declare an identifier with conflicting linkage classifications","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F4.dcl36-c",{"title":2511,"path":2463,"stem":2512,"children":-1},"DCL38-C. Use the correct syntax when declaring a flexible array member","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F6.dcl38-c",[2514],{"title":2515,"path":2516,"stem":2517,"children":2518},"SEI CERT C Coding Standard","\u002Fsei-cert-c-coding-standard","4.sei-cert-c-coding-standard\u002F01.index",[2519,2520,2592,3171,3439,3453,3457,3461,3465,4276],{"title":2515,"path":2516,"stem":2517},{"title":2521,"path":2522,"stem":2523,"children":2524},"Front Matter","\u002Fsei-cert-c-coding-standard\u002Ffront-matter","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F1.index",[2525,2526],{"title":2521,"path":2522,"stem":2523},{"title":2527,"path":2528,"stem":2529,"children":2530},"Introduction","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.index",[2531,2532,2536,2540,2544,2548,2552,2556,2560,2564,2568,2572,2576,2580,2584,2588],{"title":2527,"path":2528,"stem":2529},{"title":2533,"path":2534,"stem":2535},"Scope","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fscope","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.scope",{"title":2537,"path":2538,"stem":2539},"Audience","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Faudience","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F02.audience",{"title":2541,"path":2542,"stem":2543},"How this Coding Standard is Organized","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhow-this-coding-standard-is-organized","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F03.how-this-coding-standard-is-organized",{"title":2545,"path":2546,"stem":2547},"History","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhistory","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F04.history",{"title":2549,"path":2550,"stem":2551},"ISO\u002FIEC TS 17961 C Secure Coding Rules","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fisoiec-ts-17961-c-secure-coding-rules","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F05.isoiec-ts-17961-c-secure-coding-rules",{"title":2553,"path":2554,"stem":2555},"Tool Selection and Validation","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Ftool-selection-and-validation","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F06.tool-selection-and-validation",{"title":2557,"path":2558,"stem":2559},"Taint Analysis","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Ftaint-analysis","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F07.taint-analysis",{"title":2561,"path":2562,"stem":2563},"Rules versus Recommendations","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Frules-versus-recommendations","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F08.rules-versus-recommendations",{"title":2565,"path":2566,"stem":2567},"Conformance Testing","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fconformance-testing","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F09.conformance-testing",{"title":2569,"path":2570,"stem":2571},"Development Process","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fdevelopment-process","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F10.development-process",{"title":2573,"path":2574,"stem":2575},"Usage","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fusage","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F11.usage",{"title":2577,"path":2578,"stem":2579},"System Qualities","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fsystem-qualities","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F12.system-qualities",{"title":2581,"path":2582,"stem":2583},"Automatically Generated Code","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fautomatically-generated-code","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F13.automatically-generated-code",{"title":2585,"path":2586,"stem":2587},"Government Regulations","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fgovernment-regulations","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F14.government-regulations",{"title":2589,"path":2590,"stem":2591},"Acknowledgments","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Facknowledgments","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F15.acknowledgments",{"title":2593,"path":2594,"stem":2595,"children":2596},"Rules","\u002Fsei-cert-c-coding-standard\u002Frules","4.sei-cert-c-coding-standard\u002F03.rules\u002F01.index",[2597,2598,2602,2632,2662,2724,2753,2779,2801,2867,2893,2951,2985,3015,3025,3063,3133,3149],{"title":2593,"path":2594,"stem":2595},{"title":2599,"path":2600,"stem":2601},"Application Programming Interfaces (API)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fapplication-programming-interfaces-api","4.sei-cert-c-coding-standard\u002F03.rules\u002F02.application-programming-interfaces-api",{"title":2603,"path":2604,"stem":2605,"children":2606},"Arrays (ARR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F1.index",[2607,2608,2612,2616,2620,2624,2628],{"title":2603,"path":2604,"stem":2605},{"title":2609,"path":2610,"stem":2611},"ARR30-C. Do not form or use out-of-bounds pointers or array subscripts","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F2.arr30-c",{"title":2613,"path":2614,"stem":2615},"ARR32-C. Ensure size arguments for variable length arrays are in a valid range","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F3.arr32-c",{"title":2617,"path":2618,"stem":2619},"ARR36-C. Do not subtract or compare two pointers that do not refer to the same array","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F4.arr36-c",{"title":2621,"path":2622,"stem":2623},"ARR37-C. Do not add or subtract an integer to a pointer to a non-array object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F5.arr37-c",{"title":2625,"path":2626,"stem":2627},"ARR38-C. Guarantee that library functions do not form invalid pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F6.arr38-c",{"title":2629,"path":2630,"stem":2631},"ARR39-C. Do not add or subtract a scaled integer to a pointer","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F7.arr39-c",{"title":2633,"path":2634,"stem":2635,"children":2636},"Characters and Strings (STR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F1.index",[2637,2638,2642,2646,2650,2654,2658],{"title":2633,"path":2634,"stem":2635},{"title":2639,"path":2640,"stem":2641},"STR30-C. Do not attempt to modify string literals","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F2.str30-c",{"title":2643,"path":2644,"stem":2645},"STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F3.str31-c",{"title":2647,"path":2648,"stem":2649},"STR32-C. Do not pass a non-null-terminated character sequence to a library function that expects a string","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F4.str32-c",{"title":2651,"path":2652,"stem":2653},"STR34-C. Cast characters to unsigned char before converting to larger integer sizes","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F5.str34-c",{"title":2655,"path":2656,"stem":2657},"STR37-C. Arguments to character-handling functions must be representable as an unsigned char","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F6.str37-c",{"title":2659,"path":2660,"stem":2661},"STR38-C. Do not confuse narrow and wide character strings and functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F7.str38-c",{"title":2663,"path":2664,"stem":2665,"children":2666},"Concurrency (CON)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F01.index",[2667,2668,2672,2676,2680,2684,2688,2692,2696,2700,2704,2708,2712,2716,2720],{"title":2663,"path":2664,"stem":2665},{"title":2669,"path":2670,"stem":2671},"CON30-C. Clean up thread-specific storage","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F02.con30-c",{"title":2673,"path":2674,"stem":2675},"CON31-C. Do not destroy a mutex while it is locked","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F03.con31-c",{"title":2677,"path":2678,"stem":2679},"CON32-C. Prevent data races when accessing bit-fields from multiple threads","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F04.con32-c",{"title":2681,"path":2682,"stem":2683},"CON33-C. Avoid race conditions when using library functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F05.con33-c",{"title":2685,"path":2686,"stem":2687},"CON34-C. Declare objects shared between threads with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F06.con34-c",{"title":2689,"path":2690,"stem":2691},"CON35-C. Avoid deadlock by locking in a predefined order","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F07.con35-c",{"title":2693,"path":2694,"stem":2695},"CON36-C. Wrap functions that can spuriously wake up in a loop","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F08.con36-c",{"title":2697,"path":2698,"stem":2699},"CON37-C. Do not call signal() in a multithreaded program","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F09.con37-c",{"title":2701,"path":2702,"stem":2703},"CON38-C. Preserve thread safety and liveness when using condition variables","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F10.con38-c",{"title":2705,"path":2706,"stem":2707},"CON39-C. Do not join or detach a thread that was previously joined or detached","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F11.con39-c",{"title":2709,"path":2710,"stem":2711},"CON40-C. Do not refer to an atomic variable twice in an expression","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F12.con40-c",{"title":2713,"path":2714,"stem":2715},"CON41-C. Wrap functions that can fail spuriously in a loop","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F13.con41-c",{"title":2717,"path":2718,"stem":2719},"CON42-C. Don't allow attackers to influence environment variables that control concurrency parameters","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F14.con42-c",{"title":2721,"path":2722,"stem":2723},"CON43-C. Do not allow data races in multithreaded code","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon43-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F15.con43-c",{"title":2725,"path":2726,"stem":2727,"children":2728},"Declarations and Initialization (DCL)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F1.index",[2729,2730,2734,2738,2739,2740,2741,2745,2749],{"title":2725,"path":2726,"stem":2727},{"title":2731,"path":2732,"stem":2733},"DCL30-C. Declare objects with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F2.dcl30-c",{"title":2735,"path":2736,"stem":2737},"DCL31-C. Declare identifiers before using them","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F3.dcl31-c",{"title":2508,"path":2450,"stem":2509},{"title":30,"path":2502,"stem":2504},{"title":2511,"path":2463,"stem":2512},{"title":2742,"path":2743,"stem":2744},"DCL39-C. Avoid information leakage when passing a structure across a trust boundary","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F7.dcl39-c",{"title":2746,"path":2747,"stem":2748},"DCL40-C. Do not create incompatible declarations of the same function or object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F8.dcl40-c",{"title":2750,"path":2751,"stem":2752},"DCL41-C. Do not declare variables inside a switch statement before the first case label","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F9.dcl41-c",{"title":2754,"path":2755,"stem":2756,"children":2757},"Environment (ENV)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F1.index",[2758,2759,2763,2767,2771,2775],{"title":2754,"path":2755,"stem":2756},{"title":2760,"path":2761,"stem":2762},"ENV30-C. Do not modify the object referenced by the return value of certain functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F2.env30-c",{"title":2764,"path":2765,"stem":2766},"ENV31-C. Do not rely on an environment pointer following an operation that may invalidate it","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F3.env31-c",{"title":2768,"path":2769,"stem":2770},"ENV32-C. All exit handlers must return normally","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F4.env32-c",{"title":2772,"path":2773,"stem":2774},"ENV33-C. Do not call system()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F5.env33-c",{"title":2776,"path":2777,"stem":2778},"ENV34-C. Do not store pointers returned by certain functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F6.env34-c",{"title":2780,"path":2781,"stem":2782,"children":2783},"Error Handling (ERR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F1.index",[2784,2785,2789,2793,2797],{"title":2780,"path":2781,"stem":2782},{"title":2786,"path":2787,"stem":2788},"ERR30-C. Take care when reading errno","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F2.err30-c",{"title":2790,"path":2791,"stem":2792},"ERR32-C. Do not rely on indeterminate values of errno","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F3.err32-c",{"title":2794,"path":2795,"stem":2796},"ERR33-C. Detect and handle standard library errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F4.err33-c",{"title":2798,"path":2799,"stem":2800},"ERR34-C. Detect errors when converting a string to a number","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F5.err34-c",{"title":2802,"path":2803,"stem":2804,"children":2805},"Expressions (EXP)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F01.index",[2806,2807,2811,2815,2819,2823,2827,2831,2835,2839,2843,2847,2851,2855,2859,2863],{"title":2802,"path":2803,"stem":2804},{"title":2808,"path":2809,"stem":2810},"EXP30-C. Do not depend on the order of evaluation for side effects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F02.exp30-c",{"title":2812,"path":2813,"stem":2814},"EXP32-C. Do not access a volatile object through a nonvolatile reference","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F03.exp32-c",{"title":2816,"path":2817,"stem":2818},"EXP33-C. Do not read uninitialized memory","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F04.exp33-c",{"title":2820,"path":2821,"stem":2822},"EXP34-C. Do not dereference null pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F05.exp34-c",{"title":2824,"path":2825,"stem":2826},"EXP35-C. Do not modify objects with temporary lifetime","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F06.exp35-c",{"title":2828,"path":2829,"stem":2830},"EXP36-C. Do not cast pointers into more strictly aligned pointer types","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F07.exp36-c",{"title":2832,"path":2833,"stem":2834},"EXP37-C. Call functions with the correct number and type of arguments","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F08.exp37-c",{"title":2836,"path":2837,"stem":2838},"EXP39-C. Do not access a variable through a pointer of an incompatible type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F09.exp39-c",{"title":2840,"path":2841,"stem":2842},"EXP40-C. Do not modify constant objects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F10.exp40-c",{"title":2844,"path":2845,"stem":2846},"EXP42-C. Do not compare padding data","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F11.exp42-c",{"title":2848,"path":2849,"stem":2850},"EXP43-C. Avoid undefined behavior when using restrict-qualified pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp43-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F12.exp43-c",{"title":2852,"path":2853,"stem":2854},"EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F13.exp44-c",{"title":2856,"path":2857,"stem":2858},"EXP45-C. Do not perform assignments in selection statements","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp45-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F14.exp45-c",{"title":2860,"path":2861,"stem":2862},"EXP46-C. Do not use a bitwise operator with a Boolean-like operand","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp46-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F15.exp46-c",{"title":2864,"path":2865,"stem":2866},"EXP47-C. Do not call va_arg with an argument of the incorrect type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F16.exp47-c",{"title":2868,"path":2869,"stem":2870,"children":2871},"Floating Point (FLP)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F1.index",[2872,2873,2877,2881,2885,2889],{"title":2868,"path":2869,"stem":2870},{"title":2874,"path":2875,"stem":2876},"FLP30-C. Do not use floating-point variables as loop counters","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F2.flp30-c",{"title":2878,"path":2879,"stem":2880},"FLP32-C. Prevent or detect domain and range errors in math functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F3.flp32-c",{"title":2882,"path":2883,"stem":2884},"FLP34-C. Ensure that floating-point conversions are within range of the new type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F4.flp34-c",{"title":2886,"path":2887,"stem":2888},"FLP36-C. Preserve precision when converting integral values to floating-point type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F5.flp36-c",{"title":2890,"path":2891,"stem":2892},"FLP37-C. Do not use object representations to compare floating-point values","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F6.flp37-c",{"title":2894,"path":2895,"stem":2896,"children":2897},"Input Output (FIO)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F01.index",[2898,2899,2903,2907,2911,2915,2919,2923,2927,2931,2935,2939,2943,2947],{"title":2894,"path":2895,"stem":2896},{"title":2900,"path":2901,"stem":2902},"FIO30-C. Exclude user input from format strings","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F02.fio30-c",{"title":2904,"path":2905,"stem":2906},"FIO32-C. Do not perform operations on devices that are only appropriate for files","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F03.fio32-c",{"title":2908,"path":2909,"stem":2910},"FIO34-C. Distinguish between characters read from a file and EOF or WEOF","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F04.fio34-c",{"title":2912,"path":2913,"stem":2914},"FIO37-C. Do not assume that fgets() or fgetws() returns a nonempty string when successful","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F05.fio37-c",{"title":2916,"path":2917,"stem":2918},"FIO38-C. Do not copy a FILE object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F06.fio38-c",{"title":2920,"path":2921,"stem":2922},"FIO39-C. Do not alternately input and output from a stream without an intervening flush or positioning call","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F07.fio39-c",{"title":2924,"path":2925,"stem":2926},"FIO40-C. Reset strings on fgets() or fgetws() failure","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F08.fio40-c",{"title":2928,"path":2929,"stem":2930},"FIO41-C. Do not call getc(), putc(), getwc(), or putwc() with a stream argument that has side effects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F09.fio41-c",{"title":2932,"path":2933,"stem":2934},"FIO42-C. Close files when they are no longer needed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F10.fio42-c",{"title":2936,"path":2937,"stem":2938},"FIO44-C. Only use values for fsetpos() that are returned from fgetpos()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F11.fio44-c",{"title":2940,"path":2941,"stem":2942},"FIO45-C. Avoid TOCTOU race conditions while accessing files","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio45-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F12.fio45-c",{"title":2944,"path":2945,"stem":2946},"FIO46-C. Do not access a closed file","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio46-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F13.fio46-c",{"title":2948,"path":2949,"stem":2950},"FIO47-C. Use valid format strings","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F14.fio47-c",{"title":2952,"path":2953,"stem":2954,"children":2955},"Integers (INT)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F1.index",[2956,2957,2961,2965,2969,2973,2977,2981],{"title":2952,"path":2953,"stem":2954},{"title":2958,"path":2959,"stem":2960},"INT30-C. Ensure that unsigned integer operations do not wrap","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F2.int30-c",{"title":2962,"path":2963,"stem":2964},"INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F3.int31-c",{"title":2966,"path":2967,"stem":2968},"INT32-C. Ensure that operations on signed integers do not result in overflow","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F4.int32-c",{"title":2970,"path":2971,"stem":2972},"INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F5.int33-c",{"title":2974,"path":2975,"stem":2976},"INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F6.int34-c",{"title":2978,"path":2979,"stem":2980},"INT35-C. Use correct integer precisions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F7.int35-c",{"title":2982,"path":2983,"stem":2984},"INT36-C. Converting a pointer to integer or integer to pointer","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F8.int36-c",{"title":2986,"path":2987,"stem":2988,"children":2989},"Memory Management (MEM)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F1.index",[2990,2991,2995,2999,3003,3007,3011],{"title":2986,"path":2987,"stem":2988},{"title":2992,"path":2993,"stem":2994},"MEM30-C. Do not access freed memory","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F2.mem30-c",{"title":2996,"path":2997,"stem":2998},"MEM31-C. Free dynamically allocated memory when no longer needed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F3.mem31-c",{"title":3000,"path":3001,"stem":3002},"MEM33-C. Allocate and copy structures containing a flexible array member dynamically","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F4.mem33-c",{"title":3004,"path":3005,"stem":3006},"MEM34-C. Only free memory allocated dynamically","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F5.mem34-c",{"title":3008,"path":3009,"stem":3010},"MEM35-C. Allocate sufficient memory for an object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F6.mem35-c",{"title":3012,"path":3013,"stem":3014},"MEM36-C. Do not modify the alignment of objects by calling realloc()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F7.mem36-c",{"title":3016,"path":3017,"stem":3018,"children":3019},"Microsoft Windows (WIN)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmicrosoft-windows-win","4.sei-cert-c-coding-standard\u002F03.rules\u002F14.microsoft-windows-win\u002F1.index",[3020,3021],{"title":3016,"path":3017,"stem":3018},{"title":3022,"path":3023,"stem":3024},"WIN30-C. Properly pair allocation and deallocation functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmicrosoft-windows-win\u002Fwin30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F14.microsoft-windows-win\u002F2.win30-c",{"title":3026,"path":3027,"stem":3028,"children":3029},"Miscellaneous (MSC)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F1.index",[3030,3031,3035,3039,3043,3047,3051,3055,3059],{"title":3026,"path":3027,"stem":3028},{"title":3032,"path":3033,"stem":3034},"MSC30-C. Do not use the rand() function for generating pseudorandom numbers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F2.msc30-c",{"title":3036,"path":3037,"stem":3038},"MSC32-C. Properly seed pseudorandom number generators","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F3.msc32-c",{"title":3040,"path":3041,"stem":3042},"MSC33-C. Do not pass invalid data to the asctime() function","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F4.msc33-c",{"title":3044,"path":3045,"stem":3046},"MSC37-C. Ensure that control never reaches the end of a non-void function","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F5.msc37-c",{"title":3048,"path":3049,"stem":3050},"MSC38-C. Do not treat a predefined identifier as an object if it might only be implemented as a macro","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F6.msc38-c",{"title":3052,"path":3053,"stem":3054},"MSC39-C. Do not call va_arg() on a va_list that has an indeterminate value","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F7.msc39-c",{"title":3056,"path":3057,"stem":3058},"MSC40-C. Do not violate constraints","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F8.msc40-c",{"title":3060,"path":3061,"stem":3062},"MSC41-C. Never hard code sensitive information","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F9.msc41-c",{"title":3064,"path":3065,"stem":3066,"children":3067},"POSIX (POS)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F01.index",[3068,3069,3073,3077,3081,3085,3089,3093,3097,3101,3105,3109,3113,3117,3121,3125,3129],{"title":3064,"path":3065,"stem":3066},{"title":3070,"path":3071,"stem":3072},"POS30-C. Use the readlink() function properly","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F02.pos30-c",{"title":3074,"path":3075,"stem":3076},"POS34-C. Do not call putenv() with a pointer to an automatic variable as the argument","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F03.pos34-c",{"title":3078,"path":3079,"stem":3080},"POS35-C. Avoid race conditions while checking for the existence of a symbolic link","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F04.pos35-c",{"title":3082,"path":3083,"stem":3084},"POS36-C. Observe correct revocation order while relinquishing privileges","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F05.pos36-c",{"title":3086,"path":3087,"stem":3088},"POS37-C. Ensure that privilege relinquishment is successful","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F06.pos37-c",{"title":3090,"path":3091,"stem":3092},"POS38-C. Beware of race conditions when using fork and file descriptors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F07.pos38-c",{"title":3094,"path":3095,"stem":3096},"POS39-C. Use the correct byte ordering when transferring data between systems","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F08.pos39-c",{"title":3098,"path":3099,"stem":3100},"POS44-C. Do not use signals to terminate threads","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F09.pos44-c",{"title":3102,"path":3103,"stem":3104},"POS47-C. Do not use threads that can be canceled asynchronously","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F10.pos47-c",{"title":3106,"path":3107,"stem":3108},"POS48-C. Do not unlock or destroy another POSIX thread's mutex","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos48-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F11.pos48-c",{"title":3110,"path":3111,"stem":3112},"POS49-C. When data must be accessed by multiple threads, provide a mutex and guarantee no adjacent data is also accessed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos49-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F12.pos49-c",{"title":3114,"path":3115,"stem":3116},"POS50-C. Declare objects shared between POSIX threads with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos50-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F13.pos50-c",{"title":3118,"path":3119,"stem":3120},"POS51-C. Avoid deadlock with POSIX threads by locking in predefined order","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos51-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F14.pos51-c",{"title":3122,"path":3123,"stem":3124},"POS52-C. Do not perform operations that can block while holding a POSIX lock","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos52-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F15.pos52-c",{"title":3126,"path":3127,"stem":3128},"POS53-C. Do not use more than one mutex for concurrent waiting operations on a condition variable","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos53-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F16.pos53-c",{"title":3130,"path":3131,"stem":3132},"POS54-C. Detect and handle POSIX library errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos54-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F17.pos54-c",{"title":3134,"path":3135,"stem":3136,"children":3137},"Preprocessor (PRE)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F1.index",[3138,3139,3143,3145],{"title":3134,"path":3135,"stem":3136},{"title":3140,"path":3141,"stem":3142},"PRE30-C. Do not create a universal character name through concatenation","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F2.pre30-c",{"title":2338,"path":2337,"stem":3144},"4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F3.pre31-c",{"title":3146,"path":3147,"stem":3148},"PRE32-C. Do not use preprocessor directives in invocations of function-like macros","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F4.pre32-c",{"title":3150,"path":3151,"stem":3152,"children":3153},"Signals (SIG)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F1.index",[3154,3155,3159,3163,3167],{"title":3150,"path":3151,"stem":3152},{"title":3156,"path":3157,"stem":3158},"SIG30-C. Call only asynchronous-safe functions within signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F2.sig30-c",{"title":3160,"path":3161,"stem":3162},"SIG31-C. Do not access shared objects in signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F3.sig31-c",{"title":3164,"path":3165,"stem":3166},"SIG34-C. Do not call signal() from within interruptible signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F4.sig34-c",{"title":3168,"path":3169,"stem":3170},"SIG35-C. Do not return from a computational exception signal handler","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F5.sig35-c",{"title":3172,"path":3173,"stem":3174,"children":3175},"Back Matter","\u002Fsei-cert-c-coding-standard\u002Fback-matter","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F1.index",[3176,3177,3181,3185,3189,3193,3378,3435],{"title":3172,"path":3173,"stem":3174},{"title":3178,"path":3179,"stem":3180},"AA. Bibliography","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F2.aa-bibliography",{"title":3182,"path":3183,"stem":3184},"BB. Definitions","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F3.bb-definitions",{"title":3186,"path":3187,"stem":3188},"CC. Undefined Behavior","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fcc-undefined-behavior","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F4.cc-undefined-behavior",{"title":3190,"path":3191,"stem":3192},"DD. Unspecified Behavior","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fdd-unspecified-behavior","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F5.dd-unspecified-behavior",{"title":3194,"path":3195,"stem":3196,"children":3197},"EE. Analyzers","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F01.index",[3198,3199,3201,3205,3207,3211,3215,3219,3223,3227,3231,3235,3239,3241,3245,3247,3251,3255,3257,3261,3265,3267,3271,3275,3279,3283,3287,3289,3293,3295,3299,3302,3306,3309,3313,3315,3319,3321,3325,3327,3331,3334,3338,3342,3344,3348,3352,3356,3358,3362,3366,3370,3374],{"title":3194,"path":3195,"stem":3196},{"title":1729,"path":1728,"stem":3200},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F02.astree",{"title":3202,"path":3203,"stem":3204},"Astrée_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fastree_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F03.astree_v",{"title":1776,"path":1775,"stem":3206},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F04.axivion-bauhaus-suite",{"title":3208,"path":3209,"stem":3210},"Axivion Bauhaus Suite_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Faxivion-bauhaus-suite_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F05.axivion-bauhaus-suite_v",{"title":3212,"path":3213,"stem":3214},"Clang","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F06.clang",{"title":3216,"path":3217,"stem":3218},"Clang_38_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_38_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F07.clang_38_v",{"title":3220,"path":3221,"stem":3222},"Clang_39_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_39_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F08.clang_39_v",{"title":3224,"path":3225,"stem":3226},"Clang_40_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_40_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F09.clang_40_v",{"title":3228,"path":3229,"stem":3230},"Clang_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F10.clang_v",{"title":3232,"path":3233,"stem":3234},"Codee","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodee","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F11.codee",{"title":3236,"path":3237,"stem":3238},"Codee_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodee_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F12.codee_v",{"title":1805,"path":1804,"stem":3240},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F13.codesonar",{"title":3242,"path":3243,"stem":3244},"CodeSonar_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodesonar_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F14.codesonar_v",{"title":1857,"path":1856,"stem":3246},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F15.coverity",{"title":3248,"path":3249,"stem":3250},"Coverity_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcoverity_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F16.coverity_v",{"title":3252,"path":3253,"stem":3254},"Cppcheck","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F17.cppcheck",{"title":1910,"path":1909,"stem":3256},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F18.cppcheck-premium",{"title":3258,"path":3259,"stem":3260},"Cppcheck Premium_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck-premium_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F19.cppcheck-premium_v",{"title":3262,"path":3263,"stem":3264},"Cppcheck_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F20.cppcheck_v",{"title":1940,"path":1939,"stem":3266},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F21.eclair",{"title":3268,"path":3269,"stem":3270},"ECLAIR_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Feclair_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F22.eclair_v",{"title":3272,"path":3273,"stem":3274},"EDG","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fedg","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F23.edg",{"title":3276,"path":3277,"stem":3278},"EDG_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fedg_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F24.edg_v",{"title":3280,"path":3281,"stem":3282},"GCC","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fgcc","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F25.gcc",{"title":3284,"path":3285,"stem":3286},"GCC_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fgcc_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F26.gcc_v",{"title":1963,"path":1962,"stem":3288},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F27.helix-qac",{"title":3290,"path":3291,"stem":3292},"Helix QAC_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fhelix-qac_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F28.helix-qac_v",{"title":1989,"path":1988,"stem":3294},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F29.klocwork",{"title":3296,"path":3297,"stem":3298},"Klocwork_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fklocwork_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F30.klocwork_v",{"title":3300,"path":2019,"stem":3301},"LDRA","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F31.ldra",{"title":3303,"path":3304,"stem":3305},"LDRA_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fldra_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F32.ldra_v",{"title":3307,"path":2046,"stem":3308},"Parasoft","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F33.parasoft",{"title":3310,"path":3311,"stem":3312},"Parasoft_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fparasoft_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F34.parasoft_v",{"title":2100,"path":2099,"stem":3314},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F35.pc-lint-plus",{"title":3316,"path":3317,"stem":3318},"PC-lint Plus_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpc-lint-plus_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F36.pc-lint-plus_v",{"title":2129,"path":2128,"stem":3320},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F37.polyspace-bug-finder",{"title":3322,"path":3323,"stem":3324},"Polyspace Bug Finder_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpolyspace-bug-finder_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F38.polyspace-bug-finder_v",{"title":2176,"path":2175,"stem":3326},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F39.pvs-studio",{"title":3328,"path":3329,"stem":3330},"PVS-Studio_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpvs-studio_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F40.pvs-studio_v",{"title":3332,"path":1829,"stem":3333},"Rose","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F41.rose",{"title":3335,"path":3336,"stem":3337},"Rose_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frose_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F42.rose_v",{"title":3339,"path":3340,"stem":3341},"Rosecheckers Code","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frosecheckers-code","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F43.rosecheckers-code",{"title":2232,"path":2231,"stem":3343},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F44.rulechecker",{"title":3345,"path":3346,"stem":3347},"RuleChecker_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frulechecker_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F45.rulechecker_v",{"title":3349,"path":3350,"stem":3351},"Security Reviewer - Static Reviewer","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsecurity-reviewer-static-reviewer","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F46.security-reviewer-static-reviewer",{"title":3353,"path":3354,"stem":3355},"Security Reviewer - Static Reviewer_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsecurity-reviewer-static-reviewer_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F47.security-reviewer-static-reviewer_v",{"title":2205,"path":2204,"stem":3357},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F48.sonarqube-ccpp-plugin",{"title":3359,"path":3360,"stem":3361},"SonarQube C\u002FC++ Plugin_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsonarqube-ccpp-plugin_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F49.sonarqube-ccpp-plugin_v",{"title":3363,"path":3364,"stem":3365},"Splint","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsplint","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F50.splint",{"title":3367,"path":3368,"stem":3369},"Splint_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsplint_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F51.splint_v",{"title":3371,"path":3372,"stem":3373},"TrustInSoft Analyzer","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Ftrustinsoft-analyzer","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F52.trustinsoft-analyzer",{"title":3375,"path":3376,"stem":3377},"TrustInSoft Analyzer_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Ftrustinsoft-analyzer_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F53.trustinsoft-analyzer_v",{"title":3379,"path":3380,"stem":3381,"children":3382},"FF. Related Guidelines","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F01.index",[3383,3384,3388,3392,3396,3400,3404,3408,3412,3416,3419,3423,3427,3431],{"title":3379,"path":3380,"stem":3381},{"title":3385,"path":3386,"stem":3387},"2003","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F02.2003","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F02.2003",{"title":3389,"path":3390,"stem":3391},"2006","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F03.2006","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F03.2006",{"title":3393,"path":3394,"stem":3395},"2007","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F04.2007","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F04.2007",{"title":3397,"path":3398,"stem":3399},"2008","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F05.2008","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F05.2008",{"title":3401,"path":3402,"stem":3403},"2010","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F06.2010","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F06.2010",{"title":3405,"path":3406,"stem":3407},"2011","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F07.2011","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F07.2011",{"title":3409,"path":3410,"stem":3411},"2012","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F08.2012","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F08.2012",{"title":3413,"path":3414,"stem":3415},"2013","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F09.2013","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F09.2013",{"title":3413,"path":3417,"stem":3418},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F10.2013","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F10.2013",{"title":3420,"path":3421,"stem":3422},"MITRE CWE","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F11.mitre-cwe",{"title":3424,"path":3425,"stem":3426},"MITRE CWE 2.11","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-211","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F12.mitre-cwe-211",{"title":3428,"path":3429,"stem":3430},"MITRE CWE 3.1","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-31","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F13.mitre-cwe-31",{"title":3432,"path":3433,"stem":3434},"MITRE CWE 3.11","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-311","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F14.mitre-cwe-311",{"title":3436,"path":3437,"stem":3438},"GG. Risk Assessments","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fgg-risk-assessments","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F8.gg-risk-assessments",{"title":3440,"path":3441,"stem":3442,"children":3443},"Admin","\u002Fsei-cert-c-coding-standard\u002Fadmin","4.sei-cert-c-coding-standard\u002F05.admin\u002F1.index",[3444,3445,3449],{"title":3440,"path":3441,"stem":3442},{"title":3446,"path":3447,"stem":3448},"TODO List","\u002Fsei-cert-c-coding-standard\u002Fadmin\u002Ftodo-list","4.sei-cert-c-coding-standard\u002F05.admin\u002F2.todo-list",{"title":3450,"path":3451,"stem":3452},"Undefined and implementation-defined behaviors not deemed ruleworthy","\u002Fsei-cert-c-coding-standard\u002Fadmin\u002Fundefined-and-implementation-defined-behaviors-not-deemed-ruleworthy","4.sei-cert-c-coding-standard\u002F05.admin\u002F3.undefined-and-implementation-defined-behaviors-not-deemed-ruleworthy",{"title":3454,"path":3455,"stem":3456},"Coding Style Guidelines","\u002Fsei-cert-c-coding-standard\u002Fcoding-style-guidelines","4.sei-cert-c-coding-standard\u002F05.coding-style-guidelines",{"title":3458,"path":3459,"stem":3460},"Errata for SEI CERT C Coding Standard (2016 Edition)","\u002Fsei-cert-c-coding-standard\u002Ferrata-for-sei-cert-c-coding-standard-2016-edition","4.sei-cert-c-coding-standard\u002F06.errata-for-sei-cert-c-coding-standard-2016-edition",{"title":3462,"path":3463,"stem":3464},"Wiki Contents","\u002Fsei-cert-c-coding-standard\u002Fwiki-contents","4.sei-cert-c-coding-standard\u002F06.wiki-contents",{"title":3466,"path":3467,"stem":3468,"children":3469},"Recommendations","\u002Fsei-cert-c-coding-standard\u002Frecommendations","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F01.index",[3470,3471,3512,3529,3574,3615,3712,3729,3762,3831,3868,3953,4018,4067,4092,4185,4206,4259],{"title":3466,"path":3467,"stem":3468},{"title":2599,"path":3472,"stem":3473,"children":3474},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F01.index",[3475,3476,3480,3484,3488,3492,3496,3500,3504,3508],{"title":2599,"path":3472,"stem":3473},{"title":3477,"path":3478,"stem":3479},"API00-C. Functions should validate their parameters","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F02.api00-c",{"title":3481,"path":3482,"stem":3483},"API01-C. Avoid laying out strings in memory directly before sensitive data","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F03.api01-c",{"title":3485,"path":3486,"stem":3487},"API02-C. Functions that read or write to or from an array should take an argument to specify the source or target size","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F04.api02-c",{"title":3489,"path":3490,"stem":3491},"API03-C. Create consistent interfaces and capabilities across related functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F05.api03-c",{"title":3493,"path":3494,"stem":3495},"API04-C. Provide a consistent and usable error-checking mechanism","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F06.api04-c",{"title":3497,"path":3498,"stem":3499},"API05-C. Use conformant array parameters","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F07.api05-c",{"title":3501,"path":3502,"stem":3503},"API07-C. Enforce type safety","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F08.api07-c",{"title":3505,"path":3506,"stem":3507},"API09-C. Compatible values should have the same type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F09.api09-c",{"title":3509,"path":3510,"stem":3511},"API10-C. APIs should have security options enabled by default","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F10.api10-c",{"title":2603,"path":3513,"stem":3514,"children":3515},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F1.index",[3516,3517,3521,3525],{"title":2603,"path":3513,"stem":3514},{"title":3518,"path":3519,"stem":3520},"ARR00-C. Understand how arrays work","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F2.arr00-c",{"title":3522,"path":3523,"stem":3524},"ARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an array","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F3.arr01-c",{"title":3526,"path":3527,"stem":3528},"ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F4.arr02-c",{"title":2633,"path":3530,"stem":3531,"children":3532},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F01.index",[3533,3534,3538,3542,3546,3550,3554,3558,3562,3566,3570],{"title":2633,"path":3530,"stem":3531},{"title":3535,"path":3536,"stem":3537},"STR00-C. Represent characters using an appropriate type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F02.str00-c",{"title":3539,"path":3540,"stem":3541},"STR01-C. Adopt and implement a consistent plan for managing strings","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F03.str01-c",{"title":3543,"path":3544,"stem":3545},"STR02-C. Sanitize data passed to complex subsystems","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F04.str02-c",{"title":3547,"path":3548,"stem":3549},"STR03-C. Do not inadvertently truncate a string","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F05.str03-c",{"title":3551,"path":3552,"stem":3553},"STR04-C. Use plain char for characters in the basic character set","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F06.str04-c",{"title":3555,"path":3556,"stem":3557},"STR05-C. Use pointers to const when referring to string literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F07.str05-c",{"title":3559,"path":3560,"stem":3561},"STR06-C. Do not assume that strtok() leaves the parse string unchanged","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F08.str06-c",{"title":3563,"path":3564,"stem":3565},"STR09-C. Don't assume numeric values for expressions with type plain character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F09.str09-c",{"title":3567,"path":3568,"stem":3569},"STR10-C. Do not concatenate different type of string literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F10.str10-c",{"title":3571,"path":3572,"stem":3573},"STR11-C. Do not specify the bound of a character array initialized with a string literal","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F11.str11-c",{"title":2663,"path":3575,"stem":3576,"children":3577},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F01.index",[3578,3579,3583,3587,3591,3595,3599,3603,3607,3611],{"title":2663,"path":3575,"stem":3576},{"title":3580,"path":3581,"stem":3582},"CON01-C. Acquire and release synchronization primitives in the same module, at the same level of abstraction","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F02.con01-c",{"title":3584,"path":3585,"stem":3586},"CON02-C. Do not use volatile as a synchronization primitive","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F03.con02-c",{"title":3588,"path":3589,"stem":3590},"CON03-C. Ensure visibility when accessing shared variables","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F04.con03-c",{"title":3592,"path":3593,"stem":3594},"CON04-C. Join or detach threads even if their exit status is unimportant","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F05.con04-c",{"title":3596,"path":3597,"stem":3598},"CON05-C. Do not perform operations that can block while holding a lock","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F06.con05-c",{"title":3600,"path":3601,"stem":3602},"CON06-C. Ensure that every mutex outlives the data it protects","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F07.con06-c",{"title":3604,"path":3605,"stem":3606},"CON07-C. Ensure that compound operations on shared variables are atomic","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F08.con07-c",{"title":3608,"path":3609,"stem":3610},"CON08-C. Do not assume that a group of calls to independently atomic methods is atomic","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F09.con08-c",{"title":3612,"path":3613,"stem":3614},"CON09-C. Avoid the ABA problem when using lock-free algorithms","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F10.con09-c",{"title":2725,"path":3616,"stem":3617,"children":3618},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F01.index",[3619,3620,3624,3628,3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3680,3684,3688,3692,3696,3700,3704,3708],{"title":2725,"path":3616,"stem":3617},{"title":3621,"path":3622,"stem":3623},"DCL00-C. Const-qualify immutable objects","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F02.dcl00-c",{"title":3625,"path":3626,"stem":3627},"DCL01-C. Do not reuse variable names in subscopes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F03.dcl01-c",{"title":3629,"path":3630,"stem":3631},"DCL02-C. Use visually distinct identifiers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F04.dcl02-c",{"title":3633,"path":3634,"stem":3635},"DCL03-C. Use a static assertion to test the value of a constant expression","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F05.dcl03-c",{"title":3637,"path":3638,"stem":3639},"DCL04-C. Do not declare more than one variable per declaration","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F06.dcl04-c",{"title":3641,"path":3642,"stem":3643},"DCL05-C. Use typedefs of non-pointer types only","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F07.dcl05-c",{"title":3645,"path":3646,"stem":3647},"DCL06-C. Use meaningful symbolic constants to represent literal values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F08.dcl06-c",{"title":3649,"path":3650,"stem":3651},"DCL07-C. Include the appropriate type information in function declarators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F09.dcl07-c",{"title":3653,"path":3654,"stem":3655},"DCL08-C. Properly encode relationships in constant definitions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F10.dcl08-c",{"title":3657,"path":3658,"stem":3659},"DCL09-C. Declare functions that return errno with a return type of errno_t","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F11.dcl09-c",{"title":3661,"path":3662,"stem":3663},"DCL10-C. Maintain the contract between the writer and caller of variadic functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F12.dcl10-c",{"title":3665,"path":3666,"stem":3667},"DCL11-C. Understand the type issues associated with variadic functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F13.dcl11-c",{"title":3669,"path":3670,"stem":3671},"DCL12-C. Implement abstract data types using opaque types","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F14.dcl12-c",{"title":3673,"path":3674,"stem":3675},"DCL13-C. Declare function parameters that are pointers to values not changed by the function as const","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F15.dcl13-c",{"title":3677,"path":3678,"stem":3679},"DCL15-C. Declare file-scope objects or functions that do not need external linkage as static","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F16.dcl15-c",{"title":3681,"path":3682,"stem":3683},"DCL16-C. Use \"L,\" not \"l,\" to indicate a long value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F17.dcl16-c",{"title":3685,"path":3686,"stem":3687},"DCL17-C. Beware of miscompiled volatile-qualified variables","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F18.dcl17-c",{"title":3689,"path":3690,"stem":3691},"DCL18-C. Do not begin integer constants with 0 when specifying a decimal value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F19.dcl18-c",{"title":3693,"path":3694,"stem":3695},"DCL19-C. Minimize the scope of variables and functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F20.dcl19-c",{"title":3697,"path":3698,"stem":3699},"DCL20-C. Explicitly specify void when a function accepts no arguments","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F21.dcl20-c",{"title":3701,"path":3702,"stem":3703},"DCL21-C. Understand the storage of compound literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F22.dcl21-c",{"title":3705,"path":3706,"stem":3707},"DCL22-C. Use volatile for data that cannot be cached","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F23.dcl22-c",{"title":3709,"path":3710,"stem":3711},"DCL23-C. Guarantee that mutually visible identifiers are unique","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F24.dcl23-c",{"title":2754,"path":3713,"stem":3714,"children":3715},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F1.index",[3716,3717,3721,3725],{"title":2754,"path":3713,"stem":3714},{"title":3718,"path":3719,"stem":3720},"ENV01-C. Do not make assumptions about the size of an environment variable","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F2.env01-c",{"title":3722,"path":3723,"stem":3724},"ENV02-C. Beware of multiple environment variables with the same effective name","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F3.env02-c",{"title":3726,"path":3727,"stem":3728},"ENV03-C. Sanitize the environment when invoking external programs","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F4.env03-c",{"title":2780,"path":3730,"stem":3731,"children":3732},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F1.index",[3733,3734,3738,3742,3746,3750,3754,3758],{"title":2780,"path":3730,"stem":3731},{"title":3735,"path":3736,"stem":3737},"ERR00-C. Adopt and implement a consistent and comprehensive error-handling policy","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F2.err00-c",{"title":3739,"path":3740,"stem":3741},"ERR01-C. Use ferror() rather than errno to check for FILE stream errors","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F3.err01-c",{"title":3743,"path":3744,"stem":3745},"ERR02-C. Avoid in-band error indicators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F4.err02-c",{"title":3747,"path":3748,"stem":3749},"ERR04-C. Choose an appropriate termination strategy","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F5.err04-c",{"title":3751,"path":3752,"stem":3753},"ERR05-C. Application-independent code should provide error detection without dictating error handling","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F6.err05-c",{"title":3755,"path":3756,"stem":3757},"ERR06-C. Understand the termination behavior of assert() and abort()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F7.err06-c",{"title":3759,"path":3760,"stem":3761},"ERR07-C. Prefer functions that support error checking over equivalent functions that don't","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F8.err07-c",{"title":2802,"path":3763,"stem":3764,"children":3765},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F01.index",[3766,3767,3771,3775,3779,3783,3787,3791,3795,3799,3803,3807,3811,3815,3819,3823,3827],{"title":2802,"path":3763,"stem":3764},{"title":3768,"path":3769,"stem":3770},"EXP00-C. Use parentheses for precedence of operation","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F02.exp00-c",{"title":3772,"path":3773,"stem":3774},"EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F03.exp02-c",{"title":3776,"path":3777,"stem":3778},"EXP03-C. Do not assume the size of a structure is the sum of the sizes of its members","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F04.exp03-c",{"title":3780,"path":3781,"stem":3782},"EXP05-C. Do not cast away a const qualification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F05.exp05-c",{"title":3784,"path":3785,"stem":3786},"EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F06.exp07-c",{"title":3788,"path":3789,"stem":3790},"EXP08-C. Ensure pointer arithmetic is used correctly","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F07.exp08-c",{"title":3792,"path":3793,"stem":3794},"EXP09-C. Use sizeof to determine the size of a type or variable","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F08.exp09-c",{"title":3796,"path":3797,"stem":3798},"EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F09.exp10-c",{"title":3800,"path":3801,"stem":3802},"EXP11-C. Do not make assumptions regarding the layout of structures with bit-fields","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F10.exp11-c",{"title":3804,"path":3805,"stem":3806},"EXP12-C. Do not ignore values returned by functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F11.exp12-c",{"title":3808,"path":3809,"stem":3810},"EXP13-C. Treat relational and equality operators as if they were nonassociative","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F12.exp13-c",{"title":3812,"path":3813,"stem":3814},"EXP14-C. Beware of integer promotion when performing bitwise operations on integer types smaller than int","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F13.exp14-c",{"title":3816,"path":3817,"stem":3818},"EXP15-C. Do not place a semicolon on the same line as an if, for, or while statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F14.exp15-c",{"title":3820,"path":3821,"stem":3822},"EXP16-C. Do not compare function pointers to constant values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F15.exp16-c",{"title":3824,"path":3825,"stem":3826},"EXP19-C. Use braces for the body of an if, for, or while statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F16.exp19-c",{"title":3828,"path":3829,"stem":3830},"EXP20-C. Perform explicit tests to determine success, true and false, and equality","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F17.exp20-c",{"title":2868,"path":3832,"stem":3833,"children":3834},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F1.index",[3835,3836,3840,3844,3848,3852,3856,3860,3864],{"title":2868,"path":3832,"stem":3833},{"title":3837,"path":3838,"stem":3839},"FLP00-C. Understand the limitations of floating-point numbers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F2.flp00-c",{"title":3841,"path":3842,"stem":3843},"FLP01-C. Take care in rearranging floating-point expressions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F3.flp01-c",{"title":3845,"path":3846,"stem":3847},"FLP02-C. Avoid using floating-point numbers when precise computation is needed","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F4.flp02-c",{"title":3849,"path":3850,"stem":3851},"FLP03-C. Detect and handle floating-point errors","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F5.flp03-c",{"title":3853,"path":3854,"stem":3855},"FLP04-C. Check floating-point inputs for exceptional values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F6.flp04-c",{"title":3857,"path":3858,"stem":3859},"FLP05-C. Do not use denormalized numbers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F7.flp05-c",{"title":3861,"path":3862,"stem":3863},"FLP06-C. Convert integers to floating point for floating-point operations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F8.flp06-c",{"title":3865,"path":3866,"stem":3867},"FLP07-C. Cast the return value of a function that returns a floating-point type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F9.flp07-c",{"title":2894,"path":3869,"stem":3870,"children":3871},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F01.index",[3872,3873,3877,3881,3885,3889,3893,3897,3901,3905,3909,3913,3917,3921,3925,3929,3933,3937,3941,3945,3949],{"title":2894,"path":3869,"stem":3870},{"title":3874,"path":3875,"stem":3876},"FIO01-C. Be careful using functions that use file names for identification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F02.fio01-c",{"title":3878,"path":3879,"stem":3880},"FIO02-C. Canonicalize path names originating from tainted sources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F03.fio02-c",{"title":3882,"path":3883,"stem":3884},"FIO03-C. Do not make assumptions about fopen() and file creation","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F04.fio03-c",{"title":3886,"path":3887,"stem":3888},"FIO05-C. Identify files using multiple file attributes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F05.fio05-c",{"title":3890,"path":3891,"stem":3892},"FIO06-C. Create files with appropriate access permissions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F06.fio06-c",{"title":3894,"path":3895,"stem":3896},"FIO08-C. Take care when calling remove() on an open file","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F07.fio08-c",{"title":3898,"path":3899,"stem":3900},"FIO09-C. Be careful with binary data when transferring data across systems","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F08.fio09-c",{"title":3902,"path":3903,"stem":3904},"FIO10-C. Take care when using the rename() function","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F09.fio10-c",{"title":3906,"path":3907,"stem":3908},"FIO11-C. Take care when specifying the mode parameter of fopen()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F10.fio11-c",{"title":3910,"path":3911,"stem":3912},"FIO13-C. Never push back anything other than one read character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F11.fio13-c",{"title":3914,"path":3915,"stem":3916},"FIO14-C. Understand the difference between text mode and binary mode with file streams","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F12.fio14-c",{"title":3918,"path":3919,"stem":3920},"FIO15-C. Ensure that file operations are performed in a secure directory","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F13.fio15-c",{"title":3922,"path":3923,"stem":3924},"FIO17-C. Do not rely on an ending null character when using fread()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F14.fio17-c",{"title":3926,"path":3927,"stem":3928},"FIO18-C. Never expect fwrite() to terminate the writing process at a null character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F15.fio18-c",{"title":3930,"path":3931,"stem":3932},"FIO19-C. Do not use fseek() and ftell() to compute the size of a regular file","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F16.fio19-c",{"title":3934,"path":3935,"stem":3936},"FIO20-C. Avoid unintentional truncation when using fgets() or fgetws()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F17.fio20-c",{"title":3938,"path":3939,"stem":3940},"FIO21-C. Do not create temporary files in shared directories","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F18.fio21-c",{"title":3942,"path":3943,"stem":3944},"FIO22-C. Close files before spawning processes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F19.fio22-c",{"title":3946,"path":3947,"stem":3948},"FIO23-C. Do not exit with unflushed data in stdout or stderr","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F20.fio23-c",{"title":3950,"path":3951,"stem":3952},"FIO24-C. Do not open a file that is already open","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio24-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F21.fio24-c",{"title":2952,"path":3954,"stem":3955,"children":3956},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F01.index",[3957,3958,3962,3966,3970,3974,3978,3982,3986,3990,3994,3998,4002,4006,4010,4014],{"title":2952,"path":3954,"stem":3955},{"title":3959,"path":3960,"stem":3961},"INT00-C. Understand the data model used by your implementation(s)","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F02.int00-c",{"title":3963,"path":3964,"stem":3965},"INT01-C. Use size_t or rsize_t for all integer values representing the size of an object","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F03.int01-c",{"title":3967,"path":3968,"stem":3969},"INT04-C. Enforce limits on integer values originating from tainted sources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F05.int04-c",{"title":3971,"path":3972,"stem":3973},"INT05-C. Do not use input functions to convert character data if they cannot handle all possible inputs","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F06.int05-c",{"title":3975,"path":3976,"stem":3977},"INT07-C. Use only explicitly signed or unsigned char type for numeric values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F07.int07-c",{"title":3979,"path":3980,"stem":3981},"INT08-C. Verify that all integer values are in range","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F08.int08-c",{"title":3983,"path":3984,"stem":3985},"INT09-C. Ensure enumeration constants map to unique values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F09.int09-c",{"title":3987,"path":3988,"stem":3989},"INT10-C. Do not assume a positive remainder when using the % operator","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F10.int10-c",{"title":3991,"path":3992,"stem":3993},"INT12-C. Do not make assumptions about the type of a plain int bit-field when used in an expression","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F11.int12-c",{"title":3995,"path":3996,"stem":3997},"INT13-C. Use bitwise operators only on unsigned operands","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F12.int13-c",{"title":3999,"path":4000,"stem":4001},"INT14-C. Avoid performing bitwise and arithmetic operations on the same data","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F13.int14-c",{"title":4003,"path":4004,"stem":4005},"INT15-C. Use intmax_t or uintmax_t for formatted IO on programmer-defined integer types","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F14.int15-c",{"title":4007,"path":4008,"stem":4009},"INT16-C. Do not make assumptions about representation of signed integers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F15.int16-c",{"title":4011,"path":4012,"stem":4013},"INT17-C. Define integer constants in an implementation-independent manner","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F16.int17-c",{"title":4015,"path":4016,"stem":4017},"INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F17.int18-c",{"title":2986,"path":4019,"stem":4020,"children":4021},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F01.index",[4022,4023,4027,4031,4035,4039,4043,4047,4051,4055,4059,4063],{"title":2986,"path":4019,"stem":4020},{"title":4024,"path":4025,"stem":4026},"MEM00-C. Allocate and free memory in the same module, at the same level of abstraction","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F02.mem00-c",{"title":4028,"path":4029,"stem":4030},"MEM01-C. Store a new value in pointers immediately after free()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F03.mem01-c",{"title":4032,"path":4033,"stem":4034},"MEM02-C. Immediately cast the result of a memory allocation function call into a pointer to the allocated type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F04.mem02-c",{"title":4036,"path":4037,"stem":4038},"MEM03-C. Clear sensitive information stored in reusable resources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F05.mem03-c",{"title":4040,"path":4041,"stem":4042},"MEM04-C. Beware of zero-length allocations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F06.mem04-c",{"title":4044,"path":4045,"stem":4046},"MEM05-C. Avoid large stack allocations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F07.mem05-c",{"title":4048,"path":4049,"stem":4050},"MEM06-C. Ensure that sensitive data is not written out to disk","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F08.mem06-c",{"title":4052,"path":4053,"stem":4054},"MEM07-C. Ensure that the arguments to calloc(), when multiplied, do not wrap","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F09.mem07-c",{"title":4056,"path":4057,"stem":4058},"MEM10-C. Define and use a pointer validation function","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F10.mem10-c",{"title":4060,"path":4061,"stem":4062},"MEM11-C. Do not assume infinite heap space","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F11.mem11-c",{"title":4064,"path":4065,"stem":4066},"MEM12-C. Consider using a goto chain when leaving a function on error when using and releasing resources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F12.mem12-c",{"title":3016,"path":4068,"stem":4069,"children":4070},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F1.index",[4071,4072,4076,4080,4084,4088],{"title":3016,"path":4068,"stem":4069},{"title":4073,"path":4074,"stem":4075},"WIN00-C. Be specific when dynamically loading libraries","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F2.win00-c",{"title":4077,"path":4078,"stem":4079},"WIN01-C. Do not forcibly terminate execution","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F3.win01-c",{"title":4081,"path":4082,"stem":4083},"WIN02-C. Restrict privileges when spawning child processes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F4.win02-c",{"title":4085,"path":4086,"stem":4087},"WIN03-C. Understand HANDLE inheritance","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F5.win03-c",{"title":4089,"path":4090,"stem":4091},"WIN04-C. Consider encrypting function pointers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F6.win04-c",{"title":3026,"path":4093,"stem":4094,"children":4095},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F01.index",[4096,4097,4101,4105,4109,4113,4117,4121,4125,4129,4133,4137,4141,4145,4149,4153,4157,4161,4165,4169,4173,4177,4181],{"title":3026,"path":4093,"stem":4094},{"title":4098,"path":4099,"stem":4100},"MSC00-C. Compile cleanly at high warning levels","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F02.msc00-c",{"title":4102,"path":4103,"stem":4104},"MSC01-C. Strive for logical completeness","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F03.msc01-c",{"title":4106,"path":4107,"stem":4108},"MSC04-C. Use comments consistently and in a readable fashion","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F04.msc04-c",{"title":4110,"path":4111,"stem":4112},"MSC05-C. Do not manipulate time_t typed values directly","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F05.msc05-c",{"title":4114,"path":4115,"stem":4116},"MSC06-C. Beware of compiler optimizations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F06.msc06-c",{"title":4118,"path":4119,"stem":4120},"MSC07-C. Detect and remove dead code","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F07.msc07-c",{"title":4122,"path":4123,"stem":4124},"UTF8-related issues","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Futf8-related-issues","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F08.utf8-related-issues",{"title":4126,"path":4127,"stem":4128},"MSC11-C. Incorporate diagnostic tests using assertions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F09.msc11-c",{"title":4130,"path":4131,"stem":4132},"MSC12-C. Detect and remove code that has no effect or is never executed","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F10.msc12-c",{"title":4134,"path":4135,"stem":4136},"MSC13-C. Detect and remove unused values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F11.msc13-c",{"title":4138,"path":4139,"stem":4140},"MSC14-C. Do not introduce unnecessary platform dependencies","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F12.msc14-c",{"title":4142,"path":4143,"stem":4144},"MSC15-C. Do not depend on undefined behavior","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F13.msc15-c",{"title":4146,"path":4147,"stem":4148},"MSC17-C. Finish every set of statements associated with a case label with a break statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F14.msc17-c",{"title":4150,"path":4151,"stem":4152},"MSC18-C. Be careful while handling sensitive data, such as passwords, in program code","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F15.msc18-c",{"title":4154,"path":4155,"stem":4156},"MSC19-C. For functions that return an array, prefer returning an empty array over a null value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F16.msc19-c",{"title":4158,"path":4159,"stem":4160},"MSC20-C. Do not use a switch statement to transfer control into a complex block","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F17.msc20-c",{"title":4162,"path":4163,"stem":4164},"MSC21-C. Use robust loop termination conditions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F18.msc21-c",{"title":4166,"path":4167,"stem":4168},"MSC22-C. Use the setjmp(), longjmp() facility securely","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F19.msc22-c",{"title":4170,"path":4171,"stem":4172},"MSC23-C. Beware of vendor-specific library and language differences","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F20.msc23-c",{"title":4174,"path":4175,"stem":4176},"MSC24-C. Do not use deprecated or obsolescent functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc24-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F21.msc24-c",{"title":4178,"path":4179,"stem":4180},"MSC25-C. Do not use insecure or weak cryptographic algorithms","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc25-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F22.msc25-c",{"title":4182,"path":4183,"stem":4184},"Use subset of ASCII for safety","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fuse-subset-of-ascii-for-safety","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F23.use-subset-of-ascii-for-safety",{"title":3064,"path":4186,"stem":4187,"children":4188},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F1.index",[4189,4190,4194,4198,4202],{"title":3064,"path":4186,"stem":4187},{"title":4191,"path":4192,"stem":4193},"POS01-C. Check for the existence of links when dealing with files","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F2.pos01-c",{"title":4195,"path":4196,"stem":4197},"POS02-C. Follow the principle of least privilege","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F3.pos02-c",{"title":4199,"path":4200,"stem":4201},"POS04-C. Avoid using PTHREAD_MUTEX_NORMAL type mutex locks","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F4.pos04-c",{"title":4203,"path":4204,"stem":4205},"POS05-C. Limit access to files by creating a jail","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F5.pos05-c",{"title":3134,"path":4207,"stem":4208,"children":4209},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F01.index",[4210,4211,4213,4217,4221,4225,4229,4231,4235,4239,4243,4247,4251,4255],{"title":3134,"path":4207,"stem":4208},{"title":2311,"path":2310,"stem":4212},"4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F02.pre00-c",{"title":4214,"path":4215,"stem":4216},"PRE01-C. Use parentheses within macros around parameter names","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F03.pre01-c",{"title":4218,"path":4219,"stem":4220},"PRE02-C. Macro replacement lists should be parenthesized","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F04.pre02-c",{"title":4222,"path":4223,"stem":4224},"PRE04-C. Do not reuse a standard header file name","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F05.pre04-c",{"title":4226,"path":4227,"stem":4228},"PRE05-C. Understand macro replacement when concatenating tokens or performing stringification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F06.pre05-c",{"title":134,"path":133,"stem":4230},"4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F07.pre06-c",{"title":4232,"path":4233,"stem":4234},"PRE07-C. Avoid using repeated question marks","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F08.pre07-c",{"title":4236,"path":4237,"stem":4238},"PRE08-C. Guarantee that header file names are unique","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F09.pre08-c",{"title":4240,"path":4241,"stem":4242},"PRE09-C. Do not replace secure functions with deprecated or obsolescent functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F10.pre09-c",{"title":4244,"path":4245,"stem":4246},"PRE10-C. Wrap multistatement macros in a do-while loop","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F11.pre10-c",{"title":4248,"path":4249,"stem":4250},"PRE11-C. Do not conclude macro definitions with a semicolon","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F12.pre11-c",{"title":4252,"path":4253,"stem":4254},"PRE12-C. Do not define unsafe macros","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F13.pre12-c",{"title":4256,"path":4257,"stem":4258},"PRE13-C. Use the Standard predefined macros to test for versions and features.","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F14.pre13-c",{"title":3150,"path":4260,"stem":4261,"children":4262},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F1.index",[4263,4264,4268,4272],{"title":3150,"path":4260,"stem":4261},{"title":4265,"path":4266,"stem":4267},"SIG00-C. Mask signals handled by noninterruptible signal handlers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F2.sig00-c",{"title":4269,"path":4270,"stem":4271},"SIG01-C. Understand implementation-specific details regarding signal handler persistence","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F3.sig01-c",{"title":4273,"path":4274,"stem":4275},"SIG02-C. Avoid using signals to implement normal functionality","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F4.sig02-c",{"title":4277,"path":4278,"stem":4279},"CERT manifest files","\u002Fsei-cert-c-coding-standard\u002Fcert-manifest-files","4.sei-cert-c-coding-standard\u002F09.cert-manifest-files",1775657828084]