{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9383128881454468,
        "class": 0
      }
    ],
    "prob": 0.9383129,
    "class": 0,
    "version": "v16.16",
    "thresholds": [
      0.9815004,
      0.99404883
    ],
    "analyzed_at": "2026-04-30T04:44:10Z"
  },
  "path": "geom_ccd.c",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(Er₂)",
        "x": 2,
        "id": 0,
        "is": [
          "LIST_FOREACH",
          "g_access",
          "LIST_FOREACH",
          "g_access",
          "g_free",
          "g_free",
          "g_free",
          "g_free",
          "gctl_error",
          "gctl_error",
          "gctl_error",
          "gctl_error",
          "gctl_error",
          "ccdinterleave",
          "g_malloc",
          "g_malloc",
          "g_malloc",
          "g_free",
          "g_io_deliver",
          "ccdbuffer",
          "g_io_deliver",
          "g_io_request",
          "g_io_request",
          "btodb",
          "g_io_request",
          "g_io_request",
          "btodb",
          "g_clone_bio",
          "dbtob",
          "dbtob",
          "dbtob",
          "g_clone_bio",
          "g_destroy_bio",
          "g_std_done",
          "g_destroy_bio",
          "g_io_request",
          "g_std_done",
          "g_destroy_bio",
          "g_std_done",
          "g_topology_assert",
          "gctl_get_paraml",
          "gctl_error",
          "gctl_get_paraml",
          "gctl_error",
          "gctl_get_paraml",
          "gctl_error",
          "LIST_FOREACH",
          "gctl_error",
          "gctl_error",
          "snprintf",
          "gctl_get_provider",
          "g_new_geomf",
          "g_malloc",
          "g_malloc",
          "snprintf",
          "gctl_get_provider",
          "g_new_consumer",
          "g_attach",
          "KASSERT",
          "gctl_get_param",
          "gctl_get_param",
          "gctl_get_param",
          "gctl_get_param",
          "printf",
          "printf",
          "ccdinit",
          "g_ccd_freesc",
          "g_wither_geom",
          "g_new_providerf",
          "g_error_provider",
          "sbuf_new_auto",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_finish",
          "gctl_set_param_err",
          "sbuf_data",
          "sbuf_len",
          "sbuf_delete",
          "g_topology_assert",
          "LIST_FIRST",
          "gctl_error",
          "g_ccd_freesc",
          "g_wither_geom",
          "gctl_get_paraml",
          "gctl_error",
          "sbuf_new_auto",
          "LIST_FOREACH",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_printf",
          "sbuf_finish",
          "gctl_set_param_err",
          "sbuf_data",
          "sbuf_len",
          "sbuf_delete",
          "g_topology_assert",
          "strcmp",
          "g_ccd_create",
          "strcmp",
          "gctl_get_geom",
          "g_ccd_destroy_geom",
          "strcmp",
          "g_ccd_list",
          "gctl_error",
          "DECLARE_GEOM_CLASS",
          "MODULE_VERSION"
        ],
        "ms": {
          "text": {
            "tab_count": 1270.0,
            "digit_ratio": 0.01,
            "space_count": 3151.0,
            "total_lines": 930.0,
            "char_entropy": 5.31,
            "mixed_indent": true,
            "unique_chars": 96.0,
            "import_density": 11.72,
            "string_density": 0.11,
            "avg_line_length": 25.79,
            "max_line_length": 99.0,
            "empty_line_ratio": 0.1,
            "last_line_length": 28.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.21,
            "most_common_ratio": 0.05,
            "identifier_density": 0.94,
            "line_length_stddev": 22.28,
            "normalized_import_count": 3.57,
            "normalized_string_count": 3.41,
            "repeated_char_sequences": 3.0,
            "suspicious_comment_ratio": 0.09,
            "max_inline_whitespace_run": 4.0,
            "normalized_function_count": 0.39,
            "trailing_whitespace_lines": 12.0,
            "imports_to_functions_ratio": 9.08,
            "strings_to_functions_ratio": 8.67,
            "suspicious_identifier_ratio": 0.01,
            "normalized_unique_identifiers": 12.68,
            "identifiers_to_functions_ratio": 10.42
          },
          "imports": {
            "total": 109.0,
            "unique_modules": 44.0,
            "third_party_count": 109.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 104.0,
            "avg_length": 15.9,
            "max_length": 82.0,
            "avg_entropy": 2.74,
            "total_bytes": 1654.0,
            "entropy_stddev": 1.09
          },
          "comments": {
            "chars": 10238.0,
            "lines": 306.0,
            "total": 75.0,
            "xxx_count": 3.0,
            "to_code_ratio": 0.49,
            "high_entropy_comments": 7.0
          },
          "functions": {
            "total": 12.0,
            "length_stddev": 46.38,
            "over_100_lines": 4.0,
            "avg_name_length": 50.92,
            "no_params_count": 12.0,
            "avg_length_lines": 60.08,
            "max_length_lines": 136.0,
            "min_length_lines": 9.0,
            "high_entropy_names": 11.0,
            "density_per_100_lines": 1.29,
            "code_in_functions_ratio": 0.78
          },
          "identifiers": {
            "total": 873.0,
            "avg_length": 7.6,
            "max_length": 18.0,
            "min_length": 1.0,
            "avg_entropy": 2.32,
            "reuse_ratio": 0.14,
            "unique_count": 125.0,
            "length_stddev": 4.4,
            "has_digit_ratio": 0.03,
            "sequential_names": 1.0,
            "single_char_count": 1.0,
            "single_char_ratio": 0.01,
            "high_entropy_count": 3.0,
            "high_entropy_ratio": 0.02,
            "all_lowercase_ratio": 0.78,
            "all_uppercase_ratio": 0.18,
            "numeric_suffix_count": 4.0
          }
        },
        "ss": [
          [
            3734,
            "\u003csys/param.h\u003e"
          ],
          [
            3757,
            "\u003csys/systm.h\u003e"
          ],
          [
            3780,
            "\u003csys/kernel.h\u003e"
          ],
          [
            3804,
            "\u003csys/module.h\u003e"
          ],
          [
            3828,
            "\u003csys/bio.h\u003e"
          ],
          [
            3849,
            "\u003csys/malloc.h\u003e"
          ],
          [
            3873,
            "\u003csys/sbuf.h\u003e"
          ],
          [
            3895,
            "\u003cgeom/geom.h\u003e"
          ],
          [
            8261,
            "Mirror mode for Linux raids is \"\n\t\t\t                \"only supported with 2 devices"
          ],
          [
            8261,
            "Mirror mode for Linux raids is "
          ],
          [
            8262,
            "Mirror mode for Linux raids is "
          ],
          [
            8314,
            "only supported with 2 devices"
          ],
          [
            8315,
            "only supported with 2 devices"
          ],
          [
            8859,
            "Component %s has effective size zero"
          ],
          [
            8860,
            "Component %s has effective size zero"
          ],
          [
            9250,
            "Interleave to small for sector size"
          ],
          [
            9251,
            "Interleave to small for sector size"
          ],
          [
            10086,
            "Mirroring requires an even number of disks"
          ],
          [
            10087,
            "Mirroring requires an even number of disks"
          ],
          [
            10211,
            "An interleave must be specified when mirroring"
          ],
          [
            10212,
            "An interleave must be specified when mirroring"
          ],
          [
            19829,
            "unit"
          ],
          [
            19830,
            "unit"
          ],
          [
            19892,
            "unit parameter not given"
          ],
          [
            19893,
            "unit parameter not given"
          ],
          [
            19965,
            "ileave"
          ],
          [
            19966,
            "ileave"
          ],
          [
            20034,
            "ileave parameter not given"
          ],
          [
            20035,
            "ileave parameter not given"
          ],
          [
            20112,
            "nprovider"
          ],
          [
            20113,
            "nprovider"
          ],
          [
            20190,
            "nprovider parameter not given"
          ],
          [
            20191,
            "nprovider parameter not given"
          ],
          [
            20388,
            "Unit %d already configured"
          ],
          [
            20389,
            "Unit %d already configured"
          ],
          [
            20487,
            "Bogus nprovider argument (= %d)"
          ],
          [
            20488,
            "Bogus nprovider argument (= %d)"
          ],
          [
            20651,
            "provider%d"
          ],
          [
            20652,
            "provider%d"
          ],
          [
            20760,
            "ccd%d"
          ],
          [
            20761,
            "ccd%d"
          ],
          [
            21127,
            "provider%d"
          ],
          [
            21128,
            "provider%d"
          ],
          [
            21259,
            "attach to %s failed"
          ],
          [
            21260,
            "attach to %s failed"
          ],
          [
            21444,
            "no_offset"
          ],
          [
            21445,
            "no_offset"
          ],
          [
            21523,
            "linux"
          ],
          [
            21524,
            "linux"
          ],
          [
            21595,
            "uniform"
          ],
          [
            21596,
            "uniform"
          ],
          [
            21670,
            "mirror"
          ],
          [
            21671,
            "mirror"
          ],
          [
            21787,
            "%s: disabling mirror, interleave is 0\\n"
          ],
          [
            21788,
            "%s: disabling mirror, interleave is 0"
          ],
          [
            21959,
            "%s: mirror/parity forces uniform flag\\n"
          ],
          [
            21960,
            "%s: mirror/parity forces uniform flag"
          ],
          [
            22203,
            "%s"
          ],
          [
            22204,
            "%s"
          ],
          [
            22375,
            "ccd%d: %d components "
          ],
          [
            22376,
            "ccd%d: %d components "
          ],
          [
            22480,
            "%s%s"
          ],
          [
            22481,
            "%s%s"
          ],
          [
            22503,
            "("
          ],
          [
            22504,
            "("
          ],
          [
            22509,
            ", "
          ],
          [
            22510,
            ", "
          ],
          [
            22578,
            "), %jd blocks "
          ],
          [
            22579,
            "), %jd blocks "
          ],
          [
            22674,
            "interleaved at %d blocks\\n"
          ],
          [
            22675,
            "interleaved at %d blocks"
          ],
          [
            22747,
            "concatenated\\n"
          ],
          [
            22748,
            "concatenated"
          ],
          [
            22809,
            "output"
          ],
          [
            22810,
            "output"
          ],
          [
            23203,
            "%s is open(r%dw%de%d)"
          ],
          [
            23204,
            "%s is open(r%dw%de%d)"
          ],
          [
            23545,
            "unit"
          ],
          [
            23546,
            "unit"
          ],
          [
            23604,
            "unit parameter not given"
          ],
          [
            23605,
            "unit parameter not given"
          ],
          [
            23824,
            "ccd%d\\t\\t%d\\t%d\\t"
          ],
          [
            23825,
            "ccd%d"
          ],
          [
            23834,
            "%d"
          ],
          [
            23838,
            "%d"
          ],
          [
            23973,
            "%s/dev/%s"
          ],
          [
            23974,
            "%s/dev/%s"
          ],
          [
            24000,
            " "
          ],
          [
            24001,
            " "
          ],
          [
            24070,
            "\\n"
          ],
          [
            24123,
            "output"
          ],
          [
            24124,
            "output"
          ],
          [
            24337,
            "create geom"
          ],
          [
            24338,
            "create geom"
          ],
          [
            24406,
            "destroy geom"
          ],
          [
            24407,
            "destroy geom"
          ],
          [
            24455,
            "geom"
          ],
          [
            24456,
            "geom"
          ],
          [
            24544,
            "list"
          ],
          [
            24545,
            "list"
          ],
          [
            24606,
            "unknown verb"
          ],
          [
            24607,
            "unknown verb"
          ],
          [
            24676,
            "CCD"
          ],
          [
            24677,
            "CCD"
          ]
        ],
        "sz": 24914,
        "ts": [
          {
            "c": 0.8999999761581421,
            "d": "NetBSD RCS ident keyword",
            "e": [
              "$NetBSD:"
            ],
            "i": "metadata/binary/provenance::netbsd-rcs-id",
            "l": 2
          },
          {
            "c": 0.699999988079071,
            "d": "macOS who tool reference",
            "e": [
              "who"
            ],
            "i": "objectives/evasion/kernel-hide/rootkit::macos-who-ref",
            "l": 1
          },
          {
            "a": "T1014",
            "c": 0.949999988079071,
            "d": "FreeBSD kernel module header include",
            "e": [
              "sys/module.h"
            ],
            "i": "objectives/evasion/kernel-hide/lkm::sys-module-header",
            "l": 3
          },
          {
            "c": 0.20000000298023224,
            "d": "output keyword",
            "e": [
              "output"
            ],
            "i": "micro-behaviors/data/text/keywords::output",
            "l": 1
          }
        ],
        "sha": "00a8f6071dce137dc8a3b62db828cb1a35571f0e200e566c8e3399cc376116a4",
        "path": "/data/samples/good/freebsd/usr/src/sys/geom/geom_ccd.c",
        "type": "c"
      }
    ],
    "tv": "f6eaa"
  }
}