blob: 2f9463b8286ad54b17ae8f6fefc7087f7afe02ef [file]
{
"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json",
"runs": [
{
"results": [
{
"level": "error",
"locations": [
{
"logicalLocations": [
{
"kind": "function",
"name": "message"
}
],
"physicalLocation": {
"artifactLocation": {
"uri": "ProjectFatalError.cmake",
"uriBaseId": "CMAKE_SOURCE_DIR"
},
"region": {
"startLine": 1
}
}
}
],
"message": {
"text": "Example error"
},
"ruleId": "CMake.FatalError",
"ruleIndex": 0,
"stacks": [
{
"frames": [
{
"location": {
"logicalLocations": [
{
"kind": "function",
"name": "message"
}
],
"physicalLocation": {
"artifactLocation": {
"uri": "ProjectFatalError.cmake",
"uriBaseId": "CMAKE_SOURCE_DIR"
},
"region": {
"startLine": 1
}
}
}
},
{
"location": {
"logicalLocations": [
{
"kind": "function",
"name": "include"
}
],
"physicalLocation": {
"artifactLocation": {
"uri": "CMakeLists.txt",
"uriBaseId": "CMAKE_SOURCE_DIR"
},
"region": {
"startLine": 3
}
}
}
}
]
}
]
}
],
"originalUriBaseIds": {
"CMAKE_BINARY_DIR": {
"uri": "file://PATH:<BINARY_DIR>/"
},
"CMAKE_SOURCE_DIR": {
"uri": "file://PATH:<SOURCE_DIR>/"
}
},
"tool": {
"driver": {
"name": "CMake",
"rules": [
{
"id": "CMake.FatalError",
"name": "CMake Error"
}
],
"version": "<IGNORE>"
}
}
}
],
"version": "2.1.0"
}