{ "version": "2.1.0", "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", "runs": [ { "results": [ { "ruleId": "C26495", "message": { "text": "未初始化变量 Json::StyledWriter::addChildValues_。始终初始化成员变量(type.6)。" }, "locations": [ { "physicalLocation": { "artifactLocation": { "uri": "file:///D:/Works/Corpsms_2010/public/jsoncpp/src/lib_json/json_writer.cpp" }, "region": { "startLine": 269, "startColumn": 15, "endLine": 269, "endColumn": 15 } }, "logicalLocations": [ { "fullyQualifiedName": "Json::StyledWriter::{ctor}", "decoratedName": "??0StyledWriter@Json@@QAE@XZ", "kind": "function" } ] } ], "properties": { "targetSymbol": "Json::StyledWriter::addChildValues_" } }, { "ruleId": "C26495", "message": { "text": "未初始化变量 Json::StyledStreamWriter::addChildValues_。始终初始化成员变量(type.6)。" }, "locations": [ { "physicalLocation": { "artifactLocation": { "uri": "file:///D:/Works/Corpsms_2010/public/jsoncpp/src/lib_json/json_writer.cpp" }, "region": { "startLine": 544, "startColumn": 21, "endLine": 544, "endColumn": 21 } }, "logicalLocations": [ { "fullyQualifiedName": "Json::StyledStreamWriter::{ctor}", "decoratedName": "??0StyledStreamWriter@Json@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z", "kind": "function" } ] } ], "properties": { "targetSymbol": "Json::StyledStreamWriter::addChildValues_" } } ], "tool": { "driver": { "name": "PREfast", "fullName": "PREfast Code Analysis", "version": "14.34.31933.0", "informationUri": "https://aka.ms/cpp/ca" } }, "invocations": [ { "executionSuccessful": true } ], "artifacts": [ { "location": { "uri": "file:///D:/Works/Corpsms_2010/public/jsoncpp/src/lib_json/json_writer.cpp" }, "roles": [ "analysisTarget", "resultFile" ], "hashes": { "sha-256": "e7ed1796a07b6589370aa933e7bbf9c14b30168d524d0ce34b109c80344d8bed" } }, { "location": { "uri": "file:///d:/works/corpsms_2010/public/jsoncpp/include/json/writer.h" }, "hashes": { "sha-256": "5dd8a88630d278e2818e8563925ee81f276b317755ea5d4915d2c1a8e44d459d" } }, { "location": { "uri": "file:///d:/works/corpsms_2010/public/jsoncpp/include/json/value.h" }, "hashes": { "sha-256": "a95a47b35004c3fac3e89f50fba51c2d9b17cc927e5000fdd0f2de6de97c0c1d" } }, { "location": { "uri": "file:///d:/works/corpsms_2010/public/jsoncpp/include/json/forwards.h" }, "hashes": { "sha-256": "1e8203651f400e3173a7cf3a1d2f504ae7d31aa590de279f14bf36b291808243" } }, { "location": { "uri": "file:///d:/works/corpsms_2010/public/jsoncpp/include/json/config.h" }, "hashes": { "sha-256": "ea27bcb8282e6e3e92617d02b4b833de88a9679b9dd741e2d166a0b9d9326221" } } ] } ] }