[{"data":1,"prerenderedAt":1877},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr62-cpp":28,"surround-\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr62-cpp":1174,"sidebar-sei-cert-cpp-coding-standard":1182},[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":1165,"extension":1166,"meta":1167,"navigation":7,"path":1170,"seo":1171,"stem":1172,"__hash__":1173},"content\u002F5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F14.err62-cpp.md","ERR62-CPP. Detect errors when converting a string to a number",{"type":32,"value":33,"toc":1155},"minimark",[34,38,55,74,91,104,120,125,139,229,257,261,271,419,422,433,667,671,679,746,750,1013,1017,1032,1036,1085,1089,1126,1129,1151],[35,36,30],"h1",{"id":37},"err62-cpp-detect-errors-when-converting-a-string-to-a-number",[39,40,41,42,46,47,50,51,54],"p",{},"The process of parsing an integer or floating-point number from a string can produce many errors. The string might not contain a number. It might contain a number of the correct type that is out of range (such as an integer that is larger than ",[43,44,45],"code",{},"INT_MAX"," ). The string may also contain extra information after the number, which may or may not be useful after the conversion. These error conditions must be detected and addressed when a string-to-number conversion is performed using a formatted input stream such as ",[43,48,49],{},"std::istream"," or the locale facet ",[43,52,53],{},"num_get\u003C>"," .",[39,56,57,58,61,62,65,66,69,70,73],{},"When calling a formatted input stream function like ",[43,59,60],{},"istream::operator>>()"," , information about conversion errors is queried through the ",[43,63,64],{},"basic_ios::good()"," , ",[43,67,68],{},"basic_ios::bad()"," , and ",[43,71,72],{},"basic_ios::fail()"," inherited member functions or through exception handling if it is enabled on the stream object.",[39,75,76,77,80,81,84,85,90],{},"When calling ",[43,78,79],{},"num_get\u003C>::get()"," , information about conversion errors is returned to the caller through the ",[43,82,83],{},"ios_base::iostate&"," argument. The C++ Standard, section [facet.num.get.virtuals], paragraph 3 [ ",[86,87,89],"a",{"href":88},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO\u002FIEC14882-2014","ISO\u002FIEC 14882-2014"," ], in part, states the following:",[92,93,94],"blockquote",{},[39,95,96,97,100,101,54],{},"If the conversion function fails to convert the entire field, or if the field represents a value outside the range of representable values, ",[43,98,99],{},"ios_base::failbit"," is assigned to ",[43,102,103],{},"err",[39,105,106,107,111,112,115,116,119],{},"Always explicitly check the error state of a conversion from string to a numeric value (or handle the related exception, if applicable) instead of assuming the conversion results in a valid value. This rule is in addition to ",[86,108,110],{"href":109},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr34-c","ERR34-C. Detect errors when converting a string to a number"," , which bans the use of conversion functions that do not perform conversion validation such as ",[43,113,114],{},"std::atoi()"," and ",[43,117,118],{},"std::scanf()"," from the C Standard Library.",[121,122,124],"h2",{"id":123},"noncompliant-code-example","Noncompliant Code Example",[39,126,127,128,131,132,115,135,138],{},"In this noncompliant code example, multiple numeric values are converted from the standard input stream. However, if the text received from the standard input stream cannot be converted into a numeric value that can be represented by an ",[43,129,130],{},"int"," , the resulting value stored into the variables ",[43,133,134],{},"i",[43,136,137],{},"j"," may be unexpected.",[140,141,143],"code-block",{"quality":142},"bad",[144,145,150],"pre",{"className":146,"code":147,"language":148,"meta":149,"style":149},"language-cpp shiki shiki-themes github-light github-dark monokai","#include \u003Ciostream>\n\nvoid f() {\n  int i, j;\n  std::cin >> i >> j;\n  \u002F\u002F ...\n}\n","cpp","",[43,151,152,165,171,186,195,216,223],{"__ignoreMap":149},[153,154,157,161],"span",{"class":155,"line":156},"line",1,[153,158,160],{"class":159},"sC2Qs","#include",[153,162,164],{"class":163},"sstjo"," \u003Ciostream>\n",[153,166,168],{"class":155,"line":167},2,[153,169,170],{"emptyLinePlaceholder":7},"\n",[153,172,174,178,182],{"class":155,"line":173},3,[153,175,177],{"class":176},"sq6CD","void",[153,179,181],{"class":180},"srTi1"," f",[153,183,185],{"class":184},"sMOD_","() {\n",[153,187,189,192],{"class":155,"line":188},4,[153,190,191],{"class":176},"  int",[153,193,194],{"class":184}," i, j;\n",[153,196,198,202,205,208,211,213],{"class":155,"line":197},5,[153,199,201],{"class":200},"sz2Vg","  std",[153,203,204],{"class":184},"::cin ",[153,206,207],{"class":159},">>",[153,209,210],{"class":184}," i ",[153,212,207],{"class":159},[153,214,215],{"class":184}," j;\n",[153,217,219],{"class":155,"line":218},6,[153,220,222],{"class":221},"s8-w5","  \u002F\u002F ...\n",[153,224,226],{"class":155,"line":225},7,[153,227,228],{"class":184},"}\n",[39,230,231,232,235,236,238,239,242,243,245,246,235,249,238,251,115,254,256],{},"For instance, if the text ",[43,233,234],{},"12345678901234567890"," is the first converted value read from the standard input stream, then ",[43,237,134],{}," will have the value ",[43,240,241],{},"std::numeric_limits\u003Cint>::max()"," (per [facet.num.get.virtuals] paragraph 3), and ",[43,244,137],{}," will be uninitialized (per [istream.formatted.arithmetic] paragraph 3). If the text ",[43,247,248],{},"abcdefg",[43,250,134],{},[43,252,253],{},"0",[43,255,137],{}," will remain uninitialized.",[121,258,260],{"id":259},"compliant-solution","Compliant Solution",[39,262,263,264,115,267,270],{},"In this compliant solution, exceptions are enabled so that any conversion failure results in an exception being thrown. However, this approach cannot distinguish between which values are valid and which values are invalid and must assume that all values are invalid. Both the ",[43,265,266],{},"badbit",[43,268,269],{},"failbit"," flags are set to ensure that conversion errors as well as loss of integrity with the stream are treated as exceptions.",[140,272,274],{"quality":273},"good",[144,275,277],{"className":146,"code":276,"language":148,"meta":149,"style":149},"#include \u003Ciostream>\n\nvoid f() {\n  int i, j;\n\n  std::cin.exceptions(std::istream::failbit | std::istream::badbit);\n  try {     \n    std::cin >> i >> j;\n    \u002F\u002F ...\n  } catch (std::istream::failure &E) {\n    \u002F\u002F Handle error\n  }\n}\n",[43,278,279,285,289,297,303,307,345,353,369,375,402,408,414],{"__ignoreMap":149},[153,280,281,283],{"class":155,"line":156},[153,282,160],{"class":159},[153,284,164],{"class":163},[153,286,287],{"class":155,"line":167},[153,288,170],{"emptyLinePlaceholder":7},[153,290,291,293,295],{"class":155,"line":173},[153,292,177],{"class":176},[153,294,181],{"class":180},[153,296,185],{"class":184},[153,298,299,301],{"class":155,"line":188},[153,300,191],{"class":176},[153,302,194],{"class":184},[153,304,305],{"class":155,"line":197},[153,306,170],{"emptyLinePlaceholder":7},[153,308,309,311,314,317,320,323,326,329,332,335,338,340,342],{"class":155,"line":218},[153,310,201],{"class":200},[153,312,313],{"class":184},"::cin.",[153,315,316],{"class":180},"exceptions",[153,318,319],{"class":184},"(",[153,321,322],{"class":200},"std",[153,324,325],{"class":184},"::",[153,327,328],{"class":200},"istream",[153,330,331],{"class":184},"::failbit ",[153,333,334],{"class":159},"|",[153,336,337],{"class":200}," std",[153,339,325],{"class":184},[153,341,328],{"class":200},[153,343,344],{"class":184},"::badbit);\n",[153,346,347,350],{"class":155,"line":225},[153,348,349],{"class":159},"  try",[153,351,352],{"class":184}," {     \n",[153,354,356,359,361,363,365,367],{"class":155,"line":355},8,[153,357,358],{"class":200},"    std",[153,360,204],{"class":184},[153,362,207],{"class":159},[153,364,210],{"class":184},[153,366,207],{"class":159},[153,368,215],{"class":184},[153,370,372],{"class":155,"line":371},9,[153,373,374],{"class":221},"    \u002F\u002F ...\n",[153,376,378,381,384,387,389,391,393,396,399],{"class":155,"line":377},10,[153,379,380],{"class":184},"  } ",[153,382,383],{"class":159},"catch",[153,385,386],{"class":184}," (",[153,388,322],{"class":200},[153,390,325],{"class":184},[153,392,328],{"class":200},[153,394,395],{"class":184},"::failure ",[153,397,398],{"class":159},"&",[153,400,401],{"class":184},"E) {\n",[153,403,405],{"class":155,"line":404},11,[153,406,407],{"class":221},"    \u002F\u002F Handle error\n",[153,409,411],{"class":155,"line":410},12,[153,412,413],{"class":184},"  }\n",[153,415,417],{"class":155,"line":416},13,[153,418,228],{"class":184},[121,420,260],{"id":421},"compliant-solution-1",[39,423,424,425,428,429,432],{},"In this compliant solution, each converted value read from the standard input stream is tested for validity before reading the next value in the sequence, allowing error recovery on a per-value basis. It checks ",[43,426,427],{},"std::istream::fail()"," to see if the failure bit was set due to a conversion failure or whether the bad bit was set due to a loss of integrity with the stream object. If a failure condition is encountered, it is cleared on the input stream and then characters are read and discarded until a ",[43,430,431],{},"  ' ' "," (space) character occurs. The error handling in this case only works if a space character is what delimits the two numeric values to be converted.",[140,434,435],{"quality":273},[144,436,438],{"className":146,"code":437,"language":148,"meta":149,"style":149},"#include \u003Ciostream>\n#include \u003Climits>\n\nvoid f() {\n  int i;\n  std::cin >> i;\n  if (std::cin.fail()) {\n    \u002F\u002F Handle failure to convert the value.\n    std::cin.clear();\n    std::cin.ignore(std::numeric_limits\u003Cstd::streamsize>::max(), ' ');\n  }\n  \n  int j;\n  std::cin >> j;\n  if (std::cin.fail()) {\n    std::cin.clear();\n    std::cin.ignore(std::numeric_limits\u003Cstd::streamsize>::max(), ' ');\n  }\n \n  \u002F\u002F ...\n}\n",[43,439,440,446,453,457,465,472,482,499,504,516,559,563,568,574,585,600,611,646,651,657,662],{"__ignoreMap":149},[153,441,442,444],{"class":155,"line":156},[153,443,160],{"class":159},[153,445,164],{"class":163},[153,447,448,450],{"class":155,"line":167},[153,449,160],{"class":159},[153,451,452],{"class":163}," \u003Climits>\n",[153,454,455],{"class":155,"line":173},[153,456,170],{"emptyLinePlaceholder":7},[153,458,459,461,463],{"class":155,"line":188},[153,460,177],{"class":176},[153,462,181],{"class":180},[153,464,185],{"class":184},[153,466,467,469],{"class":155,"line":197},[153,468,191],{"class":176},[153,470,471],{"class":184}," i;\n",[153,473,474,476,478,480],{"class":155,"line":218},[153,475,201],{"class":200},[153,477,204],{"class":184},[153,479,207],{"class":159},[153,481,471],{"class":184},[153,483,484,487,489,491,493,496],{"class":155,"line":225},[153,485,486],{"class":159},"  if",[153,488,386],{"class":184},[153,490,322],{"class":200},[153,492,313],{"class":184},[153,494,495],{"class":180},"fail",[153,497,498],{"class":184},"()) {\n",[153,500,501],{"class":155,"line":355},[153,502,503],{"class":221},"    \u002F\u002F Handle failure to convert the value.\n",[153,505,506,508,510,513],{"class":155,"line":371},[153,507,358],{"class":200},[153,509,313],{"class":184},[153,511,512],{"class":180},"clear",[153,514,515],{"class":184},"();\n",[153,517,518,520,522,525,527,529,531,534,537,539,541,544,547,550,553,556],{"class":155,"line":377},[153,519,358],{"class":200},[153,521,313],{"class":184},[153,523,524],{"class":180},"ignore",[153,526,319],{"class":184},[153,528,322],{"class":200},[153,530,325],{"class":184},[153,532,533],{"class":200},"numeric_limits",[153,535,536],{"class":184},"\u003C",[153,538,322],{"class":200},[153,540,325],{"class":184},[153,542,543],{"class":200},"streamsize",[153,545,546],{"class":184},">::",[153,548,549],{"class":180},"max",[153,551,552],{"class":184},"(), ",[153,554,555],{"class":163},"' '",[153,557,558],{"class":184},");\n",[153,560,561],{"class":155,"line":404},[153,562,413],{"class":184},[153,564,565],{"class":155,"line":410},[153,566,567],{"class":184},"  \n",[153,569,570,572],{"class":155,"line":416},[153,571,191],{"class":176},[153,573,215],{"class":184},[153,575,577,579,581,583],{"class":155,"line":576},14,[153,578,201],{"class":200},[153,580,204],{"class":184},[153,582,207],{"class":159},[153,584,215],{"class":184},[153,586,588,590,592,594,596,598],{"class":155,"line":587},15,[153,589,486],{"class":159},[153,591,386],{"class":184},[153,593,322],{"class":200},[153,595,313],{"class":184},[153,597,495],{"class":180},[153,599,498],{"class":184},[153,601,603,605,607,609],{"class":155,"line":602},16,[153,604,358],{"class":200},[153,606,313],{"class":184},[153,608,512],{"class":180},[153,610,515],{"class":184},[153,612,614,616,618,620,622,624,626,628,630,632,634,636,638,640,642,644],{"class":155,"line":613},17,[153,615,358],{"class":200},[153,617,313],{"class":184},[153,619,524],{"class":180},[153,621,319],{"class":184},[153,623,322],{"class":200},[153,625,325],{"class":184},[153,627,533],{"class":200},[153,629,536],{"class":184},[153,631,322],{"class":200},[153,633,325],{"class":184},[153,635,543],{"class":200},[153,637,546],{"class":184},[153,639,549],{"class":180},[153,641,552],{"class":184},[153,643,555],{"class":163},[153,645,558],{"class":184},[153,647,649],{"class":155,"line":648},18,[153,650,413],{"class":184},[153,652,654],{"class":155,"line":653},19,[153,655,656],{"class":184}," \n",[153,658,660],{"class":155,"line":659},20,[153,661,222],{"class":221},[153,663,665],{"class":155,"line":664},21,[153,666,228],{"class":184},[121,668,670],{"id":669},"risk-assessment","Risk Assessment",[39,672,673,674,678],{},"It is rare for a violation of this rule to result in a security ",[86,675,677],{"href":676},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-vulnerability","vulnerability"," unless it occurs in security-sensitive code. However, violations of this rule can easily result in lost or misinterpreted data.",[680,681,682,683,682,713],"table",{},"\n  ",[684,685,686,687,682],"thead",{},"\n    ",[688,689,690,691,690,695,690,698,690,701,690,704,690,707,690,710,686],"tr",{},"\n      ",[692,693,694],"th",{},"Rule",[692,696,697],{},"Severity",[692,699,700],{},"Likelihood",[692,702,703],{},"Detectable",[692,705,706],{},"Repairable",[692,708,709],{},"Priority",[692,711,712],{},"Level",[714,715,686,716,682],"tbody",{},[688,717,690,718,690,722,690,725,690,728,690,731,690,734,690,741,686],{},[719,720,721],"td",{},"ERR62-CPP",[719,723,724],{},"Medium",[719,726,727],{},"Unlikely",[719,729,730],{},"Yes",[719,732,733],{},"No",[719,735,737],{"style":736},"color: #27ae60;",[738,739,740],"b",{},"P4",[719,742,743],{"style":736},[738,744,745],{},"L3",[121,747,749],{"id":748},"automated-detection","Automated Detection",[680,751,756,772,798],{"className":752,"style":755},[753,754],"wrapped","relative-table","width: 98.6787%;",[757,758,759,763,766,769],"colgroup",{},[760,761],"col",{"style":762},"width: 14%",[760,764],{"style":765},"width: 24%",[760,767],{"style":768},"width: 16%",[760,770],{"style":771},"width: 44%",[684,773,774],{},[688,775,778,783,788,793],{"className":776},[777],"header",[692,779,780],{},[39,781,782],{},"Tool",[692,784,785],{},[39,786,787],{},"Version",[692,789,790],{},[39,791,792],{},"Checker",[692,794,795],{},[39,796,797],{},"Description",[714,799,800,831,863,914,940,963,987],{},[688,801,804,810,820,826],{"className":802},[803],"odd",[719,805,806],{},[86,807,809],{"href":808},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Faxivion-bauhaus-suite","Axivion Bauhaus Suite",[719,811,812],{},[813,814,817],"div",{"className":815},[816],"content-wrapper",[39,818,819],{},"7.2.0",[719,821,822],{},[823,824,825],"strong",{},"CertC++-ERR62",[719,827,828],{},[829,830],"br",{},[688,832,835,843,849,856],{"className":833},[834],"even",[719,836,837],{},[39,838,839],{},[86,840,842],{"href":841},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang","Clang",[719,844,845],{},[813,846,848],{"className":847},[816],"3.9",[719,850,851],{},[39,852,853],{},[43,854,855],{},"       cert-err34-c      ",[719,857,858,859,862],{},"Checked by ",[43,860,861],{},"      clang-tidy     "," ; only identifies use of unsafe C Standard Library functions corresponding to ERR34-C",[688,864,866,872,878,900],{"className":865},[803],[719,867,868],{},[86,869,871],{"href":870},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcodesonar","CodeSonar",[719,873,874],{},[813,875,877],{"className":876},[816],"9.1p0",[719,879,880],{},[39,881,882],{},[823,883,884,885,887,890,892,895,897],{},"BADFUNC.ATOF",[829,886],{},[823,888,889],{},"BADFUNC.ATOI",[829,891],{},[823,893,894],{},"BADFUNC.ATOL",[829,896],{},[823,898,899],{},"BADFUNC.ATOLL",[719,901,902],{},[39,903,904,905,907,908,910,911,913],{},"Use of atof",[829,906],{},"\nUse of atoi",[829,909],{},"\nUse of atol",[829,912],{},"\nUse of atoll",[688,915,917,923,931,936],{"className":916},[834],[719,918,919],{},[86,920,922],{"href":921},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fhelix-qac","Helix QAC",[719,924,925],{},[813,926,928],{"className":927},[816],[39,929,930],{},"2025.2",[719,932,933],{},[823,934,935],{},"C++3161",[719,937,938],{},[829,939],{},[688,941,943,949,954,959],{"className":942},[803],[719,944,945],{},[86,946,948],{"href":947},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fklocwork","Klocwork",[719,950,951],{},[813,952,930],{"className":953},[816],[719,955,956],{},[823,957,958],{},"CERT.ERR.CONV.STR_TO_NUM",[719,960,961],{},[829,962],{},[688,964,966,972,979,984],{"className":965},[834],[719,967,968],{},[86,969,971],{"href":970},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fparasoft","Parasoft C\u002FC++test",[719,973,974],{},[813,975,977],{"className":976},[816],[39,978,930],{},[719,980,981],{},[823,982,983],{},"CERT_CPP-ERR62-a",[719,985,986],{},"The 'atof', 'atoi', 'atol' and 'atoll' functions from the 'stdlib.h' or 'cstdlib' library should not be used",[688,988,990,996,1004,1010],{"className":989},[803],[719,991,992],{},[86,993,995],{"href":994},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpolyspace-bug-finder","Polyspace Bug Finder",[719,997,998],{},[813,999,1001],{"className":1000},[816],[39,1002,1003],{},"R2025b",[719,1005,1006],{},[86,1007,1009],{"href":1008},"https:\u002F\u002Fwww.mathworks.com\u002Fhelp\u002Fbugfinder\u002Fref\u002Fcertcerr62cpp.html","CERT C++: ERR62-CPP",[719,1011,1012],{},"Checks for unvalidated string-to-number conversion (rule fully covered)",[121,1014,1016],{"id":1015},"related-vulnerabilities","Related Vulnerabilities",[39,1018,1019,1020,1026,1027,54],{},"Search for other ",[86,1021,1025],{"href":1022,"rel":1023},"https:\u002F\u002Fwww.securecoding.cert.org\u002Fconfluence\u002Fdisplay\u002Fseccode\u002FBB.+Definitions#BB.Definitions-vulnerability",[1024],"nofollow","vulnerabilities"," resulting from the violation of this rule on the ",[86,1028,1031],{"href":1029,"rel":1030},"https:\u002F\u002Fwww.kb.cert.org\u002Fvulnotes\u002Fbymetric?searchview&query=FIELD+KEYWORDS+contains+ERR62-CPP",[1024],"CERT website",[121,1033,1035],{"id":1034},"related-guidelines","Related Guidelines",[680,1037,1039,1046],{"className":1038},[753],[757,1040,1041,1044],{},[760,1042],{"style":1043},"width: 50%",[760,1045],{"style":1043},[714,1047,1048,1062],{},[688,1049,1051,1056],{"className":1050},[803],[719,1052,1053],{},[86,1054,1055],{"href":17},"SEI CERT C Coding Standard",[719,1057,1058],{},[39,1059,1060],{},[86,1061,110],{"href":109},[688,1063,1065,1071],{"className":1064},[834],[719,1066,1067],{},[86,1068,1070],{"href":1069},"http:\u002F\u002Fcwe.mitre.org\u002F","MITRE CWE",[719,1072,1073,1077,1078,1080,1084],{},[86,1074,1076],{"href":1075},"http:\u002F\u002Fcwe.mitre.org\u002Fdata\u002Fdefinitions\u002F676.html","CWE-676"," , Use of potentially dangerous function",[829,1079],{},[86,1081,1083],{"href":1082},"http:\u002F\u002Fcwe.mitre.org\u002Fdata\u002Fdefinitions\u002F20.html","CWE-20"," , Insufficient input validation",[121,1086,1088],{"id":1087},"bibliography","Bibliography",[680,1090,1092],{"className":1091},[753],[714,1093,1094,1111],{},[688,1095,1097,1105],{"className":1096},[803],[719,1098,1099,1100,1104],{},"[ ",[86,1101,1103],{"href":1102},"https:\u002F\u002Fwww.securecoding.cert.org\u002Fconfluence\u002Fdisplay\u002Fseccode\u002FAA.+Bibliography#AA.Bibliography-ISO-IEC9899-1999","ISO\u002FIEC 9899:1999"," ]",[719,1106,1107,1108,1110],{},"Subclause 7.22.1, \"Numeric conversion functions\"",[829,1109],{},"\nSubclause 7.21.6, \"Formatted input\u002Foutput functions\"",[688,1112,1114,1118],{"className":1113},[834],[719,1115,1099,1116,1104],{},[86,1117,89],{"href":88},[719,1119,1120],{},[39,1121,1122,1123,1125],{},"Subclause 22.4.2.1.1, \"num_get members\"",[829,1124],{},"\nSubclause 27.7.2.2, \"Formatted input functions\"",[1127,1128],"hr",{},[39,1130,1131,1138,1139,1138,1145],{},[86,1132,1134],{"href":1133},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr61-cpp",[1135,1136],"img",{"src":1137},"\u002Fattachments\u002F88046682\u002F88480621.png"," ",[86,1140,1142],{"href":1141},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002F",[1135,1143],{"src":1144},"\u002Fattachments\u002F88046682\u002F88475556.png",[86,1146,1148],{"href":1147},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002F",[1135,1149],{"src":1150},"\u002Fattachments\u002F88046682\u002F88475555.png",[1152,1153,1154],"style",{},"html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}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 .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .sz2Vg, html code.shiki .sz2Vg{--shiki-default:#6F42C1;--shiki-default-text-decoration:inherit;--shiki-dark:#B392F0;--shiki-dark-text-decoration:inherit;--shiki-sepia:#A6E22E;--shiki-sepia-text-decoration:underline}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);}",{"title":149,"searchDepth":167,"depth":167,"links":1156},[1157,1158,1159,1160,1161,1162,1163,1164],{"id":123,"depth":167,"text":124},{"id":259,"depth":167,"text":260},{"id":421,"depth":167,"text":260},{"id":669,"depth":167,"text":670},{"id":748,"depth":167,"text":749},{"id":1015,"depth":167,"text":1016},{"id":1034,"depth":167,"text":1035},{"id":1087,"depth":167,"text":1088},"The process of parsing an integer or floating-point number from a string can produce many errors. The string might not contain a number. It might contain a number of the correct type that is out of range (such as an integer that is larger than INT_MAX ). The string may also contain extra information after the number, which may or may not be useful after the conversion. These error conditions must be detected and addressed when a string-to-number conversion is performed using a formatted input stream such as std::istream or the locale facet num_get\u003C> .","md",{"tags":1168},[103,1169],"rule","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr62-cpp",{"title":30,"description":1165},"5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F14.err62-cpp","DtXmMWoMIxJ4R1FOglu1fxfmYC8vS0STgJMSAa2d9NQ",[1175,1178],{"title":1176,"path":1133,"stem":1177,"children":-1},"ERR61-CPP. Catch exceptions by lvalue reference","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F13.err61-cpp",{"title":1179,"path":1180,"stem":1181,"children":-1},"Expressions (EXP)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F01.index",[1183],{"title":1184,"path":1185,"stem":1186,"children":1187},"SEI CERT C++ Coding Standard","\u002Fsei-cert-cpp-coding-standard","5.sei-cert-cpp-coding-standard\u002F1.index",[1188,1189,1256,1651,1863,1873],{"title":1184,"path":1185,"stem":1186},{"title":1190,"path":1191,"stem":1192,"children":1193},"Front Matter","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F1.index",[1194,1195],{"title":1190,"path":1191,"stem":1192},{"title":1196,"path":1197,"stem":1198,"children":1199},"Introduction","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F01.index",[1200,1201,1205,1209,1213,1217,1221,1225,1229,1233,1237,1241,1245,1249,1253],{"title":1196,"path":1197,"stem":1198},{"title":1202,"path":1203,"stem":1204},"Scope","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fscope","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F02.scope",{"title":1206,"path":1207,"stem":1208},"Audience","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Faudience","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F03.audience",{"title":1210,"path":1211,"stem":1212},"Usage","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fusage","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F04.usage",{"title":1214,"path":1215,"stem":1216},"How this Coding Standard Is Organized","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhow-this-coding-standard-is-organized","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F05.how-this-coding-standard-is-organized",{"title":1218,"path":1219,"stem":1220},"Relation to the CERT C Coding Standard","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Frelation-to-the-cert-c-coding-standard","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F06.relation-to-the-cert-c-coding-standard",{"title":1222,"path":1223,"stem":1224},"Rules Versus Recommendations","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Frules-versus-recommendations","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F07.rules-versus-recommendations",{"title":1226,"path":1227,"stem":1228},"Tool Selection and Validation","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Ftool-selection-and-validation","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F08.tool-selection-and-validation",{"title":1230,"path":1231,"stem":1232},"Conformance Testing","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fconformance-testing","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F09.conformance-testing",{"title":1234,"path":1235,"stem":1236},"Development Process","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fdevelopment-process","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F10.development-process",{"title":1238,"path":1239,"stem":1240},"System Qualities","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fsystem-qualities","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F11.system-qualities",{"title":1242,"path":1243,"stem":1244},"Automatically Generated Code","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fautomatically-generated-code","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F12.automatically-generated-code",{"title":1246,"path":1247,"stem":1248},"Government Regulations","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fgovernment-regulations","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F13.government-regulations",{"title":1250,"path":1251,"stem":1252},"Acknowledgments","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Facknowledgments","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F14.acknowledgments",{"title":749,"path":1254,"stem":1255},"\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fautomated-detection","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F15.automated-detection",{"title":1257,"path":1258,"stem":1259,"children":1260},"Rules","\u002Fsei-cert-cpp-coding-standard\u002Frules","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F01.index",[1261,1262,1284,1318,1360,1410,1462,1521,1535,1545,1583,1609],{"title":1257,"path":1258,"stem":1259},{"title":1263,"path":1264,"stem":1265,"children":1266},"Characters and Strings (STR)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F1.index",[1267,1268,1272,1276,1280],{"title":1263,"path":1264,"stem":1265},{"title":1269,"path":1270,"stem":1271},"STR50-CPP. Guarantee that storage for strings has sufficient space for character data and the null terminator","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F2.str50-cpp",{"title":1273,"path":1274,"stem":1275},"STR52-CPP. Use valid references, pointers, and iterators to reference elements of a basic_string","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F3.str52-cpp",{"title":1277,"path":1278,"stem":1279},"STR53-CPP. Range check element access","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F4.str53-cpp",{"title":1281,"path":1282,"stem":1283},"string from a null pointer","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstring-from-a-null-pointer","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F5.string-from-a-null-pointer",{"title":1285,"path":1286,"stem":1287,"children":1288},"Concurrency (CON)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F1.index",[1289,1290,1294,1298,1302,1306,1310,1314],{"title":1285,"path":1286,"stem":1287},{"title":1291,"path":1292,"stem":1293},"CON50-CPP. Do not destroy a mutex while it is locked","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F2.con50-cpp",{"title":1295,"path":1296,"stem":1297},"CON51-CPP. Ensure actively held locks are released on exceptional conditions","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F3.con51-cpp",{"title":1299,"path":1300,"stem":1301},"CON52-CPP. Prevent data races when accessing bit-fields from multiple threads","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F4.con52-cpp",{"title":1303,"path":1304,"stem":1305},"CON53-CPP. Avoid deadlock by locking in a predefined order","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F5.con53-cpp",{"title":1307,"path":1308,"stem":1309},"CON54-CPP. Wrap functions that can spuriously wake up in a loop","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F6.con54-cpp",{"title":1311,"path":1312,"stem":1313},"CON55-CPP. Preserve thread safety and liveness when using condition variables","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F7.con55-cpp",{"title":1315,"path":1316,"stem":1317},"CON56-CPP. Do not speculatively lock a non-recursive mutex that is already owned by the calling thread","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F8.con56-cpp",{"title":1319,"path":1320,"stem":1321,"children":1322},"Containers (CTR)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F01.index",[1323,1324,1328,1332,1336,1340,1344,1348,1352,1356],{"title":1319,"path":1320,"stem":1321},{"title":1325,"path":1326,"stem":1327},"CTR50-CPP. Guarantee that container indices and iterators are within the valid range","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F02.ctr50-cpp",{"title":1329,"path":1330,"stem":1331},"CTR51-CPP. Use valid references, pointers, and iterators to reference elements of a container","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F03.ctr51-cpp",{"title":1333,"path":1334,"stem":1335},"CTR52-CPP. Guarantee that library functions do not overflow","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F04.ctr52-cpp",{"title":1337,"path":1338,"stem":1339},"CTR53-CPP. Use valid iterator ranges","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F05.ctr53-cpp",{"title":1341,"path":1342,"stem":1343},"CTR54-CPP. Do not subtract iterators that do not refer to the same container","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F06.ctr54-cpp",{"title":1345,"path":1346,"stem":1347},"CTR55-CPP. Do not use an additive operator on an iterator if the result would overflow","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F07.ctr55-cpp",{"title":1349,"path":1350,"stem":1351},"CTR56-CPP. Do not use pointer arithmetic on polymorphic objects","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F08.ctr56-cpp",{"title":1353,"path":1354,"stem":1355},"CTR57-CPP. Provide a valid ordering predicate","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F09.ctr57-cpp",{"title":1357,"path":1358,"stem":1359},"CTR58-CPP. Predicate function objects should not be mutable","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr58-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F10.ctr58-cpp",{"title":1361,"path":1362,"stem":1363,"children":1364},"Declarations and Initialization (DCL)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F01.index",[1365,1366,1370,1374,1378,1382,1386,1390,1394,1398,1402,1406],{"title":1361,"path":1362,"stem":1363},{"title":1367,"path":1368,"stem":1369},"DCL50-CPP. Do not define a C-style variadic function","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F02.dcl50-cpp",{"title":1371,"path":1372,"stem":1373},"DCL51-CPP. Do not declare or define a reserved identifier","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F03.dcl51-cpp",{"title":1375,"path":1376,"stem":1377},"DCL52-CPP. Never qualify a reference type with const or volatile","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F04.dcl52-cpp",{"title":1379,"path":1380,"stem":1381},"DCL53-CPP. Do not write syntactically ambiguous declarations","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F05.dcl53-cpp",{"title":1383,"path":1384,"stem":1385},"DCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F06.dcl54-cpp",{"title":1387,"path":1388,"stem":1389},"DCL55-CPP. Avoid information leakage when passing a class object across a trust boundary","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F07.dcl55-cpp",{"title":1391,"path":1392,"stem":1393},"DCL56-CPP. Avoid cycles during initialization of static objects","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F08.dcl56-cpp",{"title":1395,"path":1396,"stem":1397},"DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F09.dcl57-cpp",{"title":1399,"path":1400,"stem":1401},"DCL58-CPP. Do not modify the standard namespaces","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl58-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F10.dcl58-cpp",{"title":1403,"path":1404,"stem":1405},"DCL59-CPP. Do not define an unnamed namespace in a header file","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl59-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F11.dcl59-cpp",{"title":1407,"path":1408,"stem":1409},"DCL60-CPP. Obey the one-definition rule","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl60-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F05.declarations-and-initialization-dcl\u002F12.dcl60-cpp",{"title":1411,"path":1412,"stem":1413,"children":1414},"Exceptions and Error Handling (ERR)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F01.index",[1415,1416,1420,1424,1428,1432,1436,1440,1444,1448,1452,1456,1460,1461],{"title":1411,"path":1412,"stem":1413},{"title":1417,"path":1418,"stem":1419},"ERR50-CPP. Do not abruptly terminate the program","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F02.err50-cpp",{"title":1421,"path":1422,"stem":1423},"ERR51-CPP. Handle all exceptions","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F03.err51-cpp",{"title":1425,"path":1426,"stem":1427},"ERR52-CPP. Do not use setjmp() or longjmp()","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F04.err52-cpp",{"title":1429,"path":1430,"stem":1431},"ERR53-CPP. Do not reference base classes or class data members in a constructor or destructor function-try-block handler","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F05.err53-cpp",{"title":1433,"path":1434,"stem":1435},"ERR54-CPP. Catch handlers should order their parameter types from most derived to least derived","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F06.err54-cpp",{"title":1437,"path":1438,"stem":1439},"ERR55-CPP. Honor exception specifications","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F07.err55-cpp",{"title":1441,"path":1442,"stem":1443},"ERR56-CPP. Guarantee exception safety","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F08.err56-cpp",{"title":1445,"path":1446,"stem":1447},"ERR57-CPP. Do not leak resources when handling exceptions","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F09.err57-cpp",{"title":1449,"path":1450,"stem":1451},"ERR58-CPP. Handle all exceptions thrown before main() begins executing","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr58-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F10.err58-cpp",{"title":1453,"path":1454,"stem":1455},"ERR59-CPP. Do not throw an exception across execution boundaries","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr59-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F11.err59-cpp",{"title":1457,"path":1458,"stem":1459},"ERR60-CPP. Exception objects must be nothrow copy constructible","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr60-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F12.err60-cpp",{"title":1176,"path":1133,"stem":1177},{"title":30,"path":1170,"stem":1172},{"title":1179,"path":1180,"stem":1181,"children":1463},[1464,1465,1469,1473,1477,1481,1485,1489,1493,1497,1501,1505,1509,1513,1517],{"title":1179,"path":1180,"stem":1181},{"title":1466,"path":1467,"stem":1468},"EXP50-CPP. Do not depend on the order of evaluation for side effects","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F02.exp50-cpp",{"title":1470,"path":1471,"stem":1472},"EXP51-CPP. Do not delete an array through a pointer of the incorrect type","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F03.exp51-cpp",{"title":1474,"path":1475,"stem":1476},"EXP52-CPP. Do not rely on side effects in unevaluated operands","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F04.exp52-cpp",{"title":1478,"path":1479,"stem":1480},"EXP53-CPP. Do not read uninitialized memory","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F05.exp53-cpp",{"title":1482,"path":1483,"stem":1484},"EXP54-CPP. Do not access an object outside of its lifetime","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F06.exp54-cpp",{"title":1486,"path":1487,"stem":1488},"EXP55-CPP. Do not access a cv-qualified object through a cv-unqualified type","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F07.exp55-cpp",{"title":1490,"path":1491,"stem":1492},"EXP56-CPP. Do not call a function with a mismatched language linkage","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F08.exp56-cpp",{"title":1494,"path":1495,"stem":1496},"EXP57-CPP. Do not cast or delete pointers to incomplete classes","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F09.exp57-cpp",{"title":1498,"path":1499,"stem":1500},"EXP58-CPP. Pass an object of the correct type to va_start","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp58-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F10.exp58-cpp",{"title":1502,"path":1503,"stem":1504},"EXP59-CPP. Use offsetof() on valid types and members","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp59-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F11.exp59-cpp",{"title":1506,"path":1507,"stem":1508},"EXP60-CPP. Do not pass a nonstandard-layout type object across execution boundaries","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp60-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F12.exp60-cpp",{"title":1510,"path":1511,"stem":1512},"EXP61-CPP. A lambda object must not outlive any of its reference captured objects","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp61-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F13.exp61-cpp",{"title":1514,"path":1515,"stem":1516},"EXP62-CPP. Do not access the bits of an object representation that are not part of the object's value representation","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp62-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F14.exp62-cpp",{"title":1518,"path":1519,"stem":1520},"EXP63-CPP. Do not rely on the value of a moved-from object","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp63-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F15.exp63-cpp",{"title":1522,"path":1523,"stem":1524,"children":1525},"Input Output (FIO)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Finput-output-fio","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F08.input-output-fio\u002F1.index",[1526,1527,1531],{"title":1522,"path":1523,"stem":1524},{"title":1528,"path":1529,"stem":1530},"FIO50-CPP. Do not alternately input and output from a file stream without an intervening positioning call","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F08.input-output-fio\u002F2.fio50-cpp",{"title":1532,"path":1533,"stem":1534},"FIO51-CPP. Close files when they are no longer needed","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F08.input-output-fio\u002F3.fio51-cpp",{"title":1536,"path":1537,"stem":1538,"children":1539},"Integers (INT)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fintegers-int","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F09.integers-int\u002F1.index",[1540,1541],{"title":1536,"path":1537,"stem":1538},{"title":1542,"path":1543,"stem":1544},"INT50-CPP. Do not cast to an out-of-range enumeration value","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fintegers-int\u002Fint50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F09.integers-int\u002F2.int50-cpp",{"title":1546,"path":1547,"stem":1548,"children":1549},"Memory Management (MEM)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F1.index",[1550,1551,1555,1559,1563,1567,1571,1575,1579],{"title":1546,"path":1547,"stem":1548},{"title":1552,"path":1553,"stem":1554},"MEM50-CPP. Do not access freed memory","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F2.mem50-cpp",{"title":1556,"path":1557,"stem":1558},"MEM51-CPP. Properly deallocate dynamically allocated resources","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F3.mem51-cpp",{"title":1560,"path":1561,"stem":1562},"MEM52-CPP. Detect and handle memory allocation errors","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F4.mem52-cpp",{"title":1564,"path":1565,"stem":1566},"MEM53-CPP. Explicitly construct and destruct objects when manually managing object lifetime","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F5.mem53-cpp",{"title":1568,"path":1569,"stem":1570},"MEM54-CPP. Provide placement new with properly aligned pointers to sufficient storage capacity","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F6.mem54-cpp",{"title":1572,"path":1573,"stem":1574},"MEM55-CPP. Honor replacement dynamic storage management requirements","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F7.mem55-cpp",{"title":1576,"path":1577,"stem":1578},"MEM56-CPP. Do not store an already-owned pointer value in an unrelated smart pointer","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F8.mem56-cpp",{"title":1580,"path":1581,"stem":1582},"MEM57-CPP. Avoid using default operator new for over-aligned types","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F10.memory-management-mem\u002F9.mem57-cpp",{"title":1584,"path":1585,"stem":1586,"children":1587},"Miscellaneous (MSC)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F1.index",[1588,1589,1593,1597,1601,1605],{"title":1584,"path":1585,"stem":1586},{"title":1590,"path":1591,"stem":1592},"MSC51-CPP. Ensure your random number generator is properly seeded","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F2.msc51-cpp",{"title":1594,"path":1595,"stem":1596},"MSC52-CPP. Value-returning functions must return a value from all exit paths","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F3.msc52-cpp",{"title":1598,"path":1599,"stem":1600},"MSC53-CPP. Do not return from a function declared [[noreturn]]","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F4.msc53-cpp",{"title":1602,"path":1603,"stem":1604},"MSC54-CPP. A signal handler must be a plain old function","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F5.msc54-cpp",{"title":1606,"path":1607,"stem":1608},"rand() for generating pseudorandom numbers","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Frand-for-generating-pseudorandom-numbers","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F6.rand-for-generating-pseudorandom-numbers",{"title":1610,"path":1611,"stem":1612,"children":1613},"Object Oriented Programming (OOP)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F01.index",[1614,1615,1619,1623,1627,1631,1635,1639,1643,1647],{"title":1610,"path":1611,"stem":1612},{"title":1616,"path":1617,"stem":1618},"OOP50-CPP. Do not invoke virtual functions from constructors or destructors","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop50-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F02.oop50-cpp",{"title":1620,"path":1621,"stem":1622},"OOP51-CPP. Do not slice derived objects","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop51-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F03.oop51-cpp",{"title":1624,"path":1625,"stem":1626},"OOP52-CPP. Do not delete a polymorphic object without a virtual destructor","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop52-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F04.oop52-cpp",{"title":1628,"path":1629,"stem":1630},"OOP53-CPP. Write constructor member initializers in the canonical order","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop53-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F05.oop53-cpp",{"title":1632,"path":1633,"stem":1634},"OOP54-CPP. Gracefully handle self-copy assignment","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop54-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F06.oop54-cpp",{"title":1636,"path":1637,"stem":1638},"OOP55-CPP. Do not use pointer-to-member operators to access nonexistent members","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop55-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F07.oop55-cpp",{"title":1640,"path":1641,"stem":1642},"OOP56-CPP. Honor replacement handler requirements","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop56-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F08.oop56-cpp",{"title":1644,"path":1645,"stem":1646},"OOP57-CPP. Prefer special member functions and overloaded operators to C Standard Library functions","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop57-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F09.oop57-cpp",{"title":1648,"path":1649,"stem":1650},"OOP58-CPP. Copy operations must not mutate the source object","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fobject-oriented-programming-oop\u002Foop58-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F12.object-oriented-programming-oop\u002F10.oop58-cpp",{"title":1652,"path":1653,"stem":1654,"children":1655},"Back Matter","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F1.index",[1656,1657,1661,1665,1846,1859],{"title":1652,"path":1653,"stem":1654},{"title":1658,"path":1659,"stem":1660},"AA. Bibliography","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F2.aa-bibliography",{"title":1662,"path":1663,"stem":1664},"BB. Definitions","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F3.bb-definitions",{"title":1666,"path":1667,"stem":1668,"children":1669},"CC. Analyzers","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F01.index",[1670,1671,1675,1679,1681,1685,1687,1691,1695,1699,1703,1707,1711,1713,1717,1721,1725,1729,1733,1737,1741,1745,1749,1751,1755,1757,1761,1765,1769,1772,1776,1778,1782,1786,1790,1794,1798,1802,1806,1810,1814,1818,1822,1826,1830,1834,1838,1842],{"title":1666,"path":1667,"stem":1668},{"title":1672,"path":1673,"stem":1674},"Astrée","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fastree","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F02.astree",{"title":1676,"path":1677,"stem":1678},"Astrée_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fastree_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F03.astree_v",{"title":809,"path":808,"stem":1680},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F04.axivion-bauhaus-suite",{"title":1682,"path":1683,"stem":1684},"Axivion Bauhaus Suite_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Faxivion-bauhaus-suite_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F05.axivion-bauhaus-suite_v",{"title":842,"path":841,"stem":1686},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F06.clang",{"title":1688,"path":1689,"stem":1690},"Clang_38_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang_38_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F07.clang_38_v",{"title":1692,"path":1693,"stem":1694},"Clang_39_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang_39_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F08.clang_39_v",{"title":1696,"path":1697,"stem":1698},"Clang_40_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang_40_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F09.clang_40_v",{"title":1700,"path":1701,"stem":1702},"Clang_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F10.clang_v",{"title":1704,"path":1705,"stem":1706},"Codee","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcodee","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F11.codee",{"title":1708,"path":1709,"stem":1710},"Codee_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcodee_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F12.codee_v",{"title":871,"path":870,"stem":1712},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F13.codesonar",{"title":1714,"path":1715,"stem":1716},"CodeSonar_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcodesonar_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F14.codesonar_v",{"title":1718,"path":1719,"stem":1720},"Coverity","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcoverity","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F15.coverity",{"title":1722,"path":1723,"stem":1724},"Coverity_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcoverity_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F16.coverity_v",{"title":1726,"path":1727,"stem":1728},"ECLAIR","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Feclair","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F17.eclair",{"title":1730,"path":1731,"stem":1732},"ECLAIR_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Feclair_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F18.eclair_v",{"title":1734,"path":1735,"stem":1736},"EDG","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fedg","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F19.edg",{"title":1738,"path":1739,"stem":1740},"Edg_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fedg_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F20.edg_v",{"title":1742,"path":1743,"stem":1744},"GCC","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fgcc","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F21.gcc",{"title":1746,"path":1747,"stem":1748},"Gcc_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fgcc_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F22.gcc_v",{"title":922,"path":921,"stem":1750},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F23.helix-qac",{"title":1752,"path":1753,"stem":1754},"Helix QAC_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fhelix-qac_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F24.helix-qac_v",{"title":948,"path":947,"stem":1756},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F25.klocwork",{"title":1758,"path":1759,"stem":1760},"Klocwork_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fklocwork_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F26.klocwork_v",{"title":1762,"path":1763,"stem":1764},"LDRA","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fldra","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F27.ldra",{"title":1766,"path":1767,"stem":1768},"Ldra_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fldra_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F28.ldra_v",{"title":1770,"path":970,"stem":1771},"Parasoft","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F29.parasoft",{"title":1773,"path":1774,"stem":1775},"Parasoft_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fparasoft_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F30.parasoft_v",{"title":995,"path":994,"stem":1777},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F31.polyspace-bug-finder",{"title":1779,"path":1780,"stem":1781},"Polyspace Bug Finder_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpolyspace-bug-finder_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F32.polyspace-bug-finder_v",{"title":1783,"path":1784,"stem":1785},"PRQA QA-C++","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fprqa-qa-cpp","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F33.prqa-qa-cpp",{"title":1787,"path":1788,"stem":1789},"PRQA QA-C++_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fprqa-qa-cpp_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F34.prqa-qa-cpp_v",{"title":1791,"path":1792,"stem":1793},"PVS-Studio","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpvs-studio","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F35.pvs-studio",{"title":1795,"path":1796,"stem":1797},"PVS-Studio_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpvs-studio_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F36.pvs-studio_v",{"title":1799,"path":1800,"stem":1801},"Rose","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Frose","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F37.rose",{"title":1803,"path":1804,"stem":1805},"Rose_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Frose_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F38.rose_v",{"title":1807,"path":1808,"stem":1809},"RuleChecker","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Frulechecker","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F39.rulechecker",{"title":1811,"path":1812,"stem":1813},"RuleChecker_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Frulechecker_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F40.rulechecker_v",{"title":1815,"path":1816,"stem":1817},"Security Reviewer - Static Reviewer","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsecurity-reviewer-static-reviewer","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F41.security-reviewer-static-reviewer",{"title":1819,"path":1820,"stem":1821},"Security Reviewer - Static Reviewer_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsecurity-reviewer-static-reviewer_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F42.security-reviewer-static-reviewer_v",{"title":1823,"path":1824,"stem":1825},"Semgrep","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsemgrep","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F43.semgrep",{"title":1827,"path":1828,"stem":1829},"Semgrep_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsemgrep_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F44.semgrep_v",{"title":1831,"path":1832,"stem":1833},"SonarQube C\u002FC++ Plugin","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsonarqube-ccpp-plugin","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F45.sonarqube-ccpp-plugin",{"title":1835,"path":1836,"stem":1837},"SonarQube C\u002FC++ Plugin_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsonarqube-ccpp-plugin_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F46.sonarqube-ccpp-plugin_v",{"title":1839,"path":1840,"stem":1841},"Splint","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsplint","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F47.splint",{"title":1843,"path":1844,"stem":1845},"Splint_V","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fsplint_v","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F48.splint_v",{"title":1847,"path":1848,"stem":1849,"children":1850},"DD. Related Guidelines","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fdd-related-guidelines","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F5.dd-related-guidelines\u002F1.index",[1851,1852,1856],{"title":1847,"path":1848,"stem":1849},{"title":1853,"path":1854,"stem":1855},"2008","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fdd-related-guidelines\u002F2.2008","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F5.dd-related-guidelines\u002F2.2008",{"title":1070,"path":1857,"stem":1858},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fdd-related-guidelines\u002Fmitre-cwe","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F5.dd-related-guidelines\u002F3.mitre-cwe",{"title":1860,"path":1861,"stem":1862},"EE. Risk Assessments","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fee-risk-assessments","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F6.ee-risk-assessments",{"title":1864,"path":1865,"stem":1866,"children":1867},"Admin","\u002Fsei-cert-cpp-coding-standard\u002Fadmin","5.sei-cert-cpp-coding-standard\u002F5.admin\u002F1.index",[1868,1869],{"title":1864,"path":1865,"stem":1866},{"title":1870,"path":1871,"stem":1872},"TODO List","\u002Fsei-cert-cpp-coding-standard\u002Fadmin\u002Ftodo-list","5.sei-cert-cpp-coding-standard\u002F5.admin\u002F2.todo-list",{"title":1874,"path":1875,"stem":1876},"Errata for SEI CERT C++ Coding Standard (2016 Edition)","\u002Fsei-cert-cpp-coding-standard\u002Ferrata-for-sei-cert-cpp-coding-standard-2016-edition","5.sei-cert-cpp-coding-standard\u002F6.errata-for-sei-cert-cpp-coding-standard-2016-edition",1775657781499]