[{"data":1,"prerenderedAt":2426},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr51-cpp":28,"surround-\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr51-cpp":1725,"sidebar-sei-cert-cpp-coding-standard":1732},[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":1709,"extension":1710,"meta":1711,"navigation":7,"path":1721,"seo":1722,"stem":1723,"__hash__":1724},"content\u002F5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F03.ctr51-cpp.md","CTR51-CPP. Use valid references, pointers, and iterators to reference elements of a container",{"type":32,"value":33,"toc":1698},"minimark",[34,38,63,69,75,78,81,735,750,755,770,967,971,977,1111,1115,1133,1268,1272,1275,1336,1341,1561,1565,1579,1583,1606,1610,1669,1672,1694],[35,36,30],"h1",{"id":37},"ctr51-cpp-use-valid-references-pointers-and-iterators-to-reference-elements-of-a-container",[39,40,41,42,47,48,52,53,57,58,62],"p",{},"Iterators are a generalization of pointers that allow a C++ program to work with different data structures (containers) in a uniform manner [ ",[43,44,46],"a",{"href":45},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO\u002FIEC14882-2014","ISO\u002FIEC 14882-2014"," ]. Pointers, references, and iterators share a close relationship in which it is required that referencing values be done through a valid iterator, pointer, or reference. Storing an iterator, reference, or pointer to an element within a container for any length of time comes with a risk that the underlying container may be modified such that the stored iterator, pointer, or reference becomes invalid. For instance, when a sequence container such as ",[49,50,51],"code",{},"std::vector"," requires an underlying reallocation, outstanding iterators, pointers, and references will be invalidated [ ",[43,54,56],{"href":55},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-Kalev99","Kalev 99"," ]. Use only a ",[43,59,61],{"href":60},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-validpointer","valid pointer"," , reference, or iterator to refer to an element of a container.",[39,64,65,66,68],{},"The C++ Standard, [container.requirements.general], paragraph 12 [ ",[43,67,46],{"href":45}," ] states the following:",[70,71,72],"blockquote",{},[39,73,74],{},"Unless otherwise specified (either explicitly or by defining a function in terms of other functions), invoking a container member function or passing a container as an argument to a library function shall not invalidate iterators to, or change the values of, objects within that container.",[39,76,77],{},"The C++ Standard allows references and pointers to be invalidated independently for the same operation, which may result in an invalidated reference but not an invalidated pointer. However, relying on this distinction is insecure because the object pointed to by the pointer may be different than expected even if the pointer is valid. For instance, it is possible to retrieve a pointer to an element from a container, erase that element (invalidating references when destroying the underlying object), then insert a new element at the same location within the container causing the extant pointer to now point to a valid, but distinct object. Thus, any operation that invalidates a pointer or a reference should be treated as though it invalidates both pointers and references.",[39,79,80],{},"The following container functions can invalidate iterators, references, and pointers under certain circumstances.",[82,83,86],"table",{"className":84},[85],"wrapped",[87,88,89,110,137,179,206,227,251,278,302,320,344,375,392,416,451,477,499,516,549,569,605,625,689,714],"tbody",{},[90,91,94,98,101,104,107],"tr",{"className":92},[93],"header",[95,96,97],"th",{},"Class",[95,99,100],{},"Function",[95,102,103],{},"Iterators",[95,105,106],{},"References\u002FPointers",[95,108,109],{},"Notes",[90,111,114,120,125,129,133],{"className":112},[113],"odd",[115,116,117],"td",{},[49,118,119],{},"      std::deque     ",[115,121,122],{},[123,124],"br",{},[115,126,127],{},[123,128],{},[115,130,131],{},[123,132],{},[115,134,135],{},[123,136],{},[90,138,141,145,169,172,174],{"className":139},[140],"even",[115,142,143],{},[123,144],{},[115,146,147,150,151,150,154,157,158,160,150,163,150,166],{},[49,148,149],{},"      insert()     "," , ",[49,152,153],{},"      emplace_front()     ",[49,155,156],{},"      emplace_back()     "," ,",[123,159],{},[49,161,162],{},"      emplace()     ",[49,164,165],{},"      push_front()     ",[49,167,168],{},"      push_back()     ",[115,170,171],{},"X",[115,173,171],{},[115,175,176],{},[39,177,178],{},"An insertion in the middle of the deque invalidates all the iterators and references to elements of the deque. An insertion at either end of the deque invalidates all the iterators to the deque but has no effect on the validity of references to elements of the deque. ([deque.modifiers], paragraph 1 )",[90,180,182,186,197,199,201],{"className":181},[113],[115,183,184],{},[123,185],{},[115,187,188,150,191,150,194],{},[49,189,190],{},"      erase()     ",[49,192,193],{},"      pop_back()     ",[49,195,196],{},"      resize()     ",[115,198,171],{},[115,200,171],{},[115,202,203],{},[39,204,205],{},"An erase operation that erases the last element of a deque invalidates only the past-the-end iterator and all iterators and references to the erased elements. An erase operation that erases the first element of a deque but not the last element invalidates only the erased elements. An erase operation that erases neither the first element nor the last element of a deque invalidates the past-the-end iterator and all iterators and references to all the elements of the deque. ([deque.modifiers], paragraph 4)",[90,207,209,213,218,220,222],{"className":208},[140],[115,210,211],{},[123,212],{},[115,214,215],{},[49,216,217],{},"      clear()     ",[115,219,171],{},[115,221,171],{},[115,223,224],{},[39,225,226],{},"Destroys all elements in the container. Invalidates all references, pointers, and iterators referring to the elements of the container and may invalidate the past-the-end iterator. ([sequence.reqmts], Table 100)",[90,228,230,235,239,243,247],{"className":229},[113],[115,231,232],{},[49,233,234],{},"      std::forward_list     ",[115,236,237],{},[123,238],{},[115,240,241],{},[123,242],{},[115,244,245],{},[123,246],{},[115,248,249],{},[123,250],{},[90,252,254,258,268,270,272],{"className":253},[140],[115,255,256],{},[123,257],{},[115,259,260,150,263,150,266],{},[49,261,262],{},"      erase_after()     ",[49,264,265],{},"      pop_front()     ",[49,267,196],{},[115,269,171],{},[115,271,171],{},[115,273,274,277],{},[49,275,276],{},"      erase_after     "," shall invalidate only iterators and references to the erased elements. ([forwardlist.modifiers], paragraph 1)",[90,279,281,285,293,295,297],{"className":280},[113],[115,282,283],{},[123,284],{},[115,286,287,150,290],{},[49,288,289],{},"      remove()     ",[49,291,292],{},"      unique()     ",[115,294,171],{},[115,296,171],{},[115,298,299],{},[39,300,301],{},"Invalidates only the iterators and references to the erased elements. ([forwardlist.ops], paragraph 12 & paragraph 16)",[90,303,305,309,313,315,317],{"className":304},[140],[115,306,307],{},[123,308],{},[115,310,311],{},[49,312,217],{},[115,314,171],{},[115,316,171],{},[115,318,319],{},"Destroys all elements in the container. Invalidates all references, pointers, and iterators referring to the elements of the container and may invalidate the past-the-end iterator. ( [sequence.reqmts], Table 100)",[90,321,323,328,332,336,340],{"className":322},[113],[115,324,325],{},[49,326,327],{},"      std::list     ",[115,329,330],{},[123,331],{},[115,333,334],{},[123,335],{},[115,337,338],{},[123,339],{},[115,341,342],{},[123,343],{},[90,345,347,351,368,370,372],{"className":346},[140],[115,348,349],{},[123,350],{},[115,352,353,150,355,150,357,150,359,150,361,150,363,150,366],{},[49,354,190],{},[49,356,265],{},[49,358,193],{},[49,360,217],{},[49,362,289],{},[49,364,365],{},"      remove_if()     ",[49,367,292],{},[115,369,171],{},[115,371,171],{},[115,373,374],{},"Invalidates only the iterators and references to the erased elements. ([list.modifiers], paragraph 3 and [list.ops], paragraph 15 & paragraph 19)",[90,376,378,382,386,388,390],{"className":377},[113],[115,379,380],{},[123,381],{},[115,383,384],{},[49,385,217],{},[115,387,171],{},[115,389,171],{},[115,391,319],{},[90,393,395,400,404,408,412],{"className":394},[140],[115,396,397],{},[49,398,399],{},"      std::vector     ",[115,401,402],{},[123,403],{},[115,405,406],{},[123,407],{},[115,409,410],{},[123,411],{},[115,413,414],{},[123,415],{},[90,417,419,423,428,430,432],{"className":418},[113],[115,420,421],{},[123,422],{},[115,424,425],{},[49,426,427],{},"      reserve()     ",[115,429,171],{},[115,431,171],{},[115,433,434],{},[39,435,436,437,150,440,443,444,447,448,450],{},"After ",[49,438,439],{},"       reserve()      ",[49,441,442],{},"       capacity()      "," is greater or equal to the argument of ",[49,445,446],{},"       reserve      "," if reallocation happens and is equal to the previous value of ",[49,449,442],{}," otherwise. Reallocation invalidates all the references, pointers, and iterators referring to the elements in the sequence. ([vector.capacity], paragraph 3 & paragraph 6)",[90,452,454,458,468,470,472],{"className":453},[140],[115,455,456],{},[123,457],{},[115,459,460,150,462,150,464,150,466],{},[49,461,149],{},[49,463,156],{},[49,465,162],{},[49,467,168],{},[115,469,171],{},[115,471,171],{},[115,473,474],{},[39,475,476],{},"Causes reallocation if the new size is greater than the old capacity. If no reallocation happens, all the iterators and references before the insertion point remain valid. ([vector.modifiers], paragraph 1). All iterators and references after the insertion point are invalidated.",[90,478,480,484,492,494,496],{"className":479},[113],[115,481,482],{},[123,483],{},[115,485,486,150,488,150,490],{},[49,487,190],{},[49,489,193],{},[49,491,196],{},[115,493,171],{},[115,495,171],{},[115,497,498],{},"Invalidates iterators and references at or after the point of the erase. ( [vector.modifiers], paragraph 3)",[90,500,502,506,510,512,514],{"className":501},[140],[115,503,504],{},[123,505],{},[115,507,508],{},[49,509,217],{},[115,511,171],{},[115,513,171],{},[115,515,319],{},[90,517,519,533,537,541,545],{"className":518},[113],[115,520,521,150,524,150,527,150,530],{},[49,522,523],{},"      std::set     ",[49,525,526],{},"      std::multiset     ",[49,528,529],{},"      std::map     ",[49,531,532],{},"      std::multimap     ",[115,534,535],{},[123,536],{},[115,538,539],{},[123,540],{},[115,542,543],{},[123,544],{},[115,546,547],{},[123,548],{},[90,550,552,556,562,564,566],{"className":551},[140],[115,553,554],{},[123,555],{},[115,557,558,150,560],{},[49,559,190],{},[49,561,217],{},[115,563,171],{},[115,565,171],{},[115,567,568],{},"Invalidates only iterators and references to the erased elements. ([associative.reqmts], paragraph 9)",[90,570,572,589,593,597,601],{"className":571},[113],[115,573,574],{},[39,575,576,150,579,150,582,150,586],{},[49,577,578],{},"       std::unordered_set      ",[49,580,581],{},"       std::unordered_multiset      ",[49,583,585],{"style":584},"line-height: 1.4285;","       std::unordered_map      ",[49,587,588],{"style":584},"       std::unordered_multimap      ",[115,590,591],{},[123,592],{},[115,594,595],{},[123,596],{},[115,598,599],{},[123,600],{},[115,602,603],{},[123,604],{},[90,606,608,612,618,620,622],{"className":607},[140],[115,609,610],{},[123,611],{},[115,613,614,150,616],{},[49,615,190],{},[49,617,217],{},[115,619,171],{},[115,621,171],{},[115,623,624],{},"Invalidates only iterators and references to the erased elements. ([unord.req], paragraph 14)",[90,626,628,632,638,640,644],{"className":627},[113],[115,629,630],{},[123,631],{},[115,633,634,150,636],{},[49,635,149],{},[49,637,162],{},[115,639,171],{},[115,641,642],{},[123,643],{},[115,645,646],{},[39,647,648,649,652,653,656,657,661,662,665,666,669,670,673,674,676,677,679,680,682,683,685,686,688],{},"The ",[49,650,651],{},"       insert      "," and ",[49,654,655],{},"       emplace      "," members shall not affect the validity of iterators if ( ",[658,659,660],"em",{},"N"," + ",[658,663,664],{},"n"," ) \u003C ",[658,667,668],{},"z"," * ",[658,671,672],{},"B"," , where ",[658,675,660],{}," is the number of elements in the container prior to the ",[49,678,651],{}," operation, ",[658,681,664],{}," is the number of elements inserted, ",[658,684,672],{}," is the container’s bucket count, and ",[658,687,668],{}," is the container’s maximum load factor. ([unord.req], paragraph 15)",[90,690,692,696,703,705,709],{"className":691},[140],[115,693,694],{},[123,695],{},[115,697,698,150,701],{},[49,699,700],{},"      rehash()     ",[49,702,427],{},[115,704,171],{},[115,706,707],{},[123,708],{},[115,710,711],{},[39,712,713],{},"Rehashing invalidates iterators, changes ordering between elements, and changes which buckets the elements appear in but does not invalidate pointers or references to elements. ([unord.req], paragraph 9)",[90,715,717,722,726,730,732],{"className":716},[113],[115,718,719],{},[49,720,721],{},"      std::valarray     ",[115,723,724],{},[49,725,196],{},[115,727,728],{},[123,729],{},[115,731,171],{},[115,733,734],{},"Resizing invalidates all pointers and references to elements in the array. ([valarray.members], paragraph 12)",[39,736,737,738,741,742,744,745,749],{},"A ",[49,739,740],{},"std::basic_string"," object is also a container to which this rule applies. For more specific information pertaining to ",[49,743,740],{}," containers, see ",[43,746,748],{"href":747},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr52-cpp","STR52-CPP. Use valid references, pointers, and iterators to reference elements of a basic_string"," .",[751,752,754],"h2",{"id":753},"noncompliant-code-example","Noncompliant Code Example",[39,756,757,758,761,762,765,766,749],{},"In this noncompliant code example, ",[49,759,760],{},"pos"," is invalidated after the first call to ",[49,763,764],{},"insert()"," , and subsequent loop iterations have ",[43,767,769],{"href":768},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-undefinedbehavior","undefined behavior",[771,772,774],"code-block",{"quality":773},"bad",[775,776,781],"pre",{"className":777,"code":778,"language":779,"meta":780,"style":780},"language-cpp shiki shiki-themes github-light github-dark monokai","#include \u003Cdeque>\n \nvoid f(const double *items, std::size_t count) {\n  std::deque\u003Cdouble> d;\n  auto pos = d.begin();\n  for (std::size_t i = 0; i \u003C count; ++i, ++pos) {\n    d.insert(pos, items[i] + 41.0);\n  }\n}\n","cpp","",[49,782,783,796,803,849,870,891,934,955,961],{"__ignoreMap":780},[784,785,788,792],"span",{"class":786,"line":787},"line",1,[784,789,791],{"class":790},"sC2Qs","#include",[784,793,795],{"class":794},"sstjo"," \u003Cdeque>\n",[784,797,799],{"class":786,"line":798},2,[784,800,802],{"class":801},"sMOD_"," \n",[784,804,806,810,814,817,820,823,826,830,833,837,840,843,846],{"class":786,"line":805},3,[784,807,809],{"class":808},"sq6CD","void",[784,811,813],{"class":812},"srTi1"," f",[784,815,816],{"class":801},"(",[784,818,819],{"class":790},"const",[784,821,822],{"class":808}," double",[784,824,825],{"class":790}," *",[784,827,829],{"class":828},"sTHNf","items",[784,831,832],{"class":801},", ",[784,834,836],{"class":835},"sz2Vg","std",[784,838,839],{"class":801},"::",[784,841,842],{"class":808},"size_t",[784,844,845],{"class":828}," count",[784,847,848],{"class":801},") {\n",[784,850,852,855,858,861,864,867],{"class":786,"line":851},4,[784,853,854],{"class":835},"  std",[784,856,857],{"class":801},"::deque",[784,859,860],{"class":790},"\u003C",[784,862,863],{"class":808},"double",[784,865,866],{"class":790},">",[784,868,869],{"class":801}," d;\n",[784,871,873,876,879,882,885,888],{"class":786,"line":872},5,[784,874,875],{"class":808},"  auto",[784,877,878],{"class":801}," pos ",[784,880,881],{"class":790},"=",[784,883,884],{"class":801}," d.",[784,886,887],{"class":812},"begin",[784,889,890],{"class":801},"();\n",[784,892,894,897,900,902,904,906,909,911,915,918,920,923,926,929,931],{"class":786,"line":893},6,[784,895,896],{"class":790},"  for",[784,898,899],{"class":801}," (",[784,901,836],{"class":835},[784,903,839],{"class":801},[784,905,842],{"class":808},[784,907,908],{"class":801}," i ",[784,910,881],{"class":790},[784,912,914],{"class":913},"s7F3e"," 0",[784,916,917],{"class":801},"; i ",[784,919,860],{"class":790},[784,921,922],{"class":801}," count; ",[784,924,925],{"class":790},"++",[784,927,928],{"class":801},"i, ",[784,930,925],{"class":790},[784,932,933],{"class":801},"pos) {\n",[784,935,937,940,943,946,949,952],{"class":786,"line":936},7,[784,938,939],{"class":801},"    d.",[784,941,942],{"class":812},"insert",[784,944,945],{"class":801},"(pos, items[i] ",[784,947,948],{"class":790},"+",[784,950,951],{"class":913}," 41.0",[784,953,954],{"class":801},");\n",[784,956,958],{"class":786,"line":957},8,[784,959,960],{"class":801},"  }\n",[784,962,964],{"class":786,"line":963},9,[784,965,966],{"class":801},"}\n",[751,968,970],{"id":969},"compliant-solution-updated-iterator","Compliant Solution (Updated Iterator)",[39,972,973,974,976],{},"In this compliant solution, ",[49,975,760],{}," is assigned a valid iterator on each insertion, preventing undefined behavior.",[771,978,980],{"quality":979},"good",[775,981,983],{"className":777,"code":982,"language":779,"meta":780,"style":780},"#include \u003Cdeque>\n \nvoid f(const double *items, std::size_t count) {\n  std::deque\u003Cdouble> d;\n  auto pos = d.begin();\n  for (std::size_t i = 0; i \u003C count; ++i, ++pos) {\n    pos = d.insert(pos, items[i] + 41.0);\n  }\n}\n",[49,984,985,991,996,1024,1038,1052,1084,1103,1107],{"__ignoreMap":780},[784,986,987,989],{"class":786,"line":787},[784,988,791],{"class":790},[784,990,795],{"class":794},[784,992,993],{"class":786,"line":798},[784,994,995],{"class":801}," \n",[784,997,998,1000,1002,1004,1006,1008,1010,1012,1014,1016,1018,1020,1022],{"class":786,"line":805},[784,999,809],{"class":808},[784,1001,813],{"class":812},[784,1003,816],{"class":801},[784,1005,819],{"class":790},[784,1007,822],{"class":808},[784,1009,825],{"class":790},[784,1011,829],{"class":828},[784,1013,832],{"class":801},[784,1015,836],{"class":835},[784,1017,839],{"class":801},[784,1019,842],{"class":808},[784,1021,845],{"class":828},[784,1023,848],{"class":801},[784,1025,1026,1028,1030,1032,1034,1036],{"class":786,"line":851},[784,1027,854],{"class":835},[784,1029,857],{"class":801},[784,1031,860],{"class":790},[784,1033,863],{"class":808},[784,1035,866],{"class":790},[784,1037,869],{"class":801},[784,1039,1040,1042,1044,1046,1048,1050],{"class":786,"line":872},[784,1041,875],{"class":808},[784,1043,878],{"class":801},[784,1045,881],{"class":790},[784,1047,884],{"class":801},[784,1049,887],{"class":812},[784,1051,890],{"class":801},[784,1053,1054,1056,1058,1060,1062,1064,1066,1068,1070,1072,1074,1076,1078,1080,1082],{"class":786,"line":893},[784,1055,896],{"class":790},[784,1057,899],{"class":801},[784,1059,836],{"class":835},[784,1061,839],{"class":801},[784,1063,842],{"class":808},[784,1065,908],{"class":801},[784,1067,881],{"class":790},[784,1069,914],{"class":913},[784,1071,917],{"class":801},[784,1073,860],{"class":790},[784,1075,922],{"class":801},[784,1077,925],{"class":790},[784,1079,928],{"class":801},[784,1081,925],{"class":790},[784,1083,933],{"class":801},[784,1085,1086,1089,1091,1093,1095,1097,1099,1101],{"class":786,"line":936},[784,1087,1088],{"class":801},"    pos ",[784,1090,881],{"class":790},[784,1092,884],{"class":801},[784,1094,942],{"class":812},[784,1096,945],{"class":801},[784,1098,948],{"class":790},[784,1100,951],{"class":913},[784,1102,954],{"class":801},[784,1104,1105],{"class":786,"line":957},[784,1106,960],{"class":801},[784,1108,1109],{"class":786,"line":963},[784,1110,966],{"class":801},[751,1112,1114],{"id":1113},"compliant-solution-generic-algorithm","Compliant Solution (Generic Algorithm)",[39,1116,1117,1118,1121,1122,1124,1125,1128,1129,1132],{},"This compliant solution replaces the handwritten loop with the generic standard template library algorithm ",[49,1119,1120],{},"std::transform()"," . The call to ",[49,1123,1120],{}," accepts the range of elements to transform, the location to store the transformed values (which, in this case, is a ",[49,1126,1127],{},"std::inserter"," object to insert them at the beginning of ",[49,1130,1131],{},"d"," ), and the transformation function to apply (which, in this case, is a simple lambda).",[771,1134,1135],{"quality":979},[775,1136,1138],{"className":777,"code":1137,"language":779,"meta":780,"style":780},"#include \u003Calgorithm>\n#include \u003Cdeque>\n#include \u003Citerator>\n \nvoid f(const double *items, std::size_t count) {\n  std::deque\u003Cdouble> d;\n  std::transform(items, items + count, std::inserter(d, d.begin()),\n                 [](double d) { return d + 41.0; });\n}\n",[49,1139,1140,1147,1153,1160,1164,1192,1206,1238,1264],{"__ignoreMap":780},[784,1141,1142,1144],{"class":786,"line":787},[784,1143,791],{"class":790},[784,1145,1146],{"class":794}," \u003Calgorithm>\n",[784,1148,1149,1151],{"class":786,"line":798},[784,1150,791],{"class":790},[784,1152,795],{"class":794},[784,1154,1155,1157],{"class":786,"line":805},[784,1156,791],{"class":790},[784,1158,1159],{"class":794}," \u003Citerator>\n",[784,1161,1162],{"class":786,"line":851},[784,1163,995],{"class":801},[784,1165,1166,1168,1170,1172,1174,1176,1178,1180,1182,1184,1186,1188,1190],{"class":786,"line":872},[784,1167,809],{"class":808},[784,1169,813],{"class":812},[784,1171,816],{"class":801},[784,1173,819],{"class":790},[784,1175,822],{"class":808},[784,1177,825],{"class":790},[784,1179,829],{"class":828},[784,1181,832],{"class":801},[784,1183,836],{"class":835},[784,1185,839],{"class":801},[784,1187,842],{"class":808},[784,1189,845],{"class":828},[784,1191,848],{"class":801},[784,1193,1194,1196,1198,1200,1202,1204],{"class":786,"line":893},[784,1195,854],{"class":835},[784,1197,857],{"class":801},[784,1199,860],{"class":790},[784,1201,863],{"class":808},[784,1203,866],{"class":790},[784,1205,869],{"class":801},[784,1207,1208,1210,1212,1215,1218,1220,1223,1225,1227,1230,1233,1235],{"class":786,"line":936},[784,1209,854],{"class":835},[784,1211,839],{"class":801},[784,1213,1214],{"class":812},"transform",[784,1216,1217],{"class":801},"(items, items ",[784,1219,948],{"class":790},[784,1221,1222],{"class":801}," count, ",[784,1224,836],{"class":835},[784,1226,839],{"class":801},[784,1228,1229],{"class":812},"inserter",[784,1231,1232],{"class":801},"(d, d.",[784,1234,887],{"class":812},[784,1236,1237],{"class":801},"()),\n",[784,1239,1240,1243,1245,1248,1251,1254,1257,1259,1261],{"class":786,"line":957},[784,1241,1242],{"class":801},"                 [](",[784,1244,863],{"class":808},[784,1246,1247],{"class":828}," d",[784,1249,1250],{"class":801},") { ",[784,1252,1253],{"class":790},"return",[784,1255,1256],{"class":801}," d ",[784,1258,948],{"class":790},[784,1260,951],{"class":913},[784,1262,1263],{"class":801},"; });\n",[784,1265,1266],{"class":786,"line":963},[784,1267,966],{"class":801},[751,1269,1271],{"id":1270},"risk-assessment","Risk Assessment",[39,1273,1274],{},"Using invalid references, pointers, or iterators to reference elements of a container results in undefined behavior.",[82,1276,1277,1278,1277,1306],{},"\n  ",[1279,1280,1281,1282,1277],"thead",{},"\n    ",[90,1283,1284,1285,1284,1288,1284,1291,1284,1294,1284,1297,1284,1300,1284,1303,1281],{},"\n      ",[95,1286,1287],{},"Rule",[95,1289,1290],{},"Severity",[95,1292,1293],{},"Likelihood",[95,1295,1296],{},"Detectable",[95,1298,1299],{},"Repairable",[95,1301,1302],{},"Priority",[95,1304,1305],{},"Level",[87,1307,1281,1308,1277],{},[90,1309,1284,1310,1284,1313,1284,1316,1284,1319,1284,1322,1284,1324,1284,1331,1281],{},[115,1311,1312],{},"CTR51-CPP",[115,1314,1315],{},"High",[115,1317,1318],{},"Probable",[115,1320,1321],{},"No",[115,1323,1321],{},[115,1325,1327],{"style":1326},"color: #f1c40f;",[1328,1329,1330],"b",{},"P6",[115,1332,1333],{"style":1326},[1328,1334,1335],{},"L2",[1337,1338,1340],"h3",{"id":1339},"automated-detection","Automated Detection",[82,1342,1344],{"className":1343},[85],[87,1345,1346,1369,1398,1425,1453,1478,1504,1532],{},[90,1347,1349,1354,1359,1364],{"className":1348},[93],[95,1350,1351],{},[39,1352,1353],{},"Tool",[95,1355,1356],{},[39,1357,1358],{},"Version",[95,1360,1361],{},[39,1362,1363],{},"Checker",[95,1365,1366],{},[39,1367,1368],{},"Description",[90,1370,1372,1378,1388,1394],{"className":1371},[113],[115,1373,1374],{},[43,1375,1377],{"href":1376},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fastree","Astrée",[115,1379,1380],{},[1381,1382,1385],"div",{"className":1383},[1384],"content-wrapper",[39,1386,1387],{},"25.10",[115,1389,1390],{},[1391,1392,1393],"strong",{},"overflow_upon_dereference",[115,1395,1396],{},[123,1397],{},[90,1399,1401,1407,1413,1420],{"className":1400},[140],[115,1402,1403],{},[43,1404,1406],{"href":1405},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fcodesonar","CodeSonar",[115,1408,1409],{},[1381,1410,1412],{"className":1411},[1384],"9.1p0",[115,1414,1415],{},[39,1416,1417],{},[1391,1418,1419],{},"ALLOC.UAF",[115,1421,1422],{},[39,1423,1424],{},"Use After Free",[90,1426,1428,1434,1442,1449],{"className":1427},[113],[115,1429,1430],{},[43,1431,1433],{"href":1432},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fhelix-qac","Helix QAC",[115,1435,1436],{},[1381,1437,1439],{"className":1438},[1384],[39,1440,1441],{},"2025.2",[115,1443,1444],{},[39,1445,1446],{},[1391,1447,1448],{},"DF4746, DF4747, DF4748, DF4749",[115,1450,1451],{},[123,1452],{},[90,1454,1456,1462,1467,1474],{"className":1455},[140],[115,1457,1458],{},[43,1459,1461],{"href":1460},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fklocwork","Klocwork",[115,1463,1464],{},[1381,1465,1441],{"className":1466},[1384],[115,1468,1469],{},[39,1470,1471],{},[1391,1472,1473],{},"ITER.CONTAINER.MODIFIED",[115,1475,1476],{},[123,1477],{},[90,1479,1481,1487,1494,1501],{"className":1480},[113],[115,1482,1483],{},[43,1484,1486],{"href":1485},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fparasoft","Parasoft C\u002FC++test",[115,1488,1489],{},[1381,1490,1492],{"className":1491},[1384],[39,1493,1441],{},[115,1495,1496],{},[39,1497,1498],{},[1391,1499,1500],{},"CERT_CPP-CTR51-a",[115,1502,1503],{},"Do not modify container while iterating over it",[90,1505,1507,1513,1521,1527],{"className":1506},[140],[115,1508,1509],{},[43,1510,1512],{"href":1511},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpolyspace-bug-finder","Polyspace Bug Finder",[115,1514,1515],{},[1381,1516,1518],{"className":1517},[1384],[39,1519,1520],{},"R2025b",[115,1522,1523],{},[43,1524,1526],{"href":1525},"https:\u002F\u002Fwww.mathworks.com\u002Fhelp\u002Fbugfinder\u002Fref\u002Fcertcctr51cpp.html","CERT C++: CTR51-CPP",[115,1528,1529],{},[39,1530,1531],{},"Checks for use of invalid iterator (rule partially covered).",[90,1533,1535,1541,1549,1557],{"className":1534},[113],[115,1536,1537],{},[43,1538,1540],{"href":1539},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpvs-studio","PVS-Studio",[115,1542,1543],{},[1381,1544,1546],{"className":1545},[1384],[39,1547,1548],{},"7.42",[115,1550,1551],{},[1391,1552,1553],{},[43,1554,1556],{"href":1555},"https:\u002F\u002Fpvs-studio.com\u002Fen\u002Fdocs\u002Fwarnings\u002Fv783\u002F","V783",[115,1558,1559],{},[123,1560],{},[1337,1562,1564],{"id":1563},"related-vulnerabilities","Related Vulnerabilities",[39,1566,1567,1568,1572,1573,749],{},"Search for ",[43,1569,1571],{"href":1570},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-vulnerabil","vulnerabilities"," resulting from the violation of this rule on the ",[43,1574,1578],{"href":1575,"rel":1576},"https:\u002F\u002Fwww.kb.cert.org\u002Fvulnotes\u002Fbymetric?searchview&query=FIELD+KEYWORDS+contains+CTR51-CPP",[1577],"nofollow","CERT website",[751,1580,1582],{"id":1581},"related-guidelines","Related Guidelines",[82,1584,1585,1593],{},[1279,1586,1587],{},[90,1588,1589,1591],{},[95,1590],{},[95,1592],{},[87,1594,1595],{},[90,1596,1597,1602],{},[115,1598,1599],{},[43,1600,1601],{"href":20},"SEI CERT C++ Coding Standard",[115,1603,1604],{},[43,1605,748],{"href":747},[751,1607,1609],{"id":1608},"bibliography","Bibliography",[82,1611,1613],{"className":1612},[85],[87,1614,1615,1632,1645,1657],{},[90,1616,1618,1624],{"className":1617},[113],[115,1619,1620,1621,1623],{},"[ ",[43,1622,46],{"href":45}," ]",[115,1625,1626],{},[39,1627,1628,1629,1631],{},"Clause 23, \"Containers Library\"",[123,1630],{},"\nSubclause 24.2.1, \"In General\"",[90,1633,1635,1640],{"className":1634},[140],[115,1636,1620,1637,1623],{},[43,1638,1639],{"href":55},"Kalev 1999",[115,1641,1642],{},[658,1643,1644],{},"ANSI\u002FISO C++ Professional Programmer's Handbook",[90,1646,1648,1654],{"className":1647},[113],[115,1649,1620,1650,1623],{},[43,1651,1653],{"href":1652},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-Meyers01","Meyers 2001",[115,1655,1656],{},"Item 43, \"Prefer Algorithm Calls to Handwritten Loops\"",[90,1658,1660,1666],{"className":1659},[140],[115,1661,1620,1662,1623],{},[43,1663,1665],{"href":1664},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-Sutter04","Sutter 2004",[115,1667,1668],{},"Item 84, \"Prefer Algorithm Calls to Handwritten Loops\"",[1670,1671],"hr",{},[39,1673,1674,1681,1682,1681,1688],{},[43,1675,1677],{"href":1676},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr50-cpp",[1678,1679],"img",{"src":1680},"\u002Fattachments\u002F88046682\u002F88480621.png"," ",[43,1683,1685],{"href":1684},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002F",[1678,1686],{"src":1687},"\u002Fattachments\u002F88046682\u002F88475556.png",[43,1689,1691],{"href":1690},"\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr52-cpp",[1678,1692],{"src":1693},"\u002Fattachments\u002F88046682\u002F88475555.png",[1695,1696,1697],"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 .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}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 .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 .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 .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}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":780,"searchDepth":798,"depth":798,"links":1699},[1700,1701,1702,1703,1707,1708],{"id":753,"depth":798,"text":754},{"id":969,"depth":798,"text":970},{"id":1113,"depth":798,"text":1114},{"id":1270,"depth":798,"text":1271,"children":1704},[1705,1706],{"id":1339,"depth":805,"text":1340},{"id":1563,"depth":805,"text":1564},{"id":1581,"depth":798,"text":1582},{"id":1608,"depth":798,"text":1609},"Iterators are a generalization of pointers that allow a C++ program to work with different data structures (containers) in a uniform manner [ ISO\u002FIEC 14882-2014 ]. Pointers, references, and iterators share a close relationship in which it is required that referencing values be done through a valid iterator, pointer, or reference. Storing an iterator, reference, or pointer to an element within a container for any length of time comes with a risk that the underlying container may be modified such that the stored iterator, pointer, or reference becomes invalid. For instance, when a sequence container such as std::vector requires an underlying reallocation, outstanding iterators, pointers, and references will be invalidated [ Kalev 99 ]. Use only a valid pointer , reference, or iterator to refer to an element of a container.","md",{"tags":1712},[1713,1714,1715,1716,1717,1718,1719,1720],"review","ctr","review-dms","rule","nptc-aliasing","review-ajb","no-autodetect","nptc","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr\u002Fctr51-cpp",{"title":30,"description":1709},"5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F03.ctr51-cpp","R9WuInf01Is1aI90sQZzDfQYRNPDg0ykTrw7qcCgWTk",[1726,1729],{"title":1727,"path":1676,"stem":1728,"children":-1},"CTR50-CPP. Guarantee that container indices and iterators are within the valid range","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F02.ctr50-cpp",{"title":1730,"path":1690,"stem":1731,"children":-1},"CTR52-CPP. Guarantee that library functions do not overflow","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F04.ctr52-cpp",[1733],{"title":1601,"path":1734,"stem":1735,"children":1736},"\u002Fsei-cert-cpp-coding-standard","5.sei-cert-cpp-coding-standard\u002F1.index",[1737,1738,1805,2198,2412,2422],{"title":1601,"path":1734,"stem":1735},{"title":1739,"path":1740,"stem":1741,"children":1742},"Front Matter","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F1.index",[1743,1744],{"title":1739,"path":1740,"stem":1741},{"title":1745,"path":1746,"stem":1747,"children":1748},"Introduction","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F01.index",[1749,1750,1754,1758,1762,1766,1770,1774,1778,1782,1786,1790,1794,1798,1802],{"title":1745,"path":1746,"stem":1747},{"title":1751,"path":1752,"stem":1753},"Scope","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fscope","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F02.scope",{"title":1755,"path":1756,"stem":1757},"Audience","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Faudience","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F03.audience",{"title":1759,"path":1760,"stem":1761},"Usage","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fusage","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F04.usage",{"title":1763,"path":1764,"stem":1765},"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":1767,"path":1768,"stem":1769},"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":1771,"path":1772,"stem":1773},"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":1775,"path":1776,"stem":1777},"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":1779,"path":1780,"stem":1781},"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":1783,"path":1784,"stem":1785},"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":1787,"path":1788,"stem":1789},"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":1791,"path":1792,"stem":1793},"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":1795,"path":1796,"stem":1797},"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":1799,"path":1800,"stem":1801},"Acknowledgments","\u002Fsei-cert-cpp-coding-standard\u002Ffront-matter\u002Fintroduction\u002Facknowledgments","5.sei-cert-cpp-coding-standard\u002F2.front-matter\u002F2.introduction\u002F14.acknowledgments",{"title":1340,"path":1803,"stem":1804},"\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":1806,"path":1807,"stem":1808,"children":1809},"Rules","\u002Fsei-cert-cpp-coding-standard\u002Frules","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F01.index",[1810,1811,1831,1865,1898,1948,2006,2068,2082,2092,2130,2156],{"title":1806,"path":1807,"stem":1808},{"title":1812,"path":1813,"stem":1814,"children":1815},"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",[1816,1817,1821,1823,1827],{"title":1812,"path":1813,"stem":1814},{"title":1818,"path":1819,"stem":1820},"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":748,"path":747,"stem":1822},"5.sei-cert-cpp-coding-standard\u002F3.rules\u002F02.characters-and-strings-str\u002F3.str52-cpp",{"title":1824,"path":1825,"stem":1826},"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":1828,"path":1829,"stem":1830},"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":1832,"path":1833,"stem":1834,"children":1835},"Concurrency (CON)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fconcurrency-con","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F03.concurrency-con\u002F1.index",[1836,1837,1841,1845,1849,1853,1857,1861],{"title":1832,"path":1833,"stem":1834},{"title":1838,"path":1839,"stem":1840},"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":1842,"path":1843,"stem":1844},"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":1846,"path":1847,"stem":1848},"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":1850,"path":1851,"stem":1852},"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":1854,"path":1855,"stem":1856},"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":1858,"path":1859,"stem":1860},"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":1862,"path":1863,"stem":1864},"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":1866,"path":1867,"stem":1868,"children":1869},"Containers (CTR)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fcontainers-ctr","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F04.containers-ctr\u002F01.index",[1870,1871,1872,1873,1874,1878,1882,1886,1890,1894],{"title":1866,"path":1867,"stem":1868},{"title":1727,"path":1676,"stem":1728},{"title":30,"path":1721,"stem":1723},{"title":1730,"path":1690,"stem":1731},{"title":1875,"path":1876,"stem":1877},"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":1879,"path":1880,"stem":1881},"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":1883,"path":1884,"stem":1885},"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":1887,"path":1888,"stem":1889},"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":1891,"path":1892,"stem":1893},"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":1895,"path":1896,"stem":1897},"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":1899,"path":1900,"stem":1901,"children":1902},"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",[1903,1904,1908,1912,1916,1920,1924,1928,1932,1936,1940,1944],{"title":1899,"path":1900,"stem":1901},{"title":1905,"path":1906,"stem":1907},"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":1909,"path":1910,"stem":1911},"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":1913,"path":1914,"stem":1915},"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":1917,"path":1918,"stem":1919},"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":1921,"path":1922,"stem":1923},"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":1925,"path":1926,"stem":1927},"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":1929,"path":1930,"stem":1931},"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":1933,"path":1934,"stem":1935},"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":1937,"path":1938,"stem":1939},"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":1941,"path":1942,"stem":1943},"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":1945,"path":1946,"stem":1947},"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":1949,"path":1950,"stem":1951,"children":1952},"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",[1953,1954,1958,1962,1966,1970,1974,1978,1982,1986,1990,1994,1998,2002],{"title":1949,"path":1950,"stem":1951},{"title":1955,"path":1956,"stem":1957},"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":1959,"path":1960,"stem":1961},"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":1963,"path":1964,"stem":1965},"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":1967,"path":1968,"stem":1969},"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":1971,"path":1972,"stem":1973},"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":1975,"path":1976,"stem":1977},"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":1979,"path":1980,"stem":1981},"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":1983,"path":1984,"stem":1985},"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":1987,"path":1988,"stem":1989},"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":1991,"path":1992,"stem":1993},"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":1995,"path":1996,"stem":1997},"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":1999,"path":2000,"stem":2001},"ERR61-CPP. Catch exceptions by lvalue reference","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr61-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F13.err61-cpp",{"title":2003,"path":2004,"stem":2005},"ERR62-CPP. Detect errors when converting a string to a number","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexceptions-and-error-handling-err\u002Ferr62-cpp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F06.exceptions-and-error-handling-err\u002F14.err62-cpp",{"title":2007,"path":2008,"stem":2009,"children":2010},"Expressions (EXP)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fexpressions-exp","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F07.expressions-exp\u002F01.index",[2011,2012,2016,2020,2024,2028,2032,2036,2040,2044,2048,2052,2056,2060,2064],{"title":2007,"path":2008,"stem":2009},{"title":2013,"path":2014,"stem":2015},"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":2017,"path":2018,"stem":2019},"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":2021,"path":2022,"stem":2023},"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":2025,"path":2026,"stem":2027},"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":2029,"path":2030,"stem":2031},"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":2033,"path":2034,"stem":2035},"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":2037,"path":2038,"stem":2039},"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":2041,"path":2042,"stem":2043},"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":2045,"path":2046,"stem":2047},"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":2049,"path":2050,"stem":2051},"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":2053,"path":2054,"stem":2055},"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":2057,"path":2058,"stem":2059},"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":2061,"path":2062,"stem":2063},"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":2065,"path":2066,"stem":2067},"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":2069,"path":2070,"stem":2071,"children":2072},"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",[2073,2074,2078],{"title":2069,"path":2070,"stem":2071},{"title":2075,"path":2076,"stem":2077},"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":2079,"path":2080,"stem":2081},"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":2083,"path":2084,"stem":2085,"children":2086},"Integers (INT)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fintegers-int","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F09.integers-int\u002F1.index",[2087,2088],{"title":2083,"path":2084,"stem":2085},{"title":2089,"path":2090,"stem":2091},"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":2093,"path":2094,"stem":2095,"children":2096},"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",[2097,2098,2102,2106,2110,2114,2118,2122,2126],{"title":2093,"path":2094,"stem":2095},{"title":2099,"path":2100,"stem":2101},"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":2103,"path":2104,"stem":2105},"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":2107,"path":2108,"stem":2109},"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":2111,"path":2112,"stem":2113},"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":2115,"path":2116,"stem":2117},"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":2119,"path":2120,"stem":2121},"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":2123,"path":2124,"stem":2125},"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":2127,"path":2128,"stem":2129},"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":2131,"path":2132,"stem":2133,"children":2134},"Miscellaneous (MSC)","\u002Fsei-cert-cpp-coding-standard\u002Frules\u002Fmiscellaneous-msc","5.sei-cert-cpp-coding-standard\u002F3.rules\u002F11.miscellaneous-msc\u002F1.index",[2135,2136,2140,2144,2148,2152],{"title":2131,"path":2132,"stem":2133},{"title":2137,"path":2138,"stem":2139},"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":2141,"path":2142,"stem":2143},"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":2145,"path":2146,"stem":2147},"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":2149,"path":2150,"stem":2151},"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":2153,"path":2154,"stem":2155},"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":2157,"path":2158,"stem":2159,"children":2160},"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",[2161,2162,2166,2170,2174,2178,2182,2186,2190,2194],{"title":2157,"path":2158,"stem":2159},{"title":2163,"path":2164,"stem":2165},"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":2167,"path":2168,"stem":2169},"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":2171,"path":2172,"stem":2173},"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":2175,"path":2176,"stem":2177},"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":2179,"path":2180,"stem":2181},"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":2183,"path":2184,"stem":2185},"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":2187,"path":2188,"stem":2189},"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":2191,"path":2192,"stem":2193},"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":2195,"path":2196,"stem":2197},"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":2199,"path":2200,"stem":2201,"children":2202},"Back Matter","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F1.index",[2203,2204,2208,2212,2394,2408],{"title":2199,"path":2200,"stem":2201},{"title":2205,"path":2206,"stem":2207},"AA. Bibliography","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Faa-bibliography","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F2.aa-bibliography",{"title":2209,"path":2210,"stem":2211},"BB. Definitions","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fbb-definitions","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F3.bb-definitions",{"title":2213,"path":2214,"stem":2215,"children":2216},"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",[2217,2218,2220,2224,2228,2232,2236,2240,2244,2248,2252,2256,2260,2262,2266,2270,2274,2278,2282,2286,2290,2294,2298,2300,2304,2306,2310,2314,2318,2321,2325,2328,2332,2336,2340,2342,2346,2350,2354,2358,2362,2366,2370,2374,2378,2382,2386,2390],{"title":2213,"path":2214,"stem":2215},{"title":1377,"path":1376,"stem":2219},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F02.astree",{"title":2221,"path":2222,"stem":2223},"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":2225,"path":2226,"stem":2227},"Axivion Bauhaus Suite","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Faxivion-bauhaus-suite","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F04.axivion-bauhaus-suite",{"title":2229,"path":2230,"stem":2231},"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":2233,"path":2234,"stem":2235},"Clang","\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fclang","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F06.clang",{"title":2237,"path":2238,"stem":2239},"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":2241,"path":2242,"stem":2243},"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":2245,"path":2246,"stem":2247},"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":2249,"path":2250,"stem":2251},"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":2253,"path":2254,"stem":2255},"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":2257,"path":2258,"stem":2259},"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":1406,"path":1405,"stem":2261},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F13.codesonar",{"title":2263,"path":2264,"stem":2265},"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":2267,"path":2268,"stem":2269},"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":2271,"path":2272,"stem":2273},"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":2275,"path":2276,"stem":2277},"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":2279,"path":2280,"stem":2281},"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":2283,"path":2284,"stem":2285},"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":2287,"path":2288,"stem":2289},"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":2291,"path":2292,"stem":2293},"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":2295,"path":2296,"stem":2297},"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":1433,"path":1432,"stem":2299},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F23.helix-qac",{"title":2301,"path":2302,"stem":2303},"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":1461,"path":1460,"stem":2305},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F25.klocwork",{"title":2307,"path":2308,"stem":2309},"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":2311,"path":2312,"stem":2313},"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":2315,"path":2316,"stem":2317},"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":2319,"path":1485,"stem":2320},"Parasoft","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F29.parasoft",{"title":2322,"path":2323,"stem":2324},"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":1512,"path":2326,"stem":2327},"\u002Fsei-cert-cpp-coding-standard\u002Fback-matter\u002Fcc-analyzers\u002Fpolyspace-bug-finder","5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F31.polyspace-bug-finder",{"title":2329,"path":2330,"stem":2331},"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":2333,"path":2334,"stem":2335},"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":2337,"path":2338,"stem":2339},"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":1540,"path":1539,"stem":2341},"5.sei-cert-cpp-coding-standard\u002F4.back-matter\u002F4.cc-analyzers\u002F35.pvs-studio",{"title":2343,"path":2344,"stem":2345},"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":2347,"path":2348,"stem":2349},"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":2351,"path":2352,"stem":2353},"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":2355,"path":2356,"stem":2357},"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":2359,"path":2360,"stem":2361},"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":2363,"path":2364,"stem":2365},"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":2367,"path":2368,"stem":2369},"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":2371,"path":2372,"stem":2373},"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":2375,"path":2376,"stem":2377},"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":2379,"path":2380,"stem":2381},"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":2383,"path":2384,"stem":2385},"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":2387,"path":2388,"stem":2389},"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":2391,"path":2392,"stem":2393},"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":2395,"path":2396,"stem":2397,"children":2398},"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",[2399,2400,2404],{"title":2395,"path":2396,"stem":2397},{"title":2401,"path":2402,"stem":2403},"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":2405,"path":2406,"stem":2407},"MITRE CWE","\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":2409,"path":2410,"stem":2411},"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":2413,"path":2414,"stem":2415,"children":2416},"Admin","\u002Fsei-cert-cpp-coding-standard\u002Fadmin","5.sei-cert-cpp-coding-standard\u002F5.admin\u002F1.index",[2417,2418],{"title":2413,"path":2414,"stem":2415},{"title":2419,"path":2420,"stem":2421},"TODO List","\u002Fsei-cert-cpp-coding-standard\u002Fadmin\u002Ftodo-list","5.sei-cert-cpp-coding-standard\u002F5.admin\u002F2.todo-list",{"title":2423,"path":2424,"stem":2425},"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",1775657778743]