code1.nativecodeanalysis.sarif 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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": "C6255",
  9. "message": {
  10. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  11. },
  12. "locations": [
  13. {
  14. "physicalLocation": {
  15. "artifactLocation": {
  16. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code1.c"
  17. },
  18. "region": {
  19. "startLine": 502,
  20. "startColumn": 48,
  21. "endLine": 502,
  22. "endColumn": 48
  23. }
  24. },
  25. "logicalLocations": [
  26. {
  27. "decoratedName": "c1_encode",
  28. "kind": "function"
  29. }
  30. ]
  31. }
  32. ]
  33. },
  34. {
  35. "ruleId": "C6255",
  36. "message": {
  37. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  38. },
  39. "locations": [
  40. {
  41. "physicalLocation": {
  42. "artifactLocation": {
  43. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code1.c"
  44. },
  45. "region": {
  46. "startLine": 503,
  47. "startColumn": 31,
  48. "endLine": 503,
  49. "endColumn": 31
  50. }
  51. },
  52. "logicalLocations": [
  53. {
  54. "decoratedName": "c1_encode",
  55. "kind": "function"
  56. }
  57. ]
  58. }
  59. ]
  60. },
  61. {
  62. "ruleId": "C6262",
  63. "message": {
  64. "text": "Die Funktion verwendet \"34588\" Bytes vom Stapel und überschreitet /analyze:stacksize \"16384\". Verschieben Sie einige Daten auf den Heap."
  65. },
  66. "locations": [
  67. {
  68. "physicalLocation": {
  69. "artifactLocation": {
  70. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code1.c"
  71. },
  72. "region": {
  73. "startLine": 1022,
  74. "startColumn": 14,
  75. "endLine": 1022,
  76. "endColumn": 14
  77. }
  78. },
  79. "logicalLocations": [
  80. {
  81. "decoratedName": "codeone",
  82. "kind": "function"
  83. }
  84. ]
  85. }
  86. ]
  87. }
  88. ],
  89. "tool": {
  90. "driver": {
  91. "name": "PREfast",
  92. "fullName": "PREfast Code Analysis",
  93. "version": "14.29.30159.0",
  94. "informationUri": "https://aka.ms/cpp/ca"
  95. }
  96. },
  97. "invocations": [
  98. {
  99. "commandLine": "D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\c1.dll -ACf{1F7B090C-16DB-4822-966A-A93D26ED4681} -ACpmspft140.dll -Alint -D_PREFAST_ -D_AST_FE_ -Analyze -zm0x00007FF62CE9FC60 -il C:\\Users\\wruser\\AppData\\Local\\Temp\\_CL_eeaa0775ast -typedil -f ..\\..\\thirdparty\\zint\\backend\\code1.c -Ze -D_MSC_EXTENSIONS -Zp16 -pc \\:/ -D_MSC_VER=1929 -D_MSC_FULL_VER=192930159 -D_MSC_BUILD=0 -D_M_AMD64=100 -ZILP448 -D_M_X64=100 -D_WIN64 -D_WIN32 -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\thirdparty\\zxing-cpp\\core\\src -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\scripts\\zxing-cpp\\ -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\thirdparty\\zint\\backend -nologo -W 3 -diagnostics:column -GF -Og -Ot -Oy -Oi -ltcg -DCODE_ANALYSIS -DZXING_HAS_CHAR8 -DZXING_USE_ZINT -DZXING_EXPERIMENTAL_API -DZINT_NO_PNG -D_CRT_SECURE_NO_WARNINGS -DWIN32 -DNDEBUG -D_LIB -D_MT -D_DLL -GS -D_M_FP_PRECISE -Fox64\\Release\\libzxing\\code1.obj -FdC:\\Users\\wruser\\source\\repos\\SharpMuPDF\\x64\\Release\\libzxing.pdb -external:W 3 -Gd -wd 4244 -wd 4267 -wd 4566 -wd 4018 -analyze:projectdirectory C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\platform\\win32 -analyze:rulesetdirectory ;D:\\Programme\\VS2022\\Team Tools\\Static Analysis Tools\\\\Rule Sets; -analyze:ruleset D:\\Programme\\VS2022\\Team Tools\\Static Analysis Tools\\Rule Sets\\NativeRecommendedRules.ruleset -analyze:quiet -analyze:plugin D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\EspXEngine.dll -FC -errorreport:prompt -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I D:\\Programme\\VS2022\\VC\\Auxiliary\\VS\\include -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\\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 -external:I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -external:I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -external:I D:\\Programme\\VS2022\\VC\\Auxiliary\\VS\\include -I D:\\Programme\\VS2022\\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)\\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",
  100. "executionSuccessful": true
  101. }
  102. ],
  103. "artifacts": [
  104. {
  105. "location": {
  106. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/emf.c"
  107. },
  108. "roles": [
  109. "analysisTarget",
  110. "resultFile"
  111. ],
  112. "hashes": {
  113. "md5": "6d535616aa38ecd3bd9157b4f1ba2f1e"
  114. }
  115. },
  116. {
  117. "location": {
  118. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/common.h"
  119. },
  120. "hashes": {
  121. "md5": "4204dbbc879b836e2d98ba7e947037ca"
  122. }
  123. },
  124. {
  125. "location": {
  126. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/zint.h"
  127. },
  128. "hashes": {
  129. "md5": "52ace3d3df4d440075f3460c1759b827"
  130. }
  131. },
  132. {
  133. "location": {
  134. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/zintconfig.h"
  135. },
  136. "hashes": {
  137. "md5": "c79a63ec9936f235fa16610640c6ddb4"
  138. }
  139. },
  140. {
  141. "location": {
  142. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/filemem.h"
  143. },
  144. "hashes": {
  145. "md5": "6af75d55db05fdefb3fdc0db6e6fb1a2"
  146. }
  147. },
  148. {
  149. "location": {
  150. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/output.h"
  151. },
  152. "hashes": {
  153. "md5": "15c62089655f396890f0d781baffdfef"
  154. }
  155. },
  156. {
  157. "location": {
  158. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/emf.h"
  159. },
  160. "hashes": {
  161. "md5": "998da547ba5b99b51f7a0b0f1f0a47c9"
  162. }
  163. },
  164. {
  165. "location": {
  166. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  167. },
  168. "roles": [
  169. "analysisTarget",
  170. "resultFile"
  171. ],
  172. "hashes": {
  173. "md5": "e9678c6c10d7b5d416c03c8858c45a9b"
  174. }
  175. },
  176. {
  177. "location": {
  178. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/eci.h"
  179. },
  180. "hashes": {
  181. "md5": "f2f0f7c011dc0a0d7c510f2fdbc70c6c"
  182. }
  183. },
  184. {
  185. "location": {
  186. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/eci_sb.h"
  187. },
  188. "hashes": {
  189. "md5": "26ea335e85f642fb5339f3fc239e686a"
  190. }
  191. },
  192. {
  193. "location": {
  194. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/big5.h"
  195. },
  196. "hashes": {
  197. "md5": "e0c8c14a7b09e5675d12982e3cb39a32"
  198. }
  199. },
  200. {
  201. "location": {
  202. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gb18030.h"
  203. },
  204. "hashes": {
  205. "md5": "39f30b9e58753bc6f287fcecb6cc0cfa"
  206. }
  207. },
  208. {
  209. "location": {
  210. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gb2312.h"
  211. },
  212. "hashes": {
  213. "md5": "6fce7e1ba34bc0c1375189bd99e55a72"
  214. }
  215. },
  216. {
  217. "location": {
  218. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gbk.h"
  219. },
  220. "hashes": {
  221. "md5": "3d5503c61be97727c804403048bd4233"
  222. }
  223. },
  224. {
  225. "location": {
  226. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/ksx1001.h"
  227. },
  228. "hashes": {
  229. "md5": "55d60b433b9a99e93afe5a233085f810"
  230. }
  231. },
  232. {
  233. "location": {
  234. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/sjis.h"
  235. },
  236. "hashes": {
  237. "md5": "72248d7bc4d344332d8cac0034d817ee"
  238. }
  239. },
  240. {
  241. "location": {
  242. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/dxfilmedge.c"
  243. },
  244. "roles": [
  245. "analysisTarget"
  246. ],
  247. "hashes": {
  248. "md5": "f87df1bd444800d9edec38462b4cad23"
  249. }
  250. },
  251. {
  252. "location": {
  253. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/dotcode.c"
  254. },
  255. "roles": [
  256. "analysisTarget",
  257. "resultFile"
  258. ],
  259. "hashes": {
  260. "md5": "e3f523ef7dad9213e8e718188c429f89"
  261. }
  262. },
  263. {
  264. "location": {
  265. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gs1.h"
  266. },
  267. "hashes": {
  268. "md5": "d43346840a9524bd9b70a3ab634e2a1c"
  269. }
  270. },
  271. {
  272. "location": {
  273. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/dmatrix.c"
  274. },
  275. "roles": [
  276. "analysisTarget",
  277. "resultFile"
  278. ],
  279. "hashes": {
  280. "md5": "a941e5f609274d08ab76dc67c39f935b"
  281. }
  282. },
  283. {
  284. "location": {
  285. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/reedsol.h"
  286. },
  287. "hashes": {
  288. "md5": "689adb6be13e830305cac3006456111e"
  289. }
  290. },
  291. {
  292. "location": {
  293. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/dmatrix.h"
  294. },
  295. "hashes": {
  296. "md5": "f85867e1c76fd4d6d302cbece71b590e"
  297. }
  298. },
  299. {
  300. "location": {
  301. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/dmatrix_trace.h"
  302. },
  303. "hashes": {
  304. "md5": "89ffd7e33d004369193a5e51ebb714c5"
  305. }
  306. },
  307. {
  308. "location": {
  309. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/dllversion.c"
  310. },
  311. "roles": [
  312. "analysisTarget"
  313. ],
  314. "hashes": {
  315. "md5": "06d0a86da29c0fe0e1a6995db79b956d"
  316. }
  317. },
  318. {
  319. "location": {
  320. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/composite.c"
  321. },
  322. "roles": [
  323. "analysisTarget",
  324. "resultFile"
  325. ],
  326. "hashes": {
  327. "md5": "68d22ba1cb0ccafcb1da0ba9fd50037f"
  328. }
  329. },
  330. {
  331. "location": {
  332. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/pdf417.h"
  333. },
  334. "hashes": {
  335. "md5": "b72ee8e321017130fed546f1b39c4486"
  336. }
  337. },
  338. {
  339. "location": {
  340. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/general_field.h"
  341. },
  342. "hashes": {
  343. "md5": "02523de2512651998303587be5f0a3e6"
  344. }
  345. },
  346. {
  347. "location": {
  348. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/composite.h"
  349. },
  350. "hashes": {
  351. "md5": "adfd98cf740d9430309d6a5ac6703d61"
  352. }
  353. },
  354. {
  355. "location": {
  356. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/common.c"
  357. },
  358. "roles": [
  359. "analysisTarget",
  360. "resultFile"
  361. ],
  362. "hashes": {
  363. "md5": "9b0c2ef9bd83407e387df4913d9cd035"
  364. }
  365. },
  366. {
  367. "location": {
  368. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code49.c"
  369. },
  370. "roles": [
  371. "analysisTarget",
  372. "resultFile"
  373. ],
  374. "hashes": {
  375. "md5": "debd938b5de2e6dd43f48192398beb06"
  376. }
  377. },
  378. {
  379. "location": {
  380. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/code49.h"
  381. },
  382. "hashes": {
  383. "md5": "f6a892542846c700476501a1a4b34c24"
  384. }
  385. },
  386. {
  387. "location": {
  388. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/code16k.c"
  389. },
  390. "roles": [
  391. "analysisTarget"
  392. ],
  393. "hashes": {
  394. "md5": "5d6c3fa6a17d3d7088772b2bb90f1dca"
  395. }
  396. },
  397. {
  398. "location": {
  399. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/code128.h"
  400. },
  401. "hashes": {
  402. "md5": "f161f78cfd77f4839fe93551d75409a3"
  403. }
  404. },
  405. {
  406. "location": {
  407. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code128.c"
  408. },
  409. "roles": [
  410. "analysisTarget",
  411. "resultFile"
  412. ],
  413. "hashes": {
  414. "md5": "df9f2cc234a772fb5f2e382ffd4959f0"
  415. }
  416. },
  417. {
  418. "location": {
  419. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/code1.c"
  420. },
  421. "roles": [
  422. "analysisTarget",
  423. "resultFile"
  424. ],
  425. "hashes": {
  426. "md5": "95ff3143619dfeebe6e75b8f401667ca"
  427. }
  428. },
  429. {
  430. "location": {
  431. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/code1.h"
  432. },
  433. "hashes": {
  434. "md5": "a39892a0526184a130976f6e57599eaa"
  435. }
  436. },
  437. {
  438. "location": {
  439. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/large.h"
  440. },
  441. "hashes": {
  442. "md5": "f9d0bdd54b17e310d4e65fe4e747016c"
  443. }
  444. }
  445. ]
  446. }
  447. ]
  448. }