{"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json",
 "version": "2.1.0",
 "runs": [{"tool": {"driver": {"name": "GNU C99",
                               "fullName": "GNU C99 (GCC) version 16.1.1 20260703 (Red Hat 16.1.1-4) (x86_64-redhat-linux)",
                               "version": "16.1.1 20260703 (Red Hat 16.1.1-4)",
                               "informationUri": "https://gcc.gnu.org/gcc-16/",
                               "rules": [{"id": "-Wanalyzer-out-of-bounds",
                                          "helpUri": "https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/Static-Analyzer-Options.html#index-Wanalyzer-out-of-bounds"}]}},
           "taxonomies": [{"name": "CWE",
                           "version": "4.7",
                           "organization": "MITRE",
                           "shortDescription": {"text": "The MITRE Common Weakness Enumeration"},
                           "taxa": [{"id": "787",
                                     "helpUri": "https://cwe.mitre.org/data/definitions/787.html"}]}],
           "invocations": [{"arguments": ["/usr/libexec/gcc/x86_64-redhat-linux/16/cc1",
                                          "-quiet",
                                          "-I",
                                          ".",
                                          "-I",
                                          "./../../../include/",
                                          "-I",
                                          "./../",
                                          "-I",
                                          ".",
                                          "-I",
                                          "/usr/include/glib-2.0",
                                          "-I",
                                          "/usr/lib64/glib-2.0/include",
                                          "-I",
                                          "/usr/include/sysprof-6",
                                          "-I",
                                          "/usr/include/glib-2.0",
                                          "-I",
                                          "/usr/lib64/glib-2.0/include",
                                          "-I",
                                          "/usr/include/libmount",
                                          "-I",
                                          "/usr/include/blkid",
                                          "-I",
                                          "/usr/include/sysprof-6",
                                          "-I",
                                          "/usr/include/json-c",
                                          "-D",
                                          "PACKAGE_NAME=\"libblockdev\"",
                                          "-D",
                                          "PACKAGE_TARNAME=\"libblockdev\"",
                                          "-D",
                                          "PACKAGE_VERSION=\"3.4.0\"",
                                          "-D",
                                          "PACKAGE_STRING=\"libblockdev 3.4.0\"",
                                          "-D",
                                          "PACKAGE_BUGREPORT=\"\"",
                                          "-D",
                                          "PACKAGE_URL=\"https://github.com/storaged-project/libblockdev\"",
                                          "-D",
                                          "PACKAGE=\"libblockdev\"",
                                          "-D",
                                          "VERSION=\"3.4.0\"",
                                          "-D",
                                          "NDEBUG=1",
                                          "-D",
                                          "HAVE_STDIO_H=1",
                                          "-D",
                                          "HAVE_STDLIB_H=1",
                                          "-D",
                                          "HAVE_STRING_H=1",
                                          "-D",
                                          "HAVE_INTTYPES_H=1",
                                          "-D",
                                          "HAVE_STDINT_H=1",
                                          "-D",
                                          "HAVE_STRINGS_H=1",
                                          "-D",
                                          "HAVE_SYS_STAT_H=1",
                                          "-D",
                                          "HAVE_SYS_TYPES_H=1",
                                          "-D",
                                          "HAVE_UNISTD_H=1",
                                          "-D",
                                          "STDC_HEADERS=1",
                                          "-D",
                                          "HAVE_DLFCN_H=1",
                                          "-D",
                                          "LT_OBJDIR=\".libs/\"",
                                          "-D",
                                          "HAVE_DLFCN_H=1",
                                          "-D",
                                          "HAVE_STRING_H=1",
                                          "-D",
                                          "HAVE_UNISTD_H=1",
                                          "-D",
                                          "HAVE_SYS_FCNTL_H=1",
                                          "-D",
                                          "HAVE_SYS_IOCTL_H=1",
                                          "-D",
                                          "HAVE_LINUX_RANDOM_H=1",
                                          "-D",
                                          "HAVE_GLOB_H=1",
                                          "-D",
                                          "HAVE_SYSLOG_H=1",
                                          "-D",
                                          "HAVE_MATH_H=1",
                                          "-D",
                                          "WITH_BD_ESCROW=/**/",
                                          "-D",
                                          "WITH_BD_NVME=/**/",
                                          "-D",
                                          "WITH_BD_BTRFS=/**/",
                                          "-D",
                                          "WITH_BD_CRYPTO=/**/",
                                          "-D",
                                          "WITH_BD_DM=/**/",
                                          "-D",
                                          "WITH_BD_LOOP=/**/",
                                          "-D",
                                          "WITH_BD_LVM=/**/",
                                          "-D",
                                          "WITH_BD_LVM_DBUS=/**/",
                                          "-D",
                                          "WITH_BD_MDRAID=/**/",
                                          "-D",
                                          "WITH_BD_MPATH=/**/",
                                          "-D",
                                          "WITH_BD_SWAP=/**/",
                                          "-D",
                                          "WITH_BD_PART=/**/",
                                          "-D",
                                          "WITH_BD_FS=/**/",
                                          "-D",
                                          "WITH_BD_NVDIMM=/**/",
                                          "-D",
                                          "WITH_BD_NVME=/**/",
                                          "-D",
                                          "WITH_BD_SMART=/**/",
                                          "-D",
                                          "LIBCRYPTSETUP_24=1",
                                          "-D",
                                          "LIBCRYPTSETUP_26=1",
                                          "-D",
                                          "LIBCRYPTSETUP_27=1",
                                          "-D",
                                          "LIBCRYPTSETUP_28=1",
                                          "-D",
                                          "HAVE_LINUX_OPAL=1",
                                          "-D",
                                          "LIBMOUNT_NEW_ERR_API=1",
                                          "-D",
                                          "LIBNDCTL_NEW_MODES=1",
                                          "-D",
                                          "HAVE_LIBNVME_1_4=1",
                                          "-D",
                                          "HAVE_SMART=1",
                                          "-D",
                                          "HAVE_SMARTMONTOOLS=1",
                                          "-D",
                                          "PACKAGE_SYSCONF_DIR=\"/etc\"",
                                          "-D",
                                          "WITH_GZFILEOP",
                                          "-D",
                                          "PIC",
                                          "nvme-error.c",
                                          "-quiet",
                                          "-dumpbase",
                                          "nvme-error.c",
                                          "-dumpbase-ext",
                                          ".c",
                                          "-m64",
                                          "-mtune=generic",
                                          "-march=x86-64",
                                          "-mtls-dialect=gnu2",
                                          "-O2",
                                          "-Wno-unknown-pragmas",
                                          "-std=gnu99",
                                          "-flto=auto",
                                          "-ffat-lto-objects",
                                          "-fexceptions",
                                          "-fstack-protector-strong",
                                          "-fasynchronous-unwind-tables",
                                          "-fstack-clash-protection",
                                          "-fcf-protection=full",
                                          "-fno-omit-frame-pointer",
                                          "-fPIC",
                                          "-fanalyzer",
                                          "-fdiagnostics-path-format=separate-events",
                                          "-fno-diagnostics-show-caret",
                                          "-fno-lto",
                                          "-fanalyzer-assume-nothrow",
                                          "-fdiagnostics-text-art-charset=none",
                                          "-fdiagnostics-set-output=sarif:file=/builddir/gcc-results/6506-LUFa.sarif",
                                          "-o",
                                          "/tmp/ccd8lXdl.s"],
                            "workingDirectory": {"uri": "/builddir/build/BUILD/libblockdev-3.4.0-build/libblockdev-3.4.0/src/plugins/nvme"},
                            "startTimeUtc": "2026-08-03T16:58:29Z",
                            "executionSuccessful": true,
                            "toolExecutionNotifications": [],
                            "endTimeUtc": "2026-08-03T16:58:29Z"}],
           "originalUriBaseIds": {"PWD": {"uri": "file:///builddir/build/BUILD/libblockdev-3.4.0-build/libblockdev-3.4.0/src/plugins/nvme/"}},
           "artifacts": [{"location": {"uri": "nvme-error.c",
                                       "uriBaseId": "PWD"},
                          "sourceLanguage": "c",
                          "contents": {"text": "/*\n * Copyright (C) 2014-2021 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http://www.gnu.org/licenses/>.\n *\n * Author: Tomas Bzatek <tbzatek@redhat.com>\n */\n\n#include <glib.h>\n#include <string.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <sys/ioctl.h>\n#include <sys/stat.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <malloc.h>\n\n#include <libnvme.h>\n\n#include <blockdev/utils.h>\n#include <check_deps.h>\n#include \"nvme.h\"\n#include \"nvme-private.h\"\n\n\n/**\n * bd_nvme_error_quark: (skip)\n */\nGQuark bd_nvme_error_quark (void)\n{\n    return g_quark_from_static_string (\"g-bd-nvme-error-quark\");\n}\n\nvoid _nvme_status_to_error (gint status, gboolean fabrics, GError **error)\n{\n    gint code;\n\n    if (error == NULL)\n        return;\n    if (status == 0) {\n        g_clear_error (error);\n        return;\n    }\n\n    if (status < 0) {\n        /* generic errno errors */\n        switch (errno) {\n            case EWOULDBLOCK:\n                code = BD_NVME_ERROR_BUSY;\n                break;\n            default:\n                code = BD_NVME_ERROR_FAILED;\n        }\n        g_set_error_literal (error, BD_NVME_ERROR, code,\n                             strerror_l (errno, _C_LOCALE));\n        return;\n    } else {\n        /* NVMe status codes */\n        switch (nvme_status_code_type (status)) {\n            case NVME_SCT_GENERIC:\n                code = BD_NVME_ERROR_SC_GENERIC;\n                break;\n            case NVME_SCT_CMD_SPECIFIC:\n                code = BD_NVME_ERROR_SC_CMD_SPECIFIC;\n                break;\n            case NVME_SCT_MEDIA:\n                code = BD_NVME_ERROR_SC_MEDIA;\n                break;\n            case NVME_SCT_PATH:\n                code = BD_NVME_ERROR_SC_PATH;\n                break;\n            case NVME_SCT_VS:\n                code = BD_NVME_ERROR_SC_VENDOR_SPECIFIC;\n                break;\n            default:\n                code = BD_NVME_ERROR_SC_GENERIC;\n        }\n        g_set_error_literal (error, BD_NVME_ERROR, code, nvme_status_to_string (status, fabrics));\n        return;\n    }\n    g_warn_if_reached ();\n}\n\nvoid _nvme_fabrics_errno_to_gerror (int result, int _errno, GError **error)\n{\n    gint code;\n\n    if (error == NULL)\n        return;\n    if (result == 0) {\n        g_clear_error (error);\n        return;\n    }\n\n    if (_errno >= ENVME_CONNECT_RESOLVE) {\n        switch (_errno) {\n            case ENVME_CONNECT_ADDRFAM:\n            case ENVME_CONNECT_TRADDR:\n            case ENVME_CONNECT_TARG:\n            case ENVME_CONNECT_AARG:\n            case ENVME_CONNECT_INVAL_TR:\n                code = BD_NVME_ERROR_INVALID_ARGUMENT;\n                break;\n            case ENVME_CONNECT_RESOLVE:\n            case ENVME_CONNECT_OPEN:\n            case ENVME_CONNECT_WRITE:\n            case ENVME_CONNECT_READ:\n            case ENVME_CONNECT_PARSE:\n            case ENVME_CONNECT_LOOKUP_SUBSYS_NAME:\n            case ENVME_CONNECT_LOOKUP_SUBSYS:\n                code = BD_NVME_ERROR_CONNECT;\n                break;\n            case ENVME_CONNECT_ALREADY:\n                code = BD_NVME_ERROR_CONNECT_ALREADY;\n                break;\n            case ENVME_CONNECT_INVAL:\n                code = BD_NVME_ERROR_CONNECT_INVALID;\n                break;\n            case ENVME_CONNECT_ADDRINUSE:\n                code = BD_NVME_ERROR_CONNECT_ADDRINUSE;\n                break;\n            case ENVME_CONNECT_NODEV:\n                code = BD_NVME_ERROR_CONNECT_NODEV;\n                break;\n            case ENVME_CONNECT_OPNOTSUPP:\n                code = BD_NVME_ERROR_CONNECT_OPNOTSUPP;\n                break;\n            case ENVME_CONNECT_CONNREFUSED:\n                code = BD_NVME_ERROR_CONNECT_REFUSED;\n                break;\n            default:\n                code = BD_NVME_ERROR_CONNECT;\n        }\n        g_set_error_literal (error, BD_NVME_ERROR, code, nvme_errno_to_string (_errno));\n        return;\n    } else {\n        switch (errno) {\n            case EWOULDBLOCK:\n                code = BD_NVME_ERROR_BUSY;\n                break;\n            default:\n                code = BD_NVME_ERROR_FAILED;\n        }\n        g_set_error_literal (error, BD_NVME_ERROR, code, strerror_l (errno, _C_LOCALE));\n        return;\n    }\n    g_warn_if_reached ();\n}\n"},
                          "roles": ["analysisTarget",
                                    "tracedFile"]}],
           "results": [{"ruleId": "-Wanalyzer-out-of-bounds",
                        "taxa": [{"id": "787",
                                  "toolComponent": {"name": "cwe"}}],
                        "properties": {"gcc/analyzer/saved_diagnostic/ploc": {"enode": 16},
                                       "gcc/analyzer/saved_diagnostic/idx": 0,
                                       "gcc/analyzer/saved_diagnostic/duplicates": [{"properties": {"gcc/analyzer/saved_diagnostic/ploc": {"enode": 16},
                                                                                                    "gcc/analyzer/saved_diagnostic/idx": 1,
                                                                                                    "gcc/analyzer/pending_diagnostic/kind": "symbolic_buffer_over_read",
                                                                                                    "gcc/analyzer/out_of_bounds/dir": "read",
                                                                                                    "gcc/analyzer/out_of_bounds/model": {"store": {"root region": {"(*INIT_VAL(error_9(D)))": {"escaped": true,
                                                                                                                                                                                               "touched": false,
                                                                                                                                                                                               "map": {}}},
                                                                                                                                                   "frame: '_nvme_fabrics_errno_to_gerror'@1": {"_3": {"escaped": false,
                                                                                                                                                                                                       "touched": false,
                                                                                                                                                                                                       "map": {"bytes 0-3": "(CAST(unsigned int, INIT_VAL(_errno_11(D)))+(unsigned int)4294966295)"}},
                                                                                                                                                                                                "_17": {"escaped": false,
                                                                                                                                                                                                        "touched": false,
                                                                                                                                                                                                        "map": {"bytes 0-3": "UNKNOWN(int)"}}},
                                                                                                                                                   "called_unknown_fn": false},
                                                                                                                                         "constraints": {"ecs": [{"svals": ["(int)0"],
                                                                                                                                                                  "constant": "'0'"},
                                                                                                                                                                 {"svals": ["(int)999"],
                                                                                                                                                                  "constant": "'999'"},
                                                                                                                                                                 {"svals": ["(unsigned int)16"],
                                                                                                                                                                  "constant": "'16'"},
                                                                                                                                                                 {"svals": ["(unsigned int)1017"],
                                                                                                                                                                  "constant": "'1017'"},
                                                                                                                                                                 {"svals": ["(void *)0B"],
                                                                                                                                                                  "constant": "'0B'"},
                                                                                                                                                                 {"svals": ["INIT_VAL(result_10(D))"]},
                                                                                                                                                                 {"svals": ["INIT_VAL(_errno_11(D))"]},
                                                                                                                                                                 {"svals": ["INIT_VAL(error_9(D))"]},
                                                                                                                                                                 {"svals": ["CAST(unsigned int, INIT_VAL(_errno_11(D)))"]},
                                                                                                                                                                 {"svals": ["(CAST(unsigned int, INIT_VAL(_errno_11(D)))+(unsigned int)4294966295)"]}],
                                                                                                                                                         "constraints": [{"lhs": 1,
                                                                                                                                                                          "op": "<",
                                                                                                                                                                          "rhs": 6},
                                                                                                                                                                         {"lhs": 5,
                                                                                                                                                                          "op": "!=",
                                                                                                                                                                          "rhs": 0},
                                                                                                                                                                         {"lhs": 7,
                                                                                                                                                                          "op": "!=",
                                                                                                                                                                          "rhs": 4},
                                                                                                                                                                         {"lhs": 8,
                                                                                                                                                                          "op": "<=",
                                                                                                                                                                          "rhs": 3},
                                                                                                                                                                         {"lhs": 9,
                                                                                                                                                                          "op": "<=",
                                                                                                                                                                          "rhs": 2}],
                                                                                                                                                         "bounded_ranges_constraints": []},
                                                                                                                                         "current_frame": "frame: '_nvme_fabrics_errno_to_gerror'@1",
                                                                                                                                         "thrown_exception_stack": [],
                                                                                                                                         "caught_exception_stack": [],
                                                                                                                                         "dynamic_extents": {}},
                                                                                                    "gcc/analyzer/out_of_bounds/region": "SIZED_REG(CSWTCH.5+CAST(long int, ((CAST(unsigned int, INIT_VAL(_errno_11(D)))*(long int)4)+()17179865180)), (long unsigned int)4)",
                                                                                                    "gcc/analyzer/out_of_bounds/diag_arg": "CSWTCH.5",
                                                                                                    "gcc/analyzer/out_of_bounds/region_creation_event_id": null,
                                                                                                    "gcc/analyzer/symbolic_past_the_end/offset": "(unsigned int) _errno_11(D) * 4 + 17179865180",
                                                                                                    "gcc/analyzer/symbolic_past_the_end/num_bytes": "4",
                                                                                                    "gcc/analyzer/symbolic_past_the_end/capacity": "68"}}],
                                       "gcc/analyzer/pending_diagnostic/kind": "symbolic_buffer_over_read",
                                       "gcc/analyzer/out_of_bounds/dir": "read",
                                       "gcc/analyzer/out_of_bounds/model": {"store": {"root region": {"(*INIT_VAL(error_9(D)))": {"escaped": true,
                                                                                                                                  "touched": false,
                                                                                                                                  "map": {}}},
                                                                                      "frame: '_nvme_fabrics_errno_to_gerror'@1": {"_3": {"escaped": false,
                                                                                                                                          "touched": false,
                                                                                                                                          "map": {"bytes 0-3": "(CAST(unsigned int, INIT_VAL(_errno_11(D)))+(unsigned int)4294966295)"}}},
                                                                                      "called_unknown_fn": false},
                                                                            "constraints": {"ecs": [{"svals": ["(int)0"],
                                                                                                     "constant": "'0'"},
                                                                                                    {"svals": ["(int)999"],
                                                                                                     "constant": "'999'"},
                                                                                                    {"svals": ["(unsigned int)16"],
                                                                                                     "constant": "'16'"},
                                                                                                    {"svals": ["(unsigned int)1017"],
                                                                                                     "constant": "'1017'"},
                                                                                                    {"svals": ["(void *)0B"],
                                                                                                     "constant": "'0B'"},
                                                                                                    {"svals": ["INIT_VAL(result_10(D))"]},
                                                                                                    {"svals": ["INIT_VAL(_errno_11(D))"]},
                                                                                                    {"svals": ["INIT_VAL(error_9(D))"]},
                                                                                                    {"svals": ["CAST(unsigned int, INIT_VAL(_errno_11(D)))"]},
                                                                                                    {"svals": ["(CAST(unsigned int, INIT_VAL(_errno_11(D)))+(unsigned int)4294966295)"]}],
                                                                                            "constraints": [{"lhs": 1,
                                                                                                             "op": "<",
                                                                                                             "rhs": 6},
                                                                                                            {"lhs": 5,
                                                                                                             "op": "!=",
                                                                                                             "rhs": 0},
                                                                                                            {"lhs": 7,
                                                                                                             "op": "!=",
                                                                                                             "rhs": 4},
                                                                                                            {"lhs": 8,
                                                                                                             "op": "<=",
                                                                                                             "rhs": 3},
                                                                                                            {"lhs": 9,
                                                                                                             "op": "<=",
                                                                                                             "rhs": 2}],
                                                                                            "bounded_ranges_constraints": []},
                                                                            "current_frame": "frame: '_nvme_fabrics_errno_to_gerror'@1",
                                                                            "thrown_exception_stack": [],
                                                                            "caught_exception_stack": [],
                                                                            "dynamic_extents": {}},
                                       "gcc/analyzer/out_of_bounds/region": "SIZED_REG(CSWTCH.5+CAST(long int, ((CAST(unsigned int, INIT_VAL(_errno_11(D)))*(long int)4)+()17179865180)), (long unsigned int)4)",
                                       "gcc/analyzer/out_of_bounds/diag_arg": "CSWTCH.5",
                                       "gcc/analyzer/out_of_bounds/region_creation_event_id": null,
                                       "gcc/analyzer/symbolic_past_the_end/offset": "(unsigned int) _errno_11(D) * 4 + 17179865180",
                                       "gcc/analyzer/symbolic_past_the_end/num_bytes": "4",
                                       "gcc/analyzer/symbolic_past_the_end/capacity": "68"},
                        "level": "warning",
                        "message": {"text": "buffer over-read"},
                        "locations": [{"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                 "uriBaseId": "PWD"},
                                                            "region": {"startLine": 108,
                                                                       "startColumn": 9,
                                                                       "endColumn": 15},
                                                            "contextRegion": {"startLine": 108,
                                                                              "snippet": {"text": "        switch (_errno) {\n"}}},
                                       "logicalLocations": [{"index": 0,
                                                             "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}]}],
                        "codeFlows": [{"threadFlows": [{"id": "main",
                                                        "locations": [{"properties": {"gcc/analyzer/checker_event/emission_id": "(1)",
                                                                                      "gcc/analyzer/checker_event/kind": "start_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 1,
                                                                                                                                 "dst_id": 2}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 100,
                                                                                                                    "startColumn": 8,
                                                                                                                    "endColumn": 9},
                                                                                                         "contextRegion": {"startLine": 100,
                                                                                                                           "snippet": {"text": "    if (error == NULL)\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "following 'false' branch (when 'error' is non-NULL)..."}},
                                                                       "kinds": ["branch",
                                                                                 "false"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 1},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(2)",
                                                                                      "gcc/analyzer/checker_event/kind": "end_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 1,
                                                                                                                                 "dst_id": 2}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 102,
                                                                                                                    "startColumn": 8,
                                                                                                                    "endColumn": 9},
                                                                                                         "contextRegion": {"startLine": 102,
                                                                                                                           "snippet": {"text": "    if (result == 0) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "...to here"}},
                                                                       "kinds": ["branch",
                                                                                 "false"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 2},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(3)",
                                                                                      "gcc/analyzer/checker_event/kind": "start_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 2,
                                                                                                                                 "dst_id": 5}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 102,
                                                                                                                    "startColumn": 8,
                                                                                                                    "endColumn": 9},
                                                                                                         "contextRegion": {"startLine": 102,
                                                                                                                           "snippet": {"text": "    if (result == 0) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "following 'false' branch (when 'result != 0')..."}},
                                                                       "kinds": ["branch",
                                                                                 "false"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 3},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(4)",
                                                                                      "gcc/analyzer/checker_event/kind": "end_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 2,
                                                                                                                                 "dst_id": 5}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 107,
                                                                                                                    "startColumn": 8,
                                                                                                                    "endColumn": 9},
                                                                                                         "contextRegion": {"startLine": 107,
                                                                                                                           "snippet": {"text": "    if (_errno >= ENVME_CONNECT_RESOLVE) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "...to here"}},
                                                                       "kinds": ["branch",
                                                                                 "false"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 4},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(5)",
                                                                                      "gcc/analyzer/checker_event/kind": "start_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 5,
                                                                                                                                 "dst_id": 6}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 107,
                                                                                                                    "startColumn": 8,
                                                                                                                    "endColumn": 9},
                                                                                                         "contextRegion": {"startLine": 107,
                                                                                                                           "snippet": {"text": "    if (_errno >= ENVME_CONNECT_RESOLVE) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "following 'true' branch (when '_errno > 999')..."}},
                                                                       "kinds": ["branch",
                                                                                 "true"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 5},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(6)",
                                                                                      "gcc/analyzer/checker_event/kind": "end_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 5,
                                                                                                                                 "dst_id": 6}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 108,
                                                                                                                    "startColumn": 9,
                                                                                                                    "endColumn": 15},
                                                                                                         "contextRegion": {"startLine": 108,
                                                                                                                           "snippet": {"text": "        switch (_errno) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "...to here"}},
                                                                       "kinds": ["branch",
                                                                                 "true"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 6},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(7)",
                                                                                      "gcc/analyzer/checker_event/kind": "start_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 8,
                                                                                                                                 "dst_id": 10}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 108,
                                                                                                                    "startColumn": 9,
                                                                                                                    "endColumn": 15},
                                                                                                         "contextRegion": {"startLine": 108,
                                                                                                                           "snippet": {"text": "        switch (_errno) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "following 'true' branch..."}},
                                                                       "kinds": ["branch",
                                                                                 "true"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 7},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(8)",
                                                                                      "gcc/analyzer/checker_event/kind": "end_cfg_edge",
                                                                                      "gcc/analyzer/superedge_event/superedge": {"src_id": 8,
                                                                                                                                 "dst_id": 10}},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 108,
                                                                                                                    "startColumn": 9,
                                                                                                                    "endColumn": 15},
                                                                                                         "contextRegion": {"startLine": 108,
                                                                                                                           "snippet": {"text": "        switch (_errno) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "...to here"}},
                                                                       "kinds": ["branch",
                                                                                 "true"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 8},
                                                                      {"properties": {"gcc/analyzer/checker_event/emission_id": "(9)",
                                                                                      "gcc/analyzer/checker_event/kind": "warning"},
                                                                       "location": {"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                                                              "uriBaseId": "PWD"},
                                                                                                         "region": {"startLine": 108,
                                                                                                                    "startColumn": 9,
                                                                                                                    "endColumn": 15},
                                                                                                         "contextRegion": {"startLine": 108,
                                                                                                                           "snippet": {"text": "        switch (_errno) {\n"}}},
                                                                                    "logicalLocations": [{"index": 0,
                                                                                                          "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror"}],
                                                                                    "message": {"text": "read of 4 bytes at offset '(unsigned int)_errno * 4 + 17179865180' exceeds 'CSWTCH'"}},
                                                                       "kinds": ["danger"],
                                                                       "nestingLevel": 1,
                                                                       "executionOrder": 9}]}]}],
                        "relatedLocations": [{"physicalLocation": {"artifactLocation": {"uri": "nvme-error.c",
                                                                                        "uriBaseId": "PWD"},
                                                                   "region": {"startLine": 108,
                                                                              "startColumn": 9,
                                                                              "endColumn": 15},
                                                                   "contextRegion": {"startLine": 108,
                                                                                     "snippet": {"text": "        switch (_errno) {\n"}}},
                                              "message": {"text": "valid subscripts for 'CSWTCH' are '[0]' to '[16]'"},
                                              "properties": {"nestingLevel": 0}}]}],
           "logicalLocations": [{"name": "_nvme_fabrics_errno_to_gerror",
                                 "fullyQualifiedName": "_nvme_fabrics_errno_to_gerror",
                                 "decoratedName": "_nvme_fabrics_errno_to_gerror",
                                 "kind": "function",
                                 "index": 0}]}]}
