169 lines
5.0 KiB
JSON
169 lines
5.0 KiB
JSON
{
|
|
"version": "2.1.0",
|
|
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
|
|
"runs": [
|
|
{
|
|
"results": [
|
|
{
|
|
"ruleId": "C6262",
|
|
"message": {
|
|
"text": "函数使用堆叠的 \"35036\" 字节。请考虑将一些数据移动到堆。"
|
|
},
|
|
"analysisTarget": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
|
|
},
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
|
|
},
|
|
"region": {
|
|
"startLine": 7817,
|
|
"startColumn": 14
|
|
}
|
|
},
|
|
"logicalLocations": [
|
|
{
|
|
"fullyQualifiedName": "stbi__load_gif_main",
|
|
"decoratedName": "stbi__load_gif_main",
|
|
"kind": "function"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ruleId": "C6262",
|
|
"message": {
|
|
"text": "函数使用堆叠的 \"34980\" 字节。请考虑将一些数据移动到堆。"
|
|
},
|
|
"analysisTarget": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
|
|
},
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
|
|
},
|
|
"region": {
|
|
"startLine": 7910,
|
|
"startColumn": 14
|
|
}
|
|
},
|
|
"logicalLocations": [
|
|
{
|
|
"fullyQualifiedName": "stbi__gif_load",
|
|
"decoratedName": "stbi__gif_load",
|
|
"kind": "function"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"tool": {
|
|
"driver": {
|
|
"name": "PREfast",
|
|
"fullName": "MSVC Code Analysis",
|
|
"version": "14.44.35220.0",
|
|
"informationUri": "https://aka.ms/cpp/ca"
|
|
}
|
|
},
|
|
"invocations": [
|
|
{
|
|
"executionSuccessful": true
|
|
}
|
|
],
|
|
"artifacts": [
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
|
|
},
|
|
"roles": [
|
|
"analysisTarget"
|
|
],
|
|
"hashes": {
|
|
"sha-256": "8f89dd595bb98c84b3146bb17fbb4fce491f43bb495c85bd86a4f6ea0df54224"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
|
|
},
|
|
"roles": [
|
|
"resultFile"
|
|
],
|
|
"hashes": {
|
|
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
|
|
}
|
|
},
|
|
{
|
|
"location": {
|
|
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
|
|
},
|
|
"hashes": {
|
|
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |