LogicClient.nativecodeanalysis.sarif 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829
  1. {
  2. "version": "2.1.0",
  3. "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
  4. "runs": [
  5. {
  6. "results": [
  7. {
  8. "ruleId": "C26812",
  9. "message": {
  10. "text": "枚举类型“_Action_Sync_Mode”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  11. },
  12. "locations": [
  13. {
  14. "physicalLocation": {
  15. "artifactLocation": {
  16. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.h"
  17. },
  18. "region": {
  19. "startLine": 205,
  20. "startColumn": 2,
  21. "endLine": 205,
  22. "endColumn": 2
  23. }
  24. },
  25. "logicalLocations": [
  26. {
  27. "decoratedName": "??0LogicClient@@QEAA@AEBV0@@Z",
  28. "kind": "function"
  29. }
  30. ]
  31. }
  32. ]
  33. },
  34. {
  35. "ruleId": "C26812",
  36. "message": {
  37. "text": "枚举类型“_Dios_Packet_Route”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  38. },
  39. "locations": [
  40. {
  41. "physicalLocation": {
  42. "artifactLocation": {
  43. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.h"
  44. },
  45. "region": {
  46. "startLine": 205,
  47. "startColumn": 2,
  48. "endLine": 205,
  49. "endColumn": 2
  50. }
  51. },
  52. "logicalLocations": [
  53. {
  54. "decoratedName": "??0LogicClient@@QEAA@AEBV0@@Z",
  55. "kind": "function"
  56. }
  57. ]
  58. }
  59. ]
  60. },
  61. {
  62. "ruleId": "C26812",
  63. "message": {
  64. "text": "枚举类型“_Ret_Status”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  65. },
  66. "locations": [
  67. {
  68. "physicalLocation": {
  69. "artifactLocation": {
  70. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  71. },
  72. "region": {
  73. "startLine": 378,
  74. "startColumn": 13,
  75. "endLine": 378,
  76. "endColumn": 19
  77. }
  78. },
  79. "logicalLocations": [
  80. {
  81. "decoratedName": "?ProcessActionResponse@LogicClient@@IEAA?AW4_Ret_Status@@AEAVResDataObject@@0@Z",
  82. "kind": "function"
  83. }
  84. ]
  85. }
  86. ]
  87. },
  88. {
  89. "ruleId": "C26812",
  90. "message": {
  91. "text": "枚举类型“_Packet_Type”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  92. },
  93. "locations": [
  94. {
  95. "physicalLocation": {
  96. "artifactLocation": {
  97. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  98. },
  99. "region": {
  100. "startLine": 757,
  101. "startColumn": 24,
  102. "endLine": 757,
  103. "endColumn": 38
  104. }
  105. },
  106. "logicalLocations": [
  107. {
  108. "decoratedName": "??R<lambda_6537143e1ded4d6d19d5e16539168bed>@@QEBA@PEAVResDataObject@@PEBDPEAX@Z",
  109. "kind": "function"
  110. }
  111. ]
  112. }
  113. ]
  114. },
  115. {
  116. "ruleId": "C26812",
  117. "message": {
  118. "text": "枚举类型“_Packet_Cmd”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  119. },
  120. "locations": [
  121. {
  122. "physicalLocation": {
  123. "artifactLocation": {
  124. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  125. },
  126. "region": {
  127. "startLine": 761,
  128. "startColumn": 26,
  129. "endLine": 761,
  130. "endColumn": 39
  131. }
  132. },
  133. "logicalLocations": [
  134. {
  135. "decoratedName": "??R<lambda_6537143e1ded4d6d19d5e16539168bed>@@QEBA@PEAVResDataObject@@PEBDPEAX@Z",
  136. "kind": "function"
  137. }
  138. ]
  139. }
  140. ]
  141. },
  142. {
  143. "ruleId": "C28159",
  144. "message": {
  145. "text": "考虑使用“GetTickCount64”而不是“GetTickCount”。原因: GetTickCount overflows roughly every 49 days. Code that does not take that into account can loop indefinitely. GetTickCount64 operates on 64 bit values and does not have that problem"
  146. },
  147. "locations": [
  148. {
  149. "physicalLocation": {
  150. "artifactLocation": {
  151. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  152. },
  153. "region": {
  154. "startLine": 1924,
  155. "startColumn": 20,
  156. "endLine": 1924,
  157. "endColumn": 32
  158. }
  159. },
  160. "logicalLocations": [
  161. {
  162. "decoratedName": "?WaitForState@LogicClient@@QEAA?AW4_Ret_Status@@PEBDK@Z",
  163. "kind": "function"
  164. }
  165. ]
  166. }
  167. ]
  168. },
  169. {
  170. "ruleId": "C28159",
  171. "message": {
  172. "text": "考虑使用“GetTickCount64”而不是“GetTickCount”。原因: GetTickCount overflows roughly every 49 days. Code that does not take that into account can loop indefinitely. GetTickCount64 operates on 64 bit values and does not have that problem"
  173. },
  174. "locations": [
  175. {
  176. "physicalLocation": {
  177. "artifactLocation": {
  178. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  179. },
  180. "region": {
  181. "startLine": 1946,
  182. "startColumn": 8,
  183. "endLine": 1946,
  184. "endColumn": 20
  185. }
  186. },
  187. "logicalLocations": [
  188. {
  189. "decoratedName": "?WaitForState@LogicClient@@QEAA?AW4_Ret_Status@@PEBDK@Z",
  190. "kind": "function"
  191. }
  192. ]
  193. }
  194. ]
  195. },
  196. {
  197. "ruleId": "C26812",
  198. "message": {
  199. "text": "枚举类型“Log4CPP::enLogLevel”未设定范围。相比于 \"enum\",首选 \"enum class\" (Enum.3)。"
  200. },
  201. "locations": [
  202. {
  203. "physicalLocation": {
  204. "artifactLocation": {
  205. "uri": "file:///E:/DeviceV3.0/Deliver/Include/Log4CPP/Log.Include/Log4CPP.Logger.hpp"
  206. },
  207. "region": {
  208. "startLine": 146,
  209. "startColumn": 8,
  210. "endLine": 146,
  211. "endColumn": 17
  212. }
  213. },
  214. "logicalLocations": [
  215. {
  216. "decoratedName": "??$Warn@AEAY0BK@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Logger@Log4CPP@@QEAAXPEBDAEAY0BK@$$CBD$$QEAHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z",
  217. "kind": "function"
  218. }
  219. ]
  220. }
  221. ]
  222. },
  223. {
  224. "ruleId": "C26451",
  225. "message": {
  226. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  227. },
  228. "locations": [
  229. {
  230. "physicalLocation": {
  231. "artifactLocation": {
  232. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  233. },
  234. "region": {
  235. "startLine": 922,
  236. "startColumn": 35,
  237. "endLine": 922,
  238. "endColumn": 42
  239. }
  240. },
  241. "logicalLocations": [
  242. {
  243. "decoratedName": "??$DoFormat@AEAY0BK@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BK@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  244. "kind": "function"
  245. }
  246. ]
  247. }
  248. ]
  249. },
  250. {
  251. "ruleId": "C26451",
  252. "message": {
  253. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  254. },
  255. "locations": [
  256. {
  257. "physicalLocation": {
  258. "artifactLocation": {
  259. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  260. },
  261. "region": {
  262. "startLine": 922,
  263. "startColumn": 35,
  264. "endLine": 922,
  265. "endColumn": 42
  266. }
  267. },
  268. "logicalLocations": [
  269. {
  270. "decoratedName": "??$DoFormat@AEAY0BC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@std@@@Z",
  271. "kind": "function"
  272. }
  273. ]
  274. }
  275. ]
  276. },
  277. {
  278. "ruleId": "C26451",
  279. "message": {
  280. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  281. },
  282. "locations": [
  283. {
  284. "physicalLocation": {
  285. "artifactLocation": {
  286. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  287. },
  288. "region": {
  289. "startLine": 922,
  290. "startColumn": 35,
  291. "endLine": 922,
  292. "endColumn": 42
  293. }
  294. },
  295. "logicalLocations": [
  296. {
  297. "decoratedName": "??$DoFormat@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@std@@@Z",
  298. "kind": "function"
  299. }
  300. ]
  301. }
  302. ]
  303. },
  304. {
  305. "ruleId": "C26451",
  306. "message": {
  307. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  308. },
  309. "locations": [
  310. {
  311. "physicalLocation": {
  312. "artifactLocation": {
  313. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  314. },
  315. "region": {
  316. "startLine": 922,
  317. "startColumn": 35,
  318. "endLine": 922,
  319. "endColumn": 42
  320. }
  321. },
  322. "logicalLocations": [
  323. {
  324. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  325. "kind": "function"
  326. }
  327. ]
  328. }
  329. ]
  330. },
  331. {
  332. "ruleId": "C26451",
  333. "message": {
  334. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  335. },
  336. "locations": [
  337. {
  338. "physicalLocation": {
  339. "artifactLocation": {
  340. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  341. },
  342. "region": {
  343. "startLine": 922,
  344. "startColumn": 35,
  345. "endLine": 922,
  346. "endColumn": 42
  347. }
  348. },
  349. "logicalLocations": [
  350. {
  351. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAY0M@$$CBDAEAY08$$CBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAY0M@$$CBDAEAY08$$CBD@std@@@Z",
  352. "kind": "function"
  353. }
  354. ]
  355. }
  356. ]
  357. },
  358. {
  359. "ruleId": "C26451",
  360. "message": {
  361. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  362. },
  363. "locations": [
  364. {
  365. "physicalLocation": {
  366. "artifactLocation": {
  367. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  368. },
  369. "region": {
  370. "startLine": 922,
  371. "startColumn": 35,
  372. "endLine": 922,
  373. "endColumn": 42
  374. }
  375. },
  376. "logicalLocations": [
  377. {
  378. "decoratedName": "??$DoFormat@AEAY0BN@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BN@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@std@@@Z",
  379. "kind": "function"
  380. }
  381. ]
  382. }
  383. ]
  384. },
  385. {
  386. "ruleId": "C26451",
  387. "message": {
  388. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  389. },
  390. "locations": [
  391. {
  392. "physicalLocation": {
  393. "artifactLocation": {
  394. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  395. },
  396. "region": {
  397. "startLine": 922,
  398. "startColumn": 35,
  399. "endLine": 922,
  400. "endColumn": 42
  401. }
  402. },
  403. "logicalLocations": [
  404. {
  405. "decoratedName": "??$DoFormat@AEAY0BN@$$CBDHPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BN@$$CBDHPEBD@std@@@Z",
  406. "kind": "function"
  407. }
  408. ]
  409. }
  410. ]
  411. },
  412. {
  413. "ruleId": "C26451",
  414. "message": {
  415. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  416. },
  417. "locations": [
  418. {
  419. "physicalLocation": {
  420. "artifactLocation": {
  421. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  422. },
  423. "region": {
  424. "startLine": 922,
  425. "startColumn": 35,
  426. "endLine": 922,
  427. "endColumn": 42
  428. }
  429. },
  430. "logicalLocations": [
  431. {
  432. "decoratedName": "??$DoFormat@AEAY0BN@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BN@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  433. "kind": "function"
  434. }
  435. ]
  436. }
  437. ]
  438. },
  439. {
  440. "ruleId": "C26451",
  441. "message": {
  442. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  443. },
  444. "locations": [
  445. {
  446. "physicalLocation": {
  447. "artifactLocation": {
  448. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  449. },
  450. "region": {
  451. "startLine": 922,
  452. "startColumn": 35,
  453. "endLine": 922,
  454. "endColumn": 42
  455. }
  456. },
  457. "logicalLocations": [
  458. {
  459. "decoratedName": "??$DoFormat@AEAY0CB@$$CBDHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0CB@$$CBDHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  460. "kind": "function"
  461. }
  462. ]
  463. }
  464. ]
  465. },
  466. {
  467. "ruleId": "C26451",
  468. "message": {
  469. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  470. },
  471. "locations": [
  472. {
  473. "physicalLocation": {
  474. "artifactLocation": {
  475. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  476. },
  477. "region": {
  478. "startLine": 922,
  479. "startColumn": 35,
  480. "endLine": 922,
  481. "endColumn": 42
  482. }
  483. },
  484. "logicalLocations": [
  485. {
  486. "decoratedName": "??$DoFormat@AEAY0CB@$$CBDHAEAKAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0CB@$$CBDHAEAKAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  487. "kind": "function"
  488. }
  489. ]
  490. }
  491. ]
  492. },
  493. {
  494. "ruleId": "C26451",
  495. "message": {
  496. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  497. },
  498. "locations": [
  499. {
  500. "physicalLocation": {
  501. "artifactLocation": {
  502. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  503. },
  504. "region": {
  505. "startLine": 922,
  506. "startColumn": 35,
  507. "endLine": 922,
  508. "endColumn": 42
  509. }
  510. },
  511. "logicalLocations": [
  512. {
  513. "decoratedName": "??$DoFormat@AEAY0CB@$$CBDHK@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0CB@$$CBDHK@std@@@Z",
  514. "kind": "function"
  515. }
  516. ]
  517. }
  518. ]
  519. },
  520. {
  521. "ruleId": "C26451",
  522. "message": {
  523. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  524. },
  525. "locations": [
  526. {
  527. "physicalLocation": {
  528. "artifactLocation": {
  529. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  530. },
  531. "region": {
  532. "startLine": 922,
  533. "startColumn": 35,
  534. "endLine": 922,
  535. "endColumn": 42
  536. }
  537. },
  538. "logicalLocations": [
  539. {
  540. "decoratedName": "??$DoFormat@AEAY0BJ@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAV12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BJ@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAV12@@std@@@Z",
  541. "kind": "function"
  542. }
  543. ]
  544. }
  545. ]
  546. },
  547. {
  548. "ruleId": "C26451",
  549. "message": {
  550. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  551. },
  552. "locations": [
  553. {
  554. "physicalLocation": {
  555. "artifactLocation": {
  556. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  557. },
  558. "region": {
  559. "startLine": 922,
  560. "startColumn": 35,
  561. "endLine": 922,
  562. "endColumn": 42
  563. }
  564. },
  565. "logicalLocations": [
  566. {
  567. "decoratedName": "??$DoFormat@AEAY0BJ@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BJ@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  568. "kind": "function"
  569. }
  570. ]
  571. }
  572. ]
  573. },
  574. {
  575. "ruleId": "C26451",
  576. "message": {
  577. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  578. },
  579. "locations": [
  580. {
  581. "physicalLocation": {
  582. "artifactLocation": {
  583. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  584. },
  585. "region": {
  586. "startLine": 922,
  587. "startColumn": 35,
  588. "endLine": 922,
  589. "endColumn": 42
  590. }
  591. },
  592. "logicalLocations": [
  593. {
  594. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAKAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAKAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  595. "kind": "function"
  596. }
  597. ]
  598. }
  599. ]
  600. },
  601. {
  602. "ruleId": "C26451",
  603. "message": {
  604. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  605. },
  606. "locations": [
  607. {
  608. "physicalLocation": {
  609. "artifactLocation": {
  610. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  611. },
  612. "region": {
  613. "startLine": 922,
  614. "startColumn": 35,
  615. "endLine": 922,
  616. "endColumn": 42
  617. }
  618. },
  619. "logicalLocations": [
  620. {
  621. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAV12@AEA_N@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAV12@AEA_N@std@@@Z",
  622. "kind": "function"
  623. }
  624. ]
  625. }
  626. ]
  627. },
  628. {
  629. "ruleId": "C26451",
  630. "message": {
  631. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  632. },
  633. "locations": [
  634. {
  635. "physicalLocation": {
  636. "artifactLocation": {
  637. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  638. },
  639. "region": {
  640. "startLine": 922,
  641. "startColumn": 35,
  642. "endLine": 922,
  643. "endColumn": 42
  644. }
  645. },
  646. "logicalLocations": [
  647. {
  648. "decoratedName": "??$DoFormat@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@std@@@Z",
  649. "kind": "function"
  650. }
  651. ]
  652. }
  653. ]
  654. },
  655. {
  656. "ruleId": "C26451",
  657. "message": {
  658. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  659. },
  660. "locations": [
  661. {
  662. "physicalLocation": {
  663. "artifactLocation": {
  664. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  665. },
  666. "region": {
  667. "startLine": 922,
  668. "startColumn": 35,
  669. "endLine": 922,
  670. "endColumn": 42
  671. }
  672. },
  673. "logicalLocations": [
  674. {
  675. "decoratedName": "??$DoFormat@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBQEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBQEBD@std@@@Z",
  676. "kind": "function"
  677. }
  678. ]
  679. }
  680. ]
  681. },
  682. {
  683. "ruleId": "C26451",
  684. "message": {
  685. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  686. },
  687. "locations": [
  688. {
  689. "physicalLocation": {
  690. "artifactLocation": {
  691. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  692. },
  693. "region": {
  694. "startLine": 922,
  695. "startColumn": 35,
  696. "endLine": 922,
  697. "endColumn": 42
  698. }
  699. },
  700. "logicalLocations": [
  701. {
  702. "decoratedName": "??$DoFormat@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  703. "kind": "function"
  704. }
  705. ]
  706. }
  707. ]
  708. },
  709. {
  710. "ruleId": "C26451",
  711. "message": {
  712. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  713. },
  714. "locations": [
  715. {
  716. "physicalLocation": {
  717. "artifactLocation": {
  718. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  719. },
  720. "region": {
  721. "startLine": 922,
  722. "startColumn": 35,
  723. "endLine": 922,
  724. "endColumn": 42
  725. }
  726. },
  727. "logicalLocations": [
  728. {
  729. "decoratedName": "??$DoFormat@AEAY0FD@$$CBDHHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0FD@$$CBDHHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  730. "kind": "function"
  731. }
  732. ]
  733. }
  734. ]
  735. },
  736. {
  737. "ruleId": "C26451",
  738. "message": {
  739. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  740. },
  741. "locations": [
  742. {
  743. "physicalLocation": {
  744. "artifactLocation": {
  745. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  746. },
  747. "region": {
  748. "startLine": 922,
  749. "startColumn": 35,
  750. "endLine": 922,
  751. "endColumn": 42
  752. }
  753. },
  754. "logicalLocations": [
  755. {
  756. "decoratedName": "??$DoFormat@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0FD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@std@@@Z",
  757. "kind": "function"
  758. }
  759. ]
  760. }
  761. ]
  762. },
  763. {
  764. "ruleId": "C26451",
  765. "message": {
  766. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  767. },
  768. "locations": [
  769. {
  770. "physicalLocation": {
  771. "artifactLocation": {
  772. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  773. },
  774. "region": {
  775. "startLine": 922,
  776. "startColumn": 35,
  777. "endLine": 922,
  778. "endColumn": 42
  779. }
  780. },
  781. "logicalLocations": [
  782. {
  783. "decoratedName": "??$DoFormat@AEAY0BJ@$$CBDH@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BJ@$$CBDH@std@@@Z",
  784. "kind": "function"
  785. }
  786. ]
  787. }
  788. ]
  789. },
  790. {
  791. "ruleId": "C26451",
  792. "message": {
  793. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  794. },
  795. "locations": [
  796. {
  797. "physicalLocation": {
  798. "artifactLocation": {
  799. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  800. },
  801. "region": {
  802. "startLine": 922,
  803. "startColumn": 35,
  804. "endLine": 922,
  805. "endColumn": 42
  806. }
  807. },
  808. "logicalLocations": [
  809. {
  810. "decoratedName": "??$DoFormat@AEAY0BC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  811. "kind": "function"
  812. }
  813. ]
  814. }
  815. ]
  816. },
  817. {
  818. "ruleId": "C26451",
  819. "message": {
  820. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  821. },
  822. "locations": [
  823. {
  824. "physicalLocation": {
  825. "artifactLocation": {
  826. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  827. },
  828. "region": {
  829. "startLine": 922,
  830. "startColumn": 35,
  831. "endLine": 922,
  832. "endColumn": 42
  833. }
  834. },
  835. "logicalLocations": [
  836. {
  837. "decoratedName": "??$DoFormat@AEAY0BC@$$CBDHAEAHAEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BC@$$CBDHAEAHAEAPEBD@std@@@Z",
  838. "kind": "function"
  839. }
  840. ]
  841. }
  842. ]
  843. },
  844. {
  845. "ruleId": "C26451",
  846. "message": {
  847. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  848. },
  849. "locations": [
  850. {
  851. "physicalLocation": {
  852. "artifactLocation": {
  853. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  854. },
  855. "region": {
  856. "startLine": 922,
  857. "startColumn": 35,
  858. "endLine": 922,
  859. "endColumn": 42
  860. }
  861. },
  862. "logicalLocations": [
  863. {
  864. "decoratedName": "??$DoFormat@AEAY0BC@$$CBDHAEAKAEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BC@$$CBDHAEAKAEAPEBD@std@@@Z",
  865. "kind": "function"
  866. }
  867. ]
  868. }
  869. ]
  870. },
  871. {
  872. "ruleId": "C26451",
  873. "message": {
  874. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  875. },
  876. "locations": [
  877. {
  878. "physicalLocation": {
  879. "artifactLocation": {
  880. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  881. },
  882. "region": {
  883. "startLine": 922,
  884. "startColumn": 35,
  885. "endLine": 922,
  886. "endColumn": 42
  887. }
  888. },
  889. "logicalLocations": [
  890. {
  891. "decoratedName": "??$DoFormat@AEAY0BD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BD@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@std@@@Z",
  892. "kind": "function"
  893. }
  894. ]
  895. }
  896. ]
  897. },
  898. {
  899. "ruleId": "C26451",
  900. "message": {
  901. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  902. },
  903. "locations": [
  904. {
  905. "physicalLocation": {
  906. "artifactLocation": {
  907. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  908. },
  909. "region": {
  910. "startLine": 922,
  911. "startColumn": 35,
  912. "endLine": 922,
  913. "endColumn": 42
  914. }
  915. },
  916. "logicalLocations": [
  917. {
  918. "decoratedName": "??$DoFormat@AEAY0BD@$$CBDH@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BD@$$CBDH@std@@@Z",
  919. "kind": "function"
  920. }
  921. ]
  922. }
  923. ]
  924. },
  925. {
  926. "ruleId": "C26451",
  927. "message": {
  928. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  929. },
  930. "locations": [
  931. {
  932. "physicalLocation": {
  933. "artifactLocation": {
  934. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  935. },
  936. "region": {
  937. "startLine": 922,
  938. "startColumn": 35,
  939. "endLine": 922,
  940. "endColumn": 42
  941. }
  942. },
  943. "logicalLocations": [
  944. {
  945. "decoratedName": "??$DoFormat@AEAY0CC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0CC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  946. "kind": "function"
  947. }
  948. ]
  949. }
  950. ]
  951. },
  952. {
  953. "ruleId": "C26451",
  954. "message": {
  955. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  956. },
  957. "locations": [
  958. {
  959. "physicalLocation": {
  960. "artifactLocation": {
  961. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  962. },
  963. "region": {
  964. "startLine": 922,
  965. "startColumn": 35,
  966. "endLine": 922,
  967. "endColumn": 42
  968. }
  969. },
  970. "logicalLocations": [
  971. {
  972. "decoratedName": "??$DoFormat@AEAY0CC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0CC@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@std@@@Z",
  973. "kind": "function"
  974. }
  975. ]
  976. }
  977. ]
  978. },
  979. {
  980. "ruleId": "C26451",
  981. "message": {
  982. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  983. },
  984. "locations": [
  985. {
  986. "physicalLocation": {
  987. "artifactLocation": {
  988. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  989. },
  990. "region": {
  991. "startLine": 922,
  992. "startColumn": 35,
  993. "endLine": 922,
  994. "endColumn": 42
  995. }
  996. },
  997. "logicalLocations": [
  998. {
  999. "decoratedName": "??$DoFormat@AEAY0BH@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BH@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDPEBD@std@@@Z",
  1000. "kind": "function"
  1001. }
  1002. ]
  1003. }
  1004. ]
  1005. },
  1006. {
  1007. "ruleId": "C26451",
  1008. "message": {
  1009. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1010. },
  1011. "locations": [
  1012. {
  1013. "physicalLocation": {
  1014. "artifactLocation": {
  1015. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1016. },
  1017. "region": {
  1018. "startLine": 922,
  1019. "startColumn": 35,
  1020. "endLine": 922,
  1021. "endColumn": 42
  1022. }
  1023. },
  1024. "logicalLocations": [
  1025. {
  1026. "decoratedName": "??$DoFormat@AEAY0BP@$$CBDHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BP@$$CBDHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@@Z",
  1027. "kind": "function"
  1028. }
  1029. ]
  1030. }
  1031. ]
  1032. },
  1033. {
  1034. "ruleId": "C26451",
  1035. "message": {
  1036. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1037. },
  1038. "locations": [
  1039. {
  1040. "physicalLocation": {
  1041. "artifactLocation": {
  1042. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1043. },
  1044. "region": {
  1045. "startLine": 922,
  1046. "startColumn": 35,
  1047. "endLine": 922,
  1048. "endColumn": 42
  1049. }
  1050. },
  1051. "logicalLocations": [
  1052. {
  1053. "decoratedName": "??$DoFormat@AEAY0BP@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BP@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@std@@@Z",
  1054. "kind": "function"
  1055. }
  1056. ]
  1057. }
  1058. ]
  1059. },
  1060. {
  1061. "ruleId": "C26451",
  1062. "message": {
  1063. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1064. },
  1065. "locations": [
  1066. {
  1067. "physicalLocation": {
  1068. "artifactLocation": {
  1069. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1070. },
  1071. "region": {
  1072. "startLine": 922,
  1073. "startColumn": 35,
  1074. "endLine": 922,
  1075. "endColumn": 42
  1076. }
  1077. },
  1078. "logicalLocations": [
  1079. {
  1080. "decoratedName": "??$DoFormat@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@std@@@Z",
  1081. "kind": "function"
  1082. }
  1083. ]
  1084. }
  1085. ]
  1086. },
  1087. {
  1088. "ruleId": "C26451",
  1089. "message": {
  1090. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1091. },
  1092. "locations": [
  1093. {
  1094. "physicalLocation": {
  1095. "artifactLocation": {
  1096. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1097. },
  1098. "region": {
  1099. "startLine": 922,
  1100. "startColumn": 35,
  1101. "endLine": 922,
  1102. "endColumn": 42
  1103. }
  1104. },
  1105. "logicalLocations": [
  1106. {
  1107. "decoratedName": "??$DoFormat@AEAY0BK@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BK@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDPEBD@std@@@Z",
  1108. "kind": "function"
  1109. }
  1110. ]
  1111. }
  1112. ]
  1113. },
  1114. {
  1115. "ruleId": "C26451",
  1116. "message": {
  1117. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1118. },
  1119. "locations": [
  1120. {
  1121. "physicalLocation": {
  1122. "artifactLocation": {
  1123. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1124. },
  1125. "region": {
  1126. "startLine": 922,
  1127. "startColumn": 35,
  1128. "endLine": 922,
  1129. "endColumn": 42
  1130. }
  1131. },
  1132. "logicalLocations": [
  1133. {
  1134. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAPEBD@std@@@Z",
  1135. "kind": "function"
  1136. }
  1137. ]
  1138. }
  1139. ]
  1140. },
  1141. {
  1142. "ruleId": "C26451",
  1143. "message": {
  1144. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1145. },
  1146. "locations": [
  1147. {
  1148. "physicalLocation": {
  1149. "artifactLocation": {
  1150. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1151. },
  1152. "region": {
  1153. "startLine": 922,
  1154. "startColumn": 35,
  1155. "endLine": 922,
  1156. "endColumn": 42
  1157. }
  1158. },
  1159. "logicalLocations": [
  1160. {
  1161. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@std@@@Z",
  1162. "kind": "function"
  1163. }
  1164. ]
  1165. }
  1166. ]
  1167. },
  1168. {
  1169. "ruleId": "C26451",
  1170. "message": {
  1171. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1172. },
  1173. "locations": [
  1174. {
  1175. "physicalLocation": {
  1176. "artifactLocation": {
  1177. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1178. },
  1179. "region": {
  1180. "startLine": 922,
  1181. "startColumn": 35,
  1182. "endLine": 922,
  1183. "endColumn": 42
  1184. }
  1185. },
  1186. "logicalLocations": [
  1187. {
  1188. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBDAEAPEBD@std@@@Z",
  1189. "kind": "function"
  1190. }
  1191. ]
  1192. }
  1193. ]
  1194. },
  1195. {
  1196. "ruleId": "C26451",
  1197. "message": {
  1198. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1199. },
  1200. "locations": [
  1201. {
  1202. "physicalLocation": {
  1203. "artifactLocation": {
  1204. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1205. },
  1206. "region": {
  1207. "startLine": 922,
  1208. "startColumn": 35,
  1209. "endLine": 922,
  1210. "endColumn": 42
  1211. }
  1212. },
  1213. "logicalLocations": [
  1214. {
  1215. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAKPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAKPEBD@std@@@Z",
  1216. "kind": "function"
  1217. }
  1218. ]
  1219. }
  1220. ]
  1221. },
  1222. {
  1223. "ruleId": "C26451",
  1224. "message": {
  1225. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1226. },
  1227. "locations": [
  1228. {
  1229. "physicalLocation": {
  1230. "artifactLocation": {
  1231. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1232. },
  1233. "region": {
  1234. "startLine": 922,
  1235. "startColumn": 35,
  1236. "endLine": 922,
  1237. "endColumn": 42
  1238. }
  1239. },
  1240. "logicalLocations": [
  1241. {
  1242. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@std@@@Z",
  1243. "kind": "function"
  1244. }
  1245. ]
  1246. }
  1247. ]
  1248. },
  1249. {
  1250. "ruleId": "C26451",
  1251. "message": {
  1252. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1253. },
  1254. "locations": [
  1255. {
  1256. "physicalLocation": {
  1257. "artifactLocation": {
  1258. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1259. },
  1260. "region": {
  1261. "startLine": 922,
  1262. "startColumn": 35,
  1263. "endLine": 922,
  1264. "endColumn": 42
  1265. }
  1266. },
  1267. "logicalLocations": [
  1268. {
  1269. "decoratedName": "??$DoFormat@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@PEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BI@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@PEBD@std@@@Z",
  1270. "kind": "function"
  1271. }
  1272. ]
  1273. }
  1274. ]
  1275. },
  1276. {
  1277. "ruleId": "C26451",
  1278. "message": {
  1279. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1280. },
  1281. "locations": [
  1282. {
  1283. "physicalLocation": {
  1284. "artifactLocation": {
  1285. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1286. },
  1287. "region": {
  1288. "startLine": 922,
  1289. "startColumn": 35,
  1290. "endLine": 922,
  1291. "endColumn": 42
  1292. }
  1293. },
  1294. "logicalLocations": [
  1295. {
  1296. "decoratedName": "??$DoFormat@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAPEBD@std@@@Z",
  1297. "kind": "function"
  1298. }
  1299. ]
  1300. }
  1301. ]
  1302. },
  1303. {
  1304. "ruleId": "C26451",
  1305. "message": {
  1306. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1307. },
  1308. "locations": [
  1309. {
  1310. "physicalLocation": {
  1311. "artifactLocation": {
  1312. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1313. },
  1314. "region": {
  1315. "startLine": 922,
  1316. "startColumn": 35,
  1317. "endLine": 922,
  1318. "endColumn": 42
  1319. }
  1320. },
  1321. "logicalLocations": [
  1322. {
  1323. "decoratedName": "??$DoFormat@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@std@@@Z",
  1324. "kind": "function"
  1325. }
  1326. ]
  1327. }
  1328. ]
  1329. },
  1330. {
  1331. "ruleId": "C26451",
  1332. "message": {
  1333. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1334. },
  1335. "locations": [
  1336. {
  1337. "physicalLocation": {
  1338. "artifactLocation": {
  1339. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1340. },
  1341. "region": {
  1342. "startLine": 922,
  1343. "startColumn": 35,
  1344. "endLine": 922,
  1345. "endColumn": 42
  1346. }
  1347. },
  1348. "logicalLocations": [
  1349. {
  1350. "decoratedName": "??$DoFormat@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BE@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@Z",
  1351. "kind": "function"
  1352. }
  1353. ]
  1354. }
  1355. ]
  1356. },
  1357. {
  1358. "ruleId": "C26451",
  1359. "message": {
  1360. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1361. },
  1362. "locations": [
  1363. {
  1364. "physicalLocation": {
  1365. "artifactLocation": {
  1366. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1367. },
  1368. "region": {
  1369. "startLine": 922,
  1370. "startColumn": 35,
  1371. "endLine": 922,
  1372. "endColumn": 42
  1373. }
  1374. },
  1375. "logicalLocations": [
  1376. {
  1377. "decoratedName": "??$DoFormat@AEAY0BE@$$CBDHHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BE@$$CBDHHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBDAEAPEBDPEBD@std@@@Z",
  1378. "kind": "function"
  1379. }
  1380. ]
  1381. }
  1382. ]
  1383. },
  1384. {
  1385. "ruleId": "C26451",
  1386. "message": {
  1387. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1388. },
  1389. "locations": [
  1390. {
  1391. "physicalLocation": {
  1392. "artifactLocation": {
  1393. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1394. },
  1395. "region": {
  1396. "startLine": 922,
  1397. "startColumn": 35,
  1398. "endLine": 922,
  1399. "endColumn": 42
  1400. }
  1401. },
  1402. "logicalLocations": [
  1403. {
  1404. "decoratedName": "??$DoFormat@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KK@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KK@std@@@Z",
  1405. "kind": "function"
  1406. }
  1407. ]
  1408. }
  1409. ]
  1410. },
  1411. {
  1412. "ruleId": "C26451",
  1413. "message": {
  1414. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1415. },
  1416. "locations": [
  1417. {
  1418. "physicalLocation": {
  1419. "artifactLocation": {
  1420. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1421. },
  1422. "region": {
  1423. "startLine": 922,
  1424. "startColumn": 35,
  1425. "endLine": 922,
  1426. "endColumn": 42
  1427. }
  1428. },
  1429. "logicalLocations": [
  1430. {
  1431. "decoratedName": "??$DoFormat@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BL@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@std@@@Z",
  1432. "kind": "function"
  1433. }
  1434. ]
  1435. }
  1436. ]
  1437. },
  1438. {
  1439. "ruleId": "C26451",
  1440. "message": {
  1441. "text": "算术溢出: 使用 4 字节值上的运算符 + ,然后将结果转换到 8 字节值。在调用运算符 + 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1442. },
  1443. "locations": [
  1444. {
  1445. "physicalLocation": {
  1446. "artifactLocation": {
  1447. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1448. },
  1449. "region": {
  1450. "startLine": 922,
  1451. "startColumn": 35,
  1452. "endLine": 922,
  1453. "endColumn": 42
  1454. }
  1455. },
  1456. "logicalLocations": [
  1457. {
  1458. "decoratedName": "??$DoFormat@AEAY0BF@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHAEAV12@@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAHHPEBD$$QEAV?$tuple@AEAY0BF@$$CBDHAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHAEAV12@@std@@@Z",
  1459. "kind": "function"
  1460. }
  1461. ]
  1462. }
  1463. ]
  1464. },
  1465. {
  1466. "ruleId": "C26451",
  1467. "message": {
  1468. "text": "算术溢出: 使用 4 字节值上的运算符 - ,然后将结果转换到 8 字节值。在调用运算符 - 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1469. },
  1470. "locations": [
  1471. {
  1472. "physicalLocation": {
  1473. "artifactLocation": {
  1474. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1475. },
  1476. "region": {
  1477. "startLine": 406,
  1478. "startColumn": 29,
  1479. "endLine": 406,
  1480. "endColumn": 33
  1481. }
  1482. },
  1483. "logicalLocations": [
  1484. {
  1485. "decoratedName": "?_StringFormatArg@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAXPEBDH0@Z",
  1486. "kind": "function"
  1487. }
  1488. ]
  1489. }
  1490. ]
  1491. },
  1492. {
  1493. "ruleId": "C26451",
  1494. "message": {
  1495. "text": "算术溢出: 使用 4 字节值上的运算符 - ,然后将结果转换到 8 字节值。在调用运算符 - 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1496. },
  1497. "locations": [
  1498. {
  1499. "physicalLocation": {
  1500. "artifactLocation": {
  1501. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1502. },
  1503. "region": {
  1504. "startLine": 407,
  1505. "startColumn": 18,
  1506. "endLine": 407,
  1507. "endColumn": 22
  1508. }
  1509. },
  1510. "logicalLocations": [
  1511. {
  1512. "decoratedName": "?_StringFormatArg@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAXPEBDH0@Z",
  1513. "kind": "function"
  1514. }
  1515. ]
  1516. }
  1517. ]
  1518. },
  1519. {
  1520. "ruleId": "C26451",
  1521. "message": {
  1522. "text": "算术溢出: 使用 4 字节值上的运算符 - ,然后将结果转换到 8 字节值。在调用运算符 - 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1523. },
  1524. "locations": [
  1525. {
  1526. "physicalLocation": {
  1527. "artifactLocation": {
  1528. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1529. },
  1530. "region": {
  1531. "startLine": 422,
  1532. "startColumn": 29,
  1533. "endLine": 422,
  1534. "endColumn": 33
  1535. }
  1536. },
  1537. "logicalLocations": [
  1538. {
  1539. "decoratedName": "?_StringFormatArg@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAXPEBDH0@Z",
  1540. "kind": "function"
  1541. }
  1542. ]
  1543. }
  1544. ]
  1545. },
  1546. {
  1547. "ruleId": "C26451",
  1548. "message": {
  1549. "text": "算术溢出: 使用 4 字节值上的运算符 - ,然后将结果转换到 8 字节值。在调用运算符 - 之前将值强制转换为宽类型可避免溢出(io.2)。"
  1550. },
  1551. "locations": [
  1552. {
  1553. "physicalLocation": {
  1554. "artifactLocation": {
  1555. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1556. },
  1557. "region": {
  1558. "startLine": 423,
  1559. "startColumn": 18,
  1560. "endLine": 423,
  1561. "endColumn": 22
  1562. }
  1563. },
  1564. "logicalLocations": [
  1565. {
  1566. "decoratedName": "?_StringFormatArg@?$_string_format_detail@VStringFormat@String@Utility@ECOM@@@String@Utility@ECOM@@IEAAXPEBDH0@Z",
  1567. "kind": "function"
  1568. }
  1569. ]
  1570. }
  1571. ]
  1572. }
  1573. ],
  1574. "tool": {
  1575. "driver": {
  1576. "name": "PREfast",
  1577. "fullName": "PREfast Code Analysis",
  1578. "version": "14.29.30133.0",
  1579. "informationUri": "https://aka.ms/cpp/ca"
  1580. }
  1581. },
  1582. "invocations": [
  1583. {
  1584. "commandLine": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\c1xx.dll\" -ACf{1F7B090C-16DB-4822-966A-A93D26ED4681} -ACpmspft140.dll -Alint -D_PREFAST_ -D_AST_FE_ -Analyze -zm0x0064C1B0 -allChunksReserved -il C:\\Users\\ecom\\AppData\\Local\\Temp\\_CL_f3d6d320ast -typedil -f LogicClient.cpp -Ze -D_MSC_EXTENSIONS -Zp16 -pc \\:/ -D_MSC_VER=1929 -D_MSC_FULL_VER=192930133 -D_MSC_BUILD=0 -D_M_AMD64=100 -ZILP448 -D_M_X64=100 -D_WIN64 -D_WIN32 -GR -D_CPPRTTI -I G:\\vcpkg\\installed\\x64-windows\\include -nologo -W 3 -diagnostics:column -D_GUARDOVERFLOW_CRT_ALLOCATORS=1 -GF -Og -Ot -Oy -Oi -ltcg -DCODE_ANALYSIS -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DLOGICCLIENT_EXPORTS -D_WINDLL -D_MBCS -EHs -D_CPPUNWIND -EHc -MD -D_MT -D_DLL -GS -D_M_FP_PRECISE -Zc:wchar_t -Zc:forScope -std:c++17 -Yustdafx.h -Fpx64\\Release\\LogicClientX64.pch -Fox64\\Release\\LogicClient.obj -Fdx64\\Release\\vc142.pdb -external:W 3 -Gd -analyze:projectdirectory E:\\DeviceV3.0\\DriverPlatform-V3.1\\LogicClient -analyze:rulesetdirectory ;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Team Tools\\Static Analysis Tools\\\\Rule Sets; -analyze:ruleset C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Team Tools\\Static Analysis Tools\\Rule Sets\\NativeRecommendedRules.ruleset -analyze:quiet -analyze:plugin C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x86\\EspXEngine.dll -FC -errorreport:prompt -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\include -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\UnitTest\\include -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um -I E:\\DeviceV3.0\\deliver\\include -I E:\\DeviceV3.0\\Deliver\\Include\\Log4CPP\\Log.Include -I E:\\DeviceV3.0\\Deliver\\Include\\Log4CPP\\Common.Include -I G:\\vcpkg\\installed\\x64-windows\\include -external:I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\include -external:I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -external:I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\include -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -external:I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\UnitTest\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\VS\\UnitTest\\include -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -external:I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um -external:I G:\\vcpkg\\installed\\x64-windows\\include -I G:\\vcpkg\\installed\\x64-windows\\include",
  1585. "executionSuccessful": true
  1586. }
  1587. ],
  1588. "artifacts": [
  1589. {
  1590. "location": {
  1591. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.h"
  1592. },
  1593. "roles": [
  1594. "resultFile"
  1595. ],
  1596. "hashes": {
  1597. "md5": "e98812889a6f98dd39fe2c595863a87f"
  1598. }
  1599. },
  1600. {
  1601. "location": {
  1602. "uri": "file:///E:/DeviceV3.0/DriverPlatform-V3.1/LogicClient/LogicClient.cpp"
  1603. },
  1604. "roles": [
  1605. "analysisTarget",
  1606. "resultFile"
  1607. ],
  1608. "hashes": {
  1609. "md5": "e9161ffb9407810e91be30cfa0bc566b"
  1610. }
  1611. },
  1612. {
  1613. "location": {
  1614. "uri": "file:///E:/DeviceV3.0/Deliver/Include/Log4CPP/Log.Include/Log4CPP.Logger.hpp"
  1615. },
  1616. "roles": [
  1617. "resultFile"
  1618. ],
  1619. "hashes": {
  1620. "md5": "ecf5cacfb6c5bca6a993b30ab6a3845f"
  1621. }
  1622. },
  1623. {
  1624. "location": {
  1625. "uri": "file:///E:/DeviceV3.0/deliver/include/String.Format.tlh"
  1626. },
  1627. "roles": [
  1628. "resultFile"
  1629. ],
  1630. "hashes": {
  1631. "md5": "788f376d8db4359f30a4860fbe94371c"
  1632. }
  1633. },
  1634. {
  1635. "location": {
  1636. "uri": "file:///e:/devicev3.0/driverplatform-v3.1/logicclient/stdafx.h"
  1637. },
  1638. "hashes": {
  1639. "md5": "b2a474c77ee3ac0db952e25f3732d9be"
  1640. }
  1641. },
  1642. {
  1643. "location": {
  1644. "uri": "file:///e:/devicev3.0/driverplatform-v3.1/logicclient/targetver.h"
  1645. },
  1646. "hashes": {
  1647. "md5": "20a1397a4f718d91f76e2681bef085b6"
  1648. }
  1649. },
  1650. {
  1651. "location": {
  1652. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/common.include/string.dstring.hpp"
  1653. },
  1654. "hashes": {
  1655. "md5": "a58c7d3df47e611333583d204ac658f4"
  1656. }
  1657. },
  1658. {
  1659. "location": {
  1660. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/common.include/string.stringview.hpp"
  1661. },
  1662. "hashes": {
  1663. "md5": "8191cea6ae21c58876e8f9d4a26dcf3c"
  1664. }
  1665. },
  1666. {
  1667. "location": {
  1668. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/common.include/hash.string.hpp"
  1669. },
  1670. "hashes": {
  1671. "md5": "aa05bb232cff7434774b5aa79751ab21"
  1672. }
  1673. },
  1674. {
  1675. "location": {
  1676. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.define.hpp"
  1677. },
  1678. "hashes": {
  1679. "md5": "abfebd9c71923646793529bebf67528d"
  1680. }
  1681. },
  1682. {
  1683. "location": {
  1684. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.loglevel.hpp"
  1685. },
  1686. "hashes": {
  1687. "md5": "a29e46042c79f6c8f02a77915383856a"
  1688. }
  1689. },
  1690. {
  1691. "location": {
  1692. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.appender.hpp"
  1693. },
  1694. "hashes": {
  1695. "md5": "43a813214796c95e53047521e8d11c1f"
  1696. }
  1697. },
  1698. {
  1699. "location": {
  1700. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.loggingevent.hpp"
  1701. },
  1702. "hashes": {
  1703. "md5": "18fb4f49022c015a81dab867fdd98c5a"
  1704. }
  1705. },
  1706. {
  1707. "location": {
  1708. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.tlslog.hpp"
  1709. },
  1710. "hashes": {
  1711. "md5": "1ec933bfa8ba634949ddc032fa97972c"
  1712. }
  1713. },
  1714. {
  1715. "location": {
  1716. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/log4cpp.tlslog.tracing.hpp"
  1717. },
  1718. "hashes": {
  1719. "md5": "60c309dac27200e2516c3099361e20bb"
  1720. }
  1721. },
  1722. {
  1723. "location": {
  1724. "uri": "file:///e:/devicev3.0/deliver/include/log4cpp/log.include/mlog.log4cpp.hpp"
  1725. },
  1726. "hashes": {
  1727. "md5": "f253c99a9da9f0e0647ee3e70987b3c1"
  1728. }
  1729. },
  1730. {
  1731. "location": {
  1732. "uri": "file:///e:/devicev3.0/deliver/include/localconfig.h"
  1733. },
  1734. "hashes": {
  1735. "md5": "c8a4c4350dde86a99fa272e9e9578995"
  1736. }
  1737. },
  1738. {
  1739. "location": {
  1740. "uri": "file:///e:/devicev3.0/deliver/include/definitions.h"
  1741. },
  1742. "hashes": {
  1743. "md5": "1b36a119d096288c057adf16222c01a8"
  1744. }
  1745. },
  1746. {
  1747. "location": {
  1748. "uri": "file:///e:/devicev3.0/deliver/include/resdataobject.h"
  1749. },
  1750. "hashes": {
  1751. "md5": "5952703846c703003535fa667ae9a289"
  1752. }
  1753. },
  1754. {
  1755. "location": {
  1756. "uri": "file:///e:/devicev3.0/deliver/include/msgqueue.h"
  1757. },
  1758. "hashes": {
  1759. "md5": "73927cf318a5240ea737c7748703f3fc"
  1760. }
  1761. },
  1762. {
  1763. "location": {
  1764. "uri": "file:///e:/devicev3.0/deliver/include/scopelock.h"
  1765. },
  1766. "hashes": {
  1767. "md5": "fe1c154331759bc62a8157897df388f0"
  1768. }
  1769. },
  1770. {
  1771. "location": {
  1772. "uri": "file:///e:/devicev3.0/deliver/include/diosfilehandle.h"
  1773. },
  1774. "hashes": {
  1775. "md5": "84c6a7455068dd69e1ec839c294b7761"
  1776. }
  1777. },
  1778. {
  1779. "location": {
  1780. "uri": "file:///e:/devicev3.0/deliver/include/logicdevice.h"
  1781. },
  1782. "hashes": {
  1783. "md5": "8f36b6e7ec2db97cac2b562a94939c1c"
  1784. }
  1785. },
  1786. {
  1787. "location": {
  1788. "uri": "file:///e:/devicev3.0/deliver/include/dpc.h"
  1789. },
  1790. "hashes": {
  1791. "md5": "8ae61aba6b81f2201447216e9314b335"
  1792. }
  1793. },
  1794. {
  1795. "location": {
  1796. "uri": "file:///e:/devicev3.0/deliver/include/dioslock.h"
  1797. },
  1798. "hashes": {
  1799. "md5": "6ef694600e306d1039fe501b0e4db656"
  1800. }
  1801. },
  1802. {
  1803. "location": {
  1804. "uri": "file:///e:/devicev3.0/deliver/include/diosthread.h"
  1805. },
  1806. "hashes": {
  1807. "md5": "bcf85fc2a8499ba80fd45eee229dd64c"
  1808. }
  1809. },
  1810. {
  1811. "location": {
  1812. "uri": "file:///e:/devicev3.0/deliver/include/common_api.h"
  1813. },
  1814. "hashes": {
  1815. "md5": "88b1032a5ae2600400bf90500d1e476e"
  1816. }
  1817. },
  1818. {
  1819. "location": {
  1820. "uri": "file:///e:/devicev3.0/deliver/include/packetanalizer.h"
  1821. },
  1822. "hashes": {
  1823. "md5": "870d4c0a9d1b3e9f3abc69d28ab21c5e"
  1824. }
  1825. }
  1826. ]
  1827. }
  1828. ]
  1829. }