{
    "scan": {
        "analyzer-version-clippy": "1.84.0",
        "analyzer-version-cppcheck": "2.16.2",
        "analyzer-version-gcc": "15.0.1",
        "analyzer-version-gcc-analyzer": "15.0.1",
        "analyzer-version-shellcheck": "0.10.0",
        "analyzer-version-unicontrol": "0.0.2",
        "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "exit-code": 0,
        "host": "ip-172-16-1-92.us-west-2.compute.internal",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "image-builder-7-1.20250127101625213482.main.10.g98e4beb",
        "store-results-to": "/tmp/tmp4uta8jv1/image-builder-7-1.20250127101625213482.main.10.g98e4beb.tar.xz",
        "time-created": "2025-01-27 19:24:50",
        "time-finished": "2025-01-27 19:28:49",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,clippy,unicontrol,cppcheck' '-o' '/tmp/tmp4uta8jv1/image-builder-7-1.20250127101625213482.main.10.g98e4beb.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmp4uta8jv1/image-builder-7-1.20250127101625213482.main.10.g98e4beb.src.rpm'",
        "tool-version": "csmock-3.8.0-1.el9"
    },
    "defects": [
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "7a47c013a231bac278c52c5c4c0e4102a1754b7e",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘parse_proc_stringlist’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 120,
                    "column": 25,
                    "event": "warning[-Wanalyzer-fd-leak]",
                    "message": "leak of file descriptor ‘fd’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 108,
                    "column": 14,
                    "event": "note",
                    "message": "(4) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(5) assuming ‘fd’ is a valid file descriptor (>= 0)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(6) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(8) when ‘realloc’ fails",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(9) following ‘true’ branch (when ‘new_buf’ is NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 119,
                    "column": 25,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 120,
                    "column": 25,
                    "event": "note",
                    "message": "(11) ‘fd’ leaks here; was opened at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  118|   \t\tif (new_buf == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  119|   \t\t\tfree(buf);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  120|-> \t\t\tfprintf(stderr, \"realloc(%ld): out of memory\\n\", (long)(size + BUFSTEP));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  121|   \t\t\treturn NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  122|   \t\t}",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9c5f50b0a221bf5ca8d93c7b73fb06c36f3c2d03",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "warning[-Wanalyzer-fd-leak]",
                    "message": "leak of file descriptor ‘fd’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 108,
                    "column": 14,
                    "event": "note",
                    "message": "(4) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(5) assuming ‘fd’ is a valid file descriptor (>= 0)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(6) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(8) when ‘realloc’ succeeds, moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(9) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(11) following ‘true’ branch (when ‘n < 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "note",
                    "message": "(12) ...to here (13) ‘fd’ leaks here; was opened at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  126|   \t\tn = read(fd, buf + used, size - used - 1);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  127|   \t\tif (n < 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  128|-> \t\t\tfprintf(stderr, \"read(): %m\\n\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  129|   \t\t\treturn NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  130|   \t\t}",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "6106c62d05a8b3fa65925f8b430501ba17e3807e",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘buf’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(4) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(7) when ‘realloc’ succeeds, moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(10) following ‘false’ branch (when ‘n >= 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(12) following ‘false’ branch (when ‘n != 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 134,
                    "column": 22,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(14) when ‘realloc’ succeeds, without moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(15) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(16) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "note",
                    "message": "(17) ‘buf’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  126|   \t\tn = read(fd, buf + used, size - used - 1);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  127|   \t\tif (n < 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  128|-> \t\t\tfprintf(stderr, \"read(): %m\\n\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  129|   \t\t\treturn NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  130|   \t\t}",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "a42f0970c2a05a7a4eb6ed70d7ed7930706ea4de",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘new_buf’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(4) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(7) when ‘realloc’ succeeds, moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(10) following ‘true’ branch (when ‘n < 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 128,
                    "column": 25,
                    "event": "note",
                    "message": "(11) ...to here (12) ‘new_buf’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  126|   \t\tn = read(fd, buf + used, size - used - 1);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  127|   \t\tif (n < 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  128|-> \t\t\tfprintf(stderr, \"read(): %m\\n\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  129|   \t\t\treturn NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  130|   \t\t}",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "57b5d9b54cc5c058ffb51c9b98be9ae92ad44815",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 145,
                    "column": 17,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘new_buf’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(4) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(7) when ‘realloc’ succeeds, moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(10) following ‘false’ branch (when ‘n >= 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(12) following ‘true’ branch (when ‘n == 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 136,
                    "column": 9,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 138,
                    "column": 23,
                    "event": "note",
                    "message": "(14) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 143,
                    "column": 32,
                    "event": "note",
                    "message": "(15) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 144,
                    "column": 12,
                    "event": "note",
                    "message": "(16) following ‘true’ branch (when ‘ret’ is NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 145,
                    "column": 17,
                    "event": "note",
                    "message": "(17) ...to here (18) ‘new_buf’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  143|   \tret = calloc(n_strings + 1, sizeof(char *));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  144|   \tif (ret == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  145|-> \t\tfprintf(stderr, \"calloc(): out of memory\\n\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  146|   \t\treturn NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  147|   \t}",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "482a2b9e7fa40807f612995f25def0fed060f5e7",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘containers_reexec’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 288,
                    "column": 12,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘argv’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 275,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 103,
                    "column": 15,
                    "event": "note",
                    "message": "(3) entry to ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 109,
                    "column": 12,
                    "event": "note",
                    "message": "(4) following ‘false’ branch (when ‘fd != -1’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(6) when ‘realloc’ succeeds, moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(7) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(9) following ‘false’ branch (when ‘n >= 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(11) following ‘false’ branch (when ‘n != 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 134,
                    "column": 22,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 117,
                    "column": 27,
                    "event": "note",
                    "message": "(13) when ‘realloc’ succeeds, without moving buffer",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(14) following ‘false’ branch (when ‘new_buf’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 125,
                    "column": 28,
                    "event": "note",
                    "message": "(15) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 127,
                    "column": 20,
                    "event": "note",
                    "message": "(16) following ‘false’ branch (when ‘n >= 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 131,
                    "column": 20,
                    "event": "note",
                    "message": "(17) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 139,
                    "column": 20,
                    "event": "note",
                    "message": "(18) following ‘true’ branch (when ‘n == 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 140,
                    "column": 34,
                    "event": "note",
                    "message": "(19) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 143,
                    "column": 15,
                    "event": "note",
                    "message": "(20) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 144,
                    "column": 12,
                    "event": "note",
                    "message": "(21) assuming ‘ret’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 144,
                    "column": 12,
                    "event": "note",
                    "message": "(22) following ‘false’ branch (when ‘ret’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(23) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 149,
                    "column": 23,
                    "event": "note",
                    "message": "(24) following ‘true’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 150,
                    "column": 20,
                    "event": "note",
                    "message": "(25) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 150,
                    "column": 20,
                    "event": "note",
                    "message": "(26) following ‘true’ branch (when ‘n == 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 151,
                    "column": 30,
                    "event": "note",
                    "message": "(27) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 279,
                    "column": 16,
                    "event": "note",
                    "message": "(28) returning to ‘containers_reexec’ from ‘parse_proc_stringlist’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 280,
                    "column": 12,
                    "event": "note",
                    "message": "(29) following ‘false’ branch (when ‘argv’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 284,
                    "column": 19,
                    "event": "note",
                    "message": "(30) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 288,
                    "column": 12,
                    "event": "note",
                    "message": "(31) following ‘true’ branch (when ‘fd < 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(32) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/containers/storage/pkg/unshare/unshare.c",
                    "line": 288,
                    "column": 12,
                    "event": "note",
                    "message": "(33) ‘argv’ leaks here; was allocated at (20)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  286|   \tif (fd < 0)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  287|   \t\tfd = copy_self_proc_exe(argv);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  288|-> \tif (fd < 0)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  289|   \t\treturn fd;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  290|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "language": "c/c++",
            "tool": "cppcheck",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 4657 timed out after 30s",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "COMPILER_WARNING",
            "language": "c/c++",
            "tool": "gcc",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 4659 timed out after 30s",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "7ecca0ee4d389df05556f7c540c8d4889e7d5c16",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'New'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 77,
                    "column": 19,
                    "event": "warning[-Wanalyzer-possible-null-dereference]",
                    "message": "dereference of possibly-NULL 'c'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 76,
                    "column": 25,
                    "event": "note",
                    "message": "(1) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 77,
                    "column": 19,
                    "event": "note",
                    "message": "(2) 'c' could be NULL: unchecked value from (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   75|   \tCK_C_GetFunctionList list;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   76|   \tstruct ctx *c = calloc(1, sizeof(struct ctx));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   77|-> \tc->handle = dlopen(module, RTLD_LAZY);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   78|   \tif (c->handle == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   79|   \t\tfree(c);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "671f66be8745b5fe3daee96d2e0e5e0f7180906e",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘New’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 77,
                    "column": 19,
                    "event": "warning[-Wanalyzer-possible-null-dereference]",
                    "message": "dereference of possibly-NULL ‘c’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 76,
                    "column": 25,
                    "event": "note",
                    "message": "(1) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 77,
                    "column": 19,
                    "event": "note",
                    "message": "(2) ‘c’ could be NULL: unchecked value from (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   75|   \tCK_C_GetFunctionList list;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   76|   \tstruct ctx *c = calloc(1, sizeof(struct ctx));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   77|-> \tc->handle = dlopen(module, RTLD_LAZY);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   78|   \tif (c->handle == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   79|   \t\tfree(c);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "edde3098c1d59fe7dff0cd879eae4ed85a050f9f",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘GetAttributeValue.part.0’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 316,
                    "column": 32,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘*((CK_ATTRIBUTE *)temp).pValue’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "cgo-gcc-prolog",
                    "line": 684,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to ‘_cgo_c4fd6099d396_Cfunc_GetAttributeValue’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cgo-gcc-prolog",
                    "line": 697,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘GetAttributeValue’ from ‘_cgo_c4fd6099d396_Cfunc_GetAttributeValue’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 300,
                    "column": 7,
                    "event": "note",
                    "message": "(3) entry to ‘GetAttributeValue’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 307,
                    "column": 12,
                    "event": "note",
                    "message": "(4) following ‘false’ branch (when ‘e == 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(6) calling ‘GetAttributeValue’ from ‘GetAttributeValue’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 300,
                    "column": 7,
                    "event": "note",
                    "message": "(7) entry to ‘GetAttributeValue’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 311,
                    "column": 23,
                    "event": "note",
                    "message": "(8) following ‘true’ branch (when ‘i < templen’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 312,
                    "column": 35,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 312,
                    "column": 20,
                    "event": "note",
                    "message": "(10) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 316,
                    "column": 34,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 316,
                    "column": 34,
                    "event": "note",
                    "message": "(12) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/miekg/pkcs11/pkcs11.go",
                    "line": 316,
                    "column": 32,
                    "event": "note",
                    "message": "(13) ‘*((CK_ATTRIBUTE *)temp).pValue’ leaks here; was allocated at (12)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  314|   \t\t\tcontinue;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  315|   \t\t}",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  316|-> \t\ttemp[i].pValue = calloc(temp[i].ulValueLen, sizeof(CK_BYTE));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  317|   \t}",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  318|   \treturn c->sym->C_GetAttributeValue(session, object, temp, templen);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 688,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "e973d7669178423dd1d72321b77d6db703128e81",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'gnu_ext_crypt'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 60,
                    "column": 17,
                    "event": "warning[-Wanalyzer-possible-null-argument]",
                    "message": "use of possibly-NULL 'ret' where non-null expected",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 55,
                    "column": 19,
                    "event": "note",
                    "message": "(1) following 'false' branch (when 'enc' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 59,
                    "column": 39,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 59,
                    "column": 31,
                    "event": "note",
                    "message": "(3) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 60,
                    "column": 17,
                    "event": "note",
                    "message": "(4) argument 1 ('ret') from (3) could be NULL where non-null expected",
                    "verbosity_level": 2
                },
                {
                    "file_name": "<built-in>",
                    "line": 0,
                    "event": "note",
                    "message": "argument 1 of '__builtin_strcpy' must be non-null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   58|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   59|   \t\tret = (char *)malloc((strlen(enc)+1) * sizeof(char)); // for trailing null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   60|-> \t\tstrcpy(ret, enc);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   61|   \t\tret[strlen(enc)]= '\\0';",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   62|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 688,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "e2730f1153df2b253bbad6757e0a0c8be341459d",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘gnu_ext_crypt’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 60,
                    "column": 17,
                    "event": "warning[-Wanalyzer-possible-null-argument]",
                    "message": "use of possibly-NULL ‘ret’ where non-null expected",
                    "verbosity_level": 0
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 55,
                    "column": 19,
                    "event": "note",
                    "message": "(1) following ‘false’ branch (when ‘enc’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 59,
                    "column": 39,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 59,
                    "column": 31,
                    "event": "note",
                    "message": "(3) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "image-builder-7-build/image-builder-cli-7/vendor/github.com/osbuild/images/pkg/crypt/crypt_impl.go",
                    "line": 60,
                    "column": 17,
                    "event": "note",
                    "message": "(4) argument 1 (‘ret’) from (3) could be NULL where non-null expected",
                    "verbosity_level": 2
                },
                {
                    "file_name": "<built-in>",
                    "line": 0,
                    "event": "note",
                    "message": "argument 1 of ‘__builtin_strcpy’ must be non-null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   58|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   59|   \t\tret = (char *)malloc((strlen(enc)+1) * sizeof(char)); // for trailing null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   60|-> \t\tstrcpy(ret, enc);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   61|   \t\tret[strlen(enc)]= '\\0';",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   62|   ",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
