{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.02976294979453087,
        "class": 0
      }
    ],
    "prob": 0.02976295,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.02976295,
        "class": 0
      },
      {
        "m": "az/source",
        "prob": 0.001030864,
        "class": 0
      },
      {
        "m": "az/rust",
        "prob": 0.000000000000000000000000000000000027032292,
        "class": 0
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T14:06:32Z"
  },
  "path": "boot_patch.rs",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(As)H₂(CrDb)",
        "k": {
          "source.imports[0]": "\"_a\".to_string",
          "source.imports[1]": "\"_b\".to_string",
          "source.imports[2]": "\"boot\".to_string",
          "source.imports[3]": "\"init_boot\".to_string",
          "source.imports[4]": "\"magiskboot\".into",
          "source.imports[5]": "\"ramdisk.cpio\".into",
          "source.imports[6]": "Err",
          "source.imports[7]": "Ok",
          "source.imports[8]": "Some",
          "source.imports[9]": "anyhow",
          "source.strings[0]": "%Y%m%d_%H%M%S",
          "source.strings[1]": "(.* )?(\\d+\\.\\d+)(\\S+)?(android\\d+)(.*)",
          "source.strings[2]": "(?:.* )?(\\d+\\.\\d+)(?:\\S+)?(android\\d+)",
          "source.strings[3]": "(\\d+)\\.(\\d+)\\.(\\d+)",
          "source.strings[4]": "- Adding KernelSU LKM",
          "source.strings[5]": "- Backup info is absent!",
          "source.strings[6]": "- Backup stock boot image",
          "source.strings[7]": "- Backup stock image failed: {e}",
          "source.strings[8]": "- Bootdevice: {boot_partition}",
          "source.strings[9]": "- Clean up backup",
          "source.has_imports": true,
          "source.imports[10]": "backup_path.is_file",
          "source.imports[11]": "bail",
          "source.imports[12]": "bootimage.as_path",
          "source.imports[13]": "bootimage.display",
          "source.imports[14]": "bootimage.display.to_string",
          "source.imports[15]": "buffer.split",
          "source.imports[16]": "buffer.split.filter_map",
          "source.imports[17]": "buffer.split.filter_map.filter",
          "source.imports[18]": "buffer.split.filter_map.filter.collect",
          "source.imports[19]": "c.is_ascii_graphic",
          "source.imports[20]": "calculate_sha1",
          "source.imports[21]": "candidates.into_iter",
          "source.imports[22]": "candidates.into_iter.filter",
          "source.imports[23]": "candidates.into_iter.filter.map",
          "source.imports[24]": "candidates.into_iter.filter.map.collect",
          "source.imports[25]": "cap.get",
          "source.imports[26]": "cap.get.map_or",
          "source.imports[27]": "caps.get",
          "source.imports[28]": "captures.get",
          "source.imports[29]": "captures.get.and_then",
          "source.imports[30]": "captures.get.and_then.ok_or_else",
          "source.imports[31]": "choose_boot_partition",
          "source.imports[32]": "clean_backup",
          "source.imports[33]": "copy",
          "source.imports[34]": "copy.context",
          "source.imports[35]": "current_slot.trim",
          "source.imports[36]": "dd",
          "source.imports[37]": "dd.context",
          "source.imports[38]": "dir.flatten",
          "source.imports[39]": "do_backup",
          "source.imports[40]": "do_cpio_cmd",
          "source.imports[41]": "do_cpio_cmd.is_ok",
          "source.imports[42]": "ensure",
          "source.imports[43]": "ensure_gki_kernel",
          "source.imports[44]": "entry.path",
          "source.imports[45]": "entry.path.extension",
          "source.imports[46]": "entry.path.extension.is_some_and",
          "source.imports[47]": "file.read",
          "source.imports[48]": "file_path.as_ref",
          "source.imports[49]": "find_boot_image",
          "source.imports[50]": "find_magiskboot",
          "source.imports[51]": "flash_boot",
          "source.imports[52]": "format",
          "source.imports[53]": "get_current_kmi",
          "source.imports[54]": "get_current_kmi.unwrap_or_default",
          "source.imports[55]": "get_kernel_version",
          "source.imports[56]": "get_slot_suffix",
          "source.imports[57]": "hasher.finalize",
          "source.imports[58]": "hasher.update",
          "source.imports[59]": "image.is_some",
          "source.imports[60]": "inner",
          "source.imports[61]": "is_kernelsu_patched",
          "source.imports[62]": "is_magisk_patched",
          "source.imports[63]": "kernel.is_some",
          "source.imports[64]": "kmi.map_or_else",
          "source.imports[65]": "kmi.starts_with",
          "source.imports[66]": "kmod.is_some",
          "source.imports[67]": "line.starts_with",
          "source.imports[68]": "m.as_str",
          "source.imports[69]": "name.starts_with",
          "source.imports[70]": "name.to_string_lossy",
          "source.imports[71]": "name.to_string_lossy.to_string",
          "source.imports[72]": "new_boot.map_or_else",
          "source.imports[73]": "out.unwrap_or",
          "source.imports[74]": "out_name.unwrap_or_else",
          "source.imports[75]": "output.stdout.lines",
          "source.imports[76]": "output.stdout.lines.map_while",
          "source.imports[77]": "output_dir.join",
          "source.imports[78]": "parse_kmi",
          "source.imports[79]": "parse_kmi_from_boot",
          "source.imports[80]": "parse_kmi_from_kernel",
          "source.imports[81]": "parse_kmi_from_modules",
          "source.imports[82]": "parse_kmi_from_uname",
          "source.imports[83]": "parse_kmi_from_uname.or_else",
          "source.imports[84]": "part.as_str",
          "source.imports[85]": "part.clone",
          "source.imports[86]": "path.file_name",
          "source.imports[87]": "path.is_file",
          "source.imports[88]": "post_fs_data.join",
          "source.imports[89]": "post_ota",
          "source.imports[90]": "println",
          "source.imports[91]": "ramdisk.as_path",
          "source.imports[92]": "ramdisk.exists",
          "source.imports[93]": "re.captures",
          "source.imports[94]": "re.captures.ok_or_else",
          "source.imports[95]": "reader.read_to_end",
          "source.imports[96]": "reader.read_to_end.context",
          "source.imports[97]": "remove_ksu",
          "source.imports[98]": "s.chars",
          "source.imports[99]": "s.chars.all",
          "source.strings[10]": "- Current OS is not android, refusing auto bootimage/bootdevice detection",
          "source.strings[11]": "- Done!",
          "source.strings[12]": "- Failed to get KMI version",
          "source.strings[13]": "- Flashing new boot image",
          "source.strings[14]": "- Flashing new boot image from {}",
          "source.strings[15]": "- KMI: {kmi}",
          "source.strings[16]": "- No ramdisk, create by default",
          "source.strings[17]": "- Output file is written to",
          "source.strings[18]": "- Patch Error: {e}",
          "source.strings[19]": "- Preparing assets",
          "source.strings[20]": "- Repacking boot image",
          "source.strings[21]": "- Stock image has been backup to",
          "source.strings[22]": "- Trying to auto detect KMI version for {}",
          "source.strings[23]": "- Unpacking boot image",
          "source.strings[24]": "- Warning: Cleanup backup image failed: {e}",
          "source.strings[25]": "- Warning: no backup {} found!",
          "source.strings[26]": "- removed {name}",
          "source.strings[27]": "- {target}",
          "source.strings[28]": "--setrw",
          "source.strings[29]": "/dev/block/by-name/init_boot{slot_suffix}",
          "source.strings[30]": "/dev/block/by-name/{boot_partition_name}{slot_suffix}",
          "source.strings[31]": "/dev/block/by-name/{name}{slot_suffix}",
          "source.strings[32]": "/vendor/lib/modules",
          "source.strings[33]": "Cannot work with Magisk patched image",
          "source.strings[34]": "Failed to compile regex",
          "source.strings[35]": "Failed to copy image",
          "source.strings[36]": "Failed to copy kernel",
          "source.strings[37]": "Failed to copy {name}",
          "source.strings[38]": "Failed to execute magiskboot command",
          "source.strings[39]": "Failed to get KMI from boot/modules",
          "source.strings[40]": "Failed to open kernel file",
          "source.strings[41]": "Failed to read kernel file",
          "source.strings[42]": "Invalid kernel version string",
          "source.strings[43]": "KernelSU",
          "source.strings[44]": "Major version parse error",
          "source.strings[45]": "Minor version parse error",
          "source.strings[46]": "No compatible ramdisk found.",
          "source.strings[47]": "No kernel module found",
          "source.strings[48]": "Parse KMI from modules failed",
          "source.strings[49]": "Patch version parse error",
          "source.strings[50]": "Please specify a boot image",
          "source.strings[51]": "Try to choose LKM manually",
          "source.strings[52]": "add 0755 init init",
          "source.strings[53]": "add 0755 kernelsu.ko kernelsu.ko",
          "source.strings[54]": "add 0755 {BACKUP_FILENAME} {BACKUP_FILENAME}",
          "source.strings[55]": "android",
          "source.strings[56]": "android12-",
          "source.strings[57]": "backup to {target}",
          "source.strings[58]": "banner",
          "source.strings[59]": "blockdev",
          "source.strings[60]": "boot device not found",
          "source.strings[61]": "boot image is not patched by KernelSU",
          "source.strings[62]": "boot image not found",
          "source.strings[63]": "boot.img",
          "source.strings[64]": "copy init failed",
          "source.strings[65]": "copy kernel from failed",
          "source.strings[66]": "copy kernel module failed",
          "source.strings[67]": "copy ksuinit failed",
          "source.strings[68]": "copy magiskboot failed",
          "source.strings[69]": "copy out new boot failed",
          "source.strings[70]": "create temp dir failed",
          "source.strings[71]": "dd if={} of={} failed",
          "source.strings[72]": "exists init",
          "source.strings[73]": "exists init.real",
          "source.strings[74]": "exists kernelsu.ko",
          "source.strings[75]": "exists {BACKUP_FILENAME}",
          "source.strings[76]": "extract {BACKUP_FILENAME} {BACKUP_FILENAME}",
          "source.strings[77]": "flash boot failed",
          "source.strings[78]": "get-current-slot",
          "source.strings[79]": "hal-info",
          "source.strings[80]": "in!2'hb(!,m).\u0026/bin34!453hi",
          "source.strings[81]": "init and module must not be specified.",
          "source.strings[82]": "init_boot",
          "source.strings[83]": "init_boot.cpio",
          "source.strings[84]": "kernel",
          "source.strings[85]": "kernelsu.ko",
          "source.strings[86]": "kernelsu_patched_{}.img",
          "source.strings[87]": "kernelsu_restore_{}.img",
          "source.strings[88]": "ksuinit",
          "source.strings[89]": "magiskboot",
          "source.strings[90]": "magiskboot cpio {cmd} failed",
          "source.strings[91]": "magiskboot repack failed",
          "source.strings[92]": "magiskboot unpack failed",
          "source.strings[93]": "magiskboot unpack failed with status: {status:?}",
          "source.strings[94]": "modinfo",
          "source.strings[95]": "module",
          "source.strings[96]": "mv init init.real",
          "source.strings[97]": "mv init.real init",
          "source.strings[98]": "new-boot.img",
          "source.strings[99]": "only support GKI kernel",
          "source.functions[0]": "calculate_sha1",
          "source.functions[1]": "choose_boot_partition",
          "source.functions[2]": "clean_backup",
          "source.functions[3]": "dd",
          "source.functions[4]": "do_backup",
          "source.functions[5]": "do_cpio_cmd",
          "source.functions[6]": "ensure_gki_kernel",
          "source.functions[7]": "find_boot_image",
          "source.functions[8]": "find_magiskboot",
          "source.functions[9]": "flash_boot",
          "source.imports[100]": "sha.trim",
          "source.imports[101]": "sha1.as_bytes",
          "source.imports[102]": "slot_suffix.is_empty",
          "source.imports[103]": "status.code",
          "source.imports[104]": "status.is_ok",
          "source.imports[105]": "status.success",
          "source.imports[106]": "tmpdir.path",
          "source.imports[107]": "uname.release",
          "source.imports[108]": "uname.release.to_string_lossy",
          "source.imports[109]": "vec",
          "source.imports[110]": "which",
          "source.imports[111]": "which.is_ok",
          "source.imports[112]": "workdir.join",
          "source.imports[113]": "workdir.join.join",
          "source.strings[100]": "post-fs-data.d",
          "source.strings[101]": "post_ota.sh",
          "source.strings[102]": "r\"\n{BOOTCTL_PATH} mark-boot-successful\nrm -f {BOOTCTL_PATH}\nrm -f /data/adb/post-fs-data.d/post_ota.sh\n",
          "source.strings[103]": "r\"(.* )?(\\d+\\.\\d+)(\\S+)?(android\\d+)(.*)",
          "source.strings[104]": "r\"(?:.* )?(\\d+\\.\\d+)(?:\\S+)?(android\\d+)",
          "source.strings[105]": "r\"(\\d+)\\.(\\d+)\\.(\\d+)",
          "source.strings[106]": "ramdisk.cpio",
          "source.strings[107]": "repack",
          "source.strings[108]": "rm kernelsu.ko",
          "source.strings[109]": "ro.boot.slot_suffix",
          "source.strings[110]": "set boot device rw failed",
          "source.strings[111]": "set-active-boot-slot {target_slot}",
          "source.strings[112]": "unpack",
          "source.strings[113]": "vendor_boot",
          "source.strings[114]": "vendor_ramdisk",
          "source.strings[115]": "vermagic",
          "source.strings[116]": "write sha1",
          "source.strings[117]": "{BOOTCTL_PATH} mark-boot-successful\nrm -f {BOOTCTL_PATH}\nrm -f /data/adb/post-fs-data.d/post_ota.sh\n",
          "source.strings[118]": "{KSU_BACKUP_DIR}{filename}",
          "source.strings[119]": "{KSU_BACKUP_FILE_PREFIX}{sha1}",
          "source.strings[120]": "{KSU_BACKUP_FILE_PREFIX}{sha}",
          "source.strings[121]": "{android_version}-{kernel_version}",
          "source.strings[122]": "{kmi}_kernelsu.ko",
          "source.strings[123]": "{result:x}",
          "source.strings[124]": "{} is not exist",
          "source.functions[10]": "get_current_kmi",
          "source.functions[11]": "get_kernel_version",
          "source.functions[12]": "get_slot_suffix",
          "source.functions[13]": "is_kernelsu_patched",
          "source.functions[14]": "is_magisk_patched",
          "source.functions[15]": "list_available_partitions",
          "source.functions[16]": "parse_kmi",
          "source.functions[17]": "parse_kmi_from_boot",
          "source.functions[18]": "parse_kmi_from_kernel",
          "source.functions[19]": "parse_kmi_from_modules",
          "source.functions[20]": "parse_kmi_from_uname",
          "source.functions[21]": "patch",
          "source.functions[22]": "post_ota",
          "source.functions[23]": "restore"
        },
        "id": 0,
        "is": [
          "get_kernel_version",
          "ensure",
          "Ok",
          "uname.release.to_string_lossy",
          "uname.release",
          "re.captures",
          "captures.get.and_then.ok_or_else",
          "captures.get.and_then",
          "captures.get",
          "m.as_str",
          "anyhow",
          "captures.get.and_then.ok_or_else",
          "captures.get.and_then",
          "captures.get",
          "m.as_str",
          "anyhow",
          "captures.get.and_then.ok_or_else",
          "captures.get.and_then",
          "captures.get",
          "m.as_str",
          "anyhow",
          "Ok",
          "Err",
          "anyhow",
          "re.captures.ok_or_else",
          "re.captures",
          "cap.get.map_or",
          "cap.get",
          "m.as_str",
          "cap.get.map_or",
          "cap.get",
          "m.as_str",
          "Ok",
          "format",
          "uname.release.to_string_lossy",
          "uname.release",
          "parse_kmi",
          "entry.path.extension.is_some_and",
          "entry.path.extension",
          "entry.path",
          "entry.path",
          "anyhow",
          "output.stdout.lines.map_while",
          "output.stdout.lines",
          "line.starts_with",
          "parse_kmi",
          "bail",
          "parse_kmi_from_uname.or_else",
          "parse_kmi_from_uname",
          "parse_kmi_from_modules",
          "file_path.as_ref",
          "file.read",
          "hasher.update",
          "hasher.finalize",
          "Ok",
          "format",
          "calculate_sha1",
          "format",
          "println",
          "format",
          "format",
          "workdir.join",
          "sha1.as_bytes",
          "do_cpio_cmd",
          "format",
          "println",
          "println",
          "Ok",
          "println",
          "format",
          "dir.flatten",
          "entry.path",
          "path.is_file",
          "path.file_name",
          "name.to_string_lossy.to_string",
          "name.to_string_lossy",
          "name.starts_with",
          "println",
          "Ok",
          "bail",
          "ensure",
          "dd.context",
          "dd",
          "Ok",
          "get_slot_suffix",
          "kmi.starts_with",
          "format",
          "part.as_str",
          "part.clone",
          "\"boot\".to_string",
          "\"init_boot\".to_string",
          "\"boot\".to_string",
          "slot_suffix.is_empty",
          "\"_b\".to_string",
          "\"_a\".to_string",
          "get_slot_suffix",
          "vec",
          "candidates.into_iter.filter.map.collect",
          "candidates.into_iter.filter.map",
          "candidates.into_iter.filter",
          "candidates.into_iter",
          "format",
          "status.success",
          "Ok",
          "current_slot.trim",
          "format",
          "post_fs_data.join",
          "format",
          "Ok",
          "format",
          "format",
          "ensure",
          "Ok",
          "workdir.join",
          "copy.context",
          "copy",
          "reader.read_to_end.context",
          "reader.read_to_end",
          "buffer.split.filter_map.filter.collect",
          "buffer.split.filter_map.filter",
          "buffer.split.filter_map",
          "buffer.split",
          "s.chars.all",
          "s.chars",
          "c.is_ascii_graphic",
          "re.captures",
          "caps.get",
          "caps.get",
          "format",
          "Ok",
          "println",
          "bail",
          "workdir.join",
          "status.success",
          "bail",
          "parse_kmi_from_kernel",
          "ensure",
          "Ok",
          "Ok",
          "status.code",
          "Some",
          "Ok",
          "status.success",
          "which.is_ok",
          "which",
          "\"magiskboot\".into",
          "workdir.join",
          "ensure",
          "Ok",
          "ensure",
          "println",
          "bail",
          "get_slot_suffix",
          "choose_boot_partition",
          "format",
          "println",
          "workdir.join",
          "dd",
          "ensure",
          "Some",
          "Ok",
          "println",
          "image.is_some",
          "ensure_gki_kernel",
          "kernel.is_some",
          "ensure",
          "tmpdir.path",
          "find_magiskboot",
          "kmi.map_or_else",
          "kmod.is_some",
          "Ok",
          "get_current_kmi",
          "Ok",
          "println",
          "Ok",
          "println",
          "parse_kmi_from_boot",
          "tmpdir.path",
          "println",
          "parse_kmi_from_kernel",
          "tmpdir.path",
          "find_boot_image",
          "find_boot_image",
          "bootimage.as_path",
          "workdir.join",
          "println",
          "workdir.join",
          "println",
          "format",
          "format",
          "workdir.join",
          "println",
          "ensure",
          "workdir.join",
          "ramdisk.exists",
          "workdir.join.join",
          "workdir.join",
          "ramdisk.exists",
          "workdir.join.join",
          "workdir.join",
          "ramdisk.exists",
          "println",
          "\"ramdisk.cpio\".into",
          "ramdisk.as_path",
          "is_magisk_patched",
          "ensure",
          "println",
          "is_kernelsu_patched",
          "do_cpio_cmd",
          "status.is_ok",
          "do_cpio_cmd",
          "do_cpio_cmd",
          "do_cpio_cmd",
          "do_backup",
          "println",
          "println",
          "ensure",
          "workdir.join",
          "out.unwrap_or",
          "out_name.unwrap_or_else",
          "format",
          "output_dir.join",
          "println",
          "println",
          "println",
          "flash_boot",
          "post_ota",
          "println",
          "Ok",
          "inner",
          "println",
          "tmpdir.path",
          "find_magiskboot",
          "get_current_kmi.unwrap_or_default",
          "get_current_kmi",
          "find_boot_image",
          "find_boot_image",
          "println",
          "bootimage.display.to_string",
          "bootimage.display",
          "ensure",
          "workdir.join",
          "ramdisk.exists",
          "workdir.join.join",
          "workdir.join",
          "ramdisk.exists",
          "workdir.join.join",
          "workdir.join",
          "ramdisk.exists",
          "bail",
          "ramdisk.as_path",
          "is_kernelsu_patched",
          "ensure",
          "do_cpio_cmd.is_ok",
          "do_cpio_cmd",
          "format",
          "do_cpio_cmd",
          "format",
          "workdir.join",
          "sha.trim",
          "format",
          "backup_path.is_file",
          "Some",
          "println",
          "clean_backup",
          "println",
          "println",
          "do_cpio_cmd",
          "do_cpio_cmd.is_ok",
          "do_cpio_cmd",
          "do_cpio_cmd",
          "println",
          "ensure",
          "Ok",
          "workdir.join",
          "new_boot.map_or_else",
          "remove_ksu",
          "image.is_some",
          "out_name.unwrap_or_else",
          "format",
          "output_dir.join",
          "println",
          "println",
          "println",
          "flash_boot",
          "Ok"
        ],
        "ms": {
          "file": {
            "size": 29339.0
          },
          "text": {
            "digit_ratio": 0.01,
            "space_count": 7950.0,
            "total_lines": 876.0,
            "char_entropy": 4.66,
            "unique_chars": 88.0,
            "import_density": 32.65,
            "string_density": 0.47,
            "avg_line_length": 32.49,
            "max_line_length": 98.0,
            "empty_line_ratio": 0.13,
            "last_line_length": 1.0,
            "most_common_char": "t",
            "whitespace_ratio": 0.3,
            "most_common_ratio": 0.05,
            "identifier_density": 1.4,
            "line_length_stddev": 24.31,
            "normalized_import_count": 9.66,
            "normalized_string_count": 13.99,
            "repeated_char_sequences": 238.0,
            "suspicious_string_ratio": 0.01,
            "suspicious_comment_ratio": 0.03,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.81,
            "imports_to_functions_ratio": 11.92,
            "strings_to_functions_ratio": 17.25,
            "suspicious_identifier_ratio": 0.03,
            "normalized_unique_identifiers": 21.89,
            "identifiers_to_functions_ratio": 8.92
          },
          "imports": {
            "total": 286.0,
            "unique_modules": 114.0,
            "third_party_count": 286.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 414.0,
            "avg_length": 17.15,
            "max_length": 103.0,
            "path_count": 8.0,
            "avg_entropy": 3.13,
            "total_bytes": 7099.0,
            "entropy_stddev": 0.83,
            "shell_command_strings": 4.0
          },
          "comments": {
            "chars": 1406.0,
            "lines": 31.0,
            "total": 31.0,
            "to_code_ratio": 0.04,
            "high_entropy_comments": 1.0
          },
          "functions": {
            "total": 24.0,
            "length_stddev": 47.26,
            "over_100_lines": 2.0,
            "avg_name_length": 14.42,
            "no_params_count": 24.0,
            "avg_length_lines": 31.08,
            "max_length_lines": 218.0,
            "min_length_lines": 3.0,
            "high_entropy_names": 8.0,
            "numeric_suffix_names": 1.0,
            "density_per_100_lines": 2.74,
            "code_in_functions_ratio": 0.85
          },
          "identifiers": {
            "total": 1228.0,
            "avg_length": 7.97,
            "max_length": 25.0,
            "min_length": 1.0,
            "avg_entropy": 2.44,
            "reuse_ratio": 0.17,
            "unique_count": 214.0,
            "length_stddev": 4.95,
            "has_digit_ratio": 0.02,
            "sequential_names": 6.0,
            "single_char_count": 6.0,
            "single_char_ratio": 0.03,
            "high_entropy_count": 11.0,
            "high_entropy_ratio": 0.05,
            "all_lowercase_ratio": 0.84,
            "all_uppercase_ratio": 0.02,
            "numeric_suffix_count": 5.0
          }
        },
        "ss": [
          [
            439,
            "android"
          ],
          [
            440,
            "android"
          ],
          [
            982,
            "only support GKI kernel"
          ],
          [
            983,
            "only support GKI kernel"
          ],
          [
            1223,
            "r\"(\\d+)\\.(\\d+)\\.(\\d+)"
          ],
          [
            1225,
            "(\\d+)\\.(\\d+)\\.(\\d+)"
          ],
          [
            1463,
            "Major version parse error"
          ],
          [
            1464,
            "Major version parse error"
          ],
          [
            1653,
            "Minor version parse error"
          ],
          [
            1654,
            "Minor version parse error"
          ],
          [
            1843,
            "Patch version parse error"
          ],
          [
            1844,
            "Patch version parse error"
          ],
          [
            1954,
            "Invalid kernel version string"
          ],
          [
            1955,
            "Invalid kernel version string"
          ],
          [
            2085,
            "r\"(.* )?(\\d+\\.\\d+)(\\S+)?(android\\d+)(.*)"
          ],
          [
            2087,
            "(.* )?(\\d+\\.\\d+)(\\S+)?(android\\d+)(.*)"
          ],
          [
            2225,
            "Failed to get KMI from boot/modules"
          ],
          [
            2226,
            "Failed to get KMI from boot/modules"
          ],
          [
            2423,
            "{android_version}-{kernel_version}"
          ],
          [
            2424,
            "{android_version}-{kernel_version}"
          ],
          [
            2824,
            "/vendor/lib/modules"
          ],
          [
            2825,
            "/vendor/lib/modules"
          ],
          [
            2960,
            "ko"
          ],
          [
            2961,
            "ko"
          ],
          [
            3041,
            "No kernel module found"
          ],
          [
            3042,
            "No kernel module found"
          ],
          [
            3104,
            "modinfo"
          ],
          [
            3105,
            "modinfo"
          ],
          [
            3237,
            "vermagic"
          ],
          [
            3238,
            "vermagic"
          ],
          [
            3330,
            "Parse KMI from modules failed"
          ],
          [
            3331,
            "Parse KMI from modules failed"
          ],
          [
            3997,
            "{result:x}"
          ],
          [
            3998,
            "{result:x}"
          ],
          [
            4243,
            "{KSU_BACKUP_FILE_PREFIX}{sha1}"
          ],
          [
            4244,
            "{KSU_BACKUP_FILE_PREFIX}{sha1}"
          ],
          [
            4296,
            "- Backup stock boot image"
          ],
          [
            4297,
            "- Backup stock boot image"
          ],
          [
            4423,
            "{KSU_BACKUP_DIR}{filename}"
          ],
          [
            4424,
            "{KSU_BACKUP_DIR}{filename}"
          ],
          [
            4516,
            "backup to {target}"
          ],
          [
            4517,
            "backup to {target}"
          ],
          [
            4620,
            "write sha1"
          ],
          [
            4621,
            "write sha1"
          ],
          [
            4746,
            "add 0755 {BACKUP_FILENAME} {BACKUP_FILENAME}"
          ],
          [
            4747,
            "add 0755 {BACKUP_FILENAME} {BACKUP_FILENAME}"
          ],
          [
            4824,
            "- Stock image has been backup to"
          ],
          [
            4825,
            "- Stock image has been backup to"
          ],
          [
            4878,
            "- {target}"
          ],
          [
            4879,
            "- {target}"
          ],
          [
            4991,
            "- Clean up backup"
          ],
          [
            4992,
            "- Clean up backup"
          ],
          [
            5047,
            "{KSU_BACKUP_FILE_PREFIX}{sha1}"
          ],
          [
            5048,
            "{KSU_BACKUP_FILE_PREFIX}{sha1}"
          ],
          [
            5605,
            "- removed {name}"
          ],
          [
            5606,
            "- removed {name}"
          ],
          [
            5850,
            "boot device not found"
          ],
          [
            5851,
            "boot device not found"
          ],
          [
            5920,
            "blockdev"
          ],
          [
            5921,
            "blockdev"
          ],
          [
            5949,
            "--setrw"
          ],
          [
            5950,
            "--setrw"
          ],
          [
            6047,
            "set boot device rw failed"
          ],
          [
            6048,
            "set boot device rw failed"
          ],
          [
            6118,
            "flash boot failed"
          ],
          [
            6119,
            "flash boot failed"
          ],
          [
            6398,
            "android12-"
          ],
          [
            6399,
            "android12-"
          ],
          [
            6474,
            "/dev/block/by-name/init_boot{slot_suffix}"
          ],
          [
            6475,
            "/dev/block/by-name/init_boot{slot_suffix}"
          ],
          [
            6682,
            "boot"
          ],
          [
            6683,
            "boot"
          ],
          [
            6691,
            "init_boot"
          ],
          [
            6692,
            "init_boot"
          ],
          [
            6705,
            "vendor_boot"
          ],
          [
            6706,
            "vendor_boot"
          ],
          [
            6757,
            "boot"
          ],
          [
            6758,
            "boot"
          ],
          [
            6951,
            "init_boot"
          ],
          [
            6952,
            "init_boot"
          ],
          [
            6995,
            "boot"
          ],
          [
            6996,
            "boot"
          ],
          [
            7116,
            "ro.boot.slot_suffix"
          ],
          [
            7117,
            "ro.boot.slot_suffix"
          ],
          [
            7234,
            "_a"
          ],
          [
            7235,
            "_a"
          ],
          [
            7271,
            "_b"
          ],
          [
            7272,
            "_b"
          ],
          [
            7340,
            "_a"
          ],
          [
            7341,
            "_a"
          ],
          [
            7431,
            "android"
          ],
          [
            7432,
            "android"
          ],
          [
            7579,
            "boot"
          ],
          [
            7580,
            "boot"
          ],
          [
            7587,
            "init_boot"
          ],
          [
            7588,
            "init_boot"
          ],
          [
            7600,
            "vendor_boot"
          ],
          [
            7601,
            "vendor_boot"
          ],
          [
            7706,
            "/dev/block/by-name/{name}{slot_suffix}"
          ],
          [
            7707,
            "/dev/block/by-name/{name}{slot_suffix}"
          ],
          [
            7849,
            "android"
          ],
          [
            7850,
            "android"
          ],
          [
            8033,
            "hal-info"
          ],
          [
            8034,
            "hal-info"
          ],
          [
            8196,
            "get-current-slot"
          ],
          [
            8197,
            "get-current-slot"
          ],
          [
            8421,
            "0"
          ],
          [
            8422,
            "0"
          ],
          [
            8488,
            "set-active-boot-slot {target_slot}"
          ],
          [
            8489,
            "set-active-boot-slot {target_slot}"
          ],
          [
            8603,
            "post-fs-data.d"
          ],
          [
            8604,
            "post-fs-data.d"
          ],
          [
            8716,
            "post_ota.sh"
          ],
          [
            8717,
            "post_ota.sh"
          ],
          [
            8779,
            "r\"\n{BOOTCTL_PATH} mark-boot-successful\nrm -f {BOOTCTL_PATH}\nrm -f /data/adb/post-fs-data.d/post_ota.sh\n"
          ],
          [
            8782,
            "{BOOTCTL_PATH} mark-boot-successful\nrm -f {BOOTCTL_PATH}\nrm -f /data/adb/post-fs-data.d/post_ota.sh\n"
          ],
          [
            9202,
            "dd"
          ],
          [
            9203,
            "dd"
          ],
          [
            9303,
            "if={}"
          ],
          [
            9304,
            "if={}"
          ],
          [
            9364,
            "of={}"
          ],
          [
            9365,
            "of={}"
          ],
          [
            9483,
            "dd if={} of={} failed"
          ],
          [
            9484,
            "dd if={} of={} failed"
          ],
          [
            9636,
            "android"
          ],
          [
            9637,
            "android"
          ],
          [
            9850,
            "kernel"
          ],
          [
            9851,
            "kernel"
          ],
          [
            9900,
            "Failed to copy kernel"
          ],
          [
            9901,
            "Failed to copy kernel"
          ],
          [
            9976,
            "Failed to open kernel file"
          ],
          [
            9977,
            "Failed to open kernel file"
          ],
          [
            10146,
            "Failed to read kernel file"
          ],
          [
            10147,
            "Failed to read kernel file"
          ],
          [
            10440,
            "r\"(?:.* )?(\\d+\\.\\d+)(?:\\S+)?(android\\d+)"
          ],
          [
            10442,
            "(?:.* )?(\\d+\\.\\d+)(?:\\S+)?(android\\d+)"
          ],
          [
            10491,
            "Failed to compile regex"
          ],
          [
            10492,
            "Failed to compile regex"
          ],
          [
            10730,
            "{}-{}"
          ],
          [
            10731,
            "{}-{}"
          ],
          [
            10848,
            "- Failed to get KMI version"
          ],
          [
            10849,
            "- Failed to get KMI version"
          ],
          [
            10890,
            "Try to choose LKM manually"
          ],
          [
            10891,
            "Try to choose LKM manually"
          ],
          [
            11052,
            "image"
          ],
          [
            11053,
            "image"
          ],
          [
            11109,
            "Failed to copy image"
          ],
          [
            11110,
            "Failed to copy image"
          ],
          [
            11283,
            "unpack"
          ],
          [
            11284,
            "unpack"
          ],
          [
            11354,
            "Failed to execute magiskboot command"
          ],
          [
            11355,
            "Failed to execute magiskboot command"
          ],
          [
            11438,
            "magiskboot unpack failed with status: {status:?}"
          ],
          [
            11439,
            "magiskboot unpack failed with status: {status:?}"
          ],
          [
            11791,
            "cpio"
          ],
          [
            11792,
            "cpio"
          ],
          [
            11891,
            "magiskboot cpio {cmd} failed"
          ],
          [
            11892,
            "magiskboot cpio {cmd} failed"
          ],
          [
            12177,
            "cpio"
          ],
          [
            12178,
            "cpio"
          ],
          [
            12222,
            "test"
          ],
          [
            12223,
            "test"
          ],
          [
            12554,
            "cpio"
          ],
          [
            12555,
            "cpio"
          ],
          [
            12599,
            "exists kernelsu.ko"
          ],
          [
            12600,
            "exists kernelsu.ko"
          ],
          [
            12800,
            "magiskboot"
          ],
          [
            12801,
            "magiskboot"
          ],
          [
            12854,
            "android"
          ],
          [
            12855,
            "android"
          ],
          [
            12929,
            "magiskboot"
          ],
          [
            12930,
            "magiskboot"
          ],
          [
            13244,
            "magiskboot"
          ],
          [
            13245,
            "magiskboot"
          ],
          [
            13303,
            "magiskboot"
          ],
          [
            13304,
            "magiskboot"
          ],
          [
            13364,
            "copy magiskboot failed"
          ],
          [
            13365,
            "copy magiskboot failed"
          ],
          [
            13480,
            "{} is not exist"
          ],
          [
            13481,
            "{} is not exist"
          ],
          [
            14068,
            "boot image not found"
          ],
          [
            14069,
            "boot image not found"
          ],
          [
            14187,
            "android"
          ],
          [
            14188,
            "android"
          ],
          [
            14231,
            "- Current OS is not android, refusing auto bootimage/bootdevice detection"
          ],
          [
            14232,
            "- Current OS is not android, refusing auto bootimage/bootdevice detection"
          ],
          [
            14327,
            "Please specify a boot image"
          ],
          [
            14328,
            "Please specify a boot image"
          ],
          [
            14396,
            "android"
          ],
          [
            14397,
            "android"
          ],
          [
            14607,
            "/dev/block/by-name/{boot_partition_name}{slot_suffix}"
          ],
          [
            14608,
            "/dev/block/by-name/{boot_partition_name}{slot_suffix}"
          ],
          [
            14687,
            "- Bootdevice: {boot_partition}"
          ],
          [
            14688,
            "- Bootdevice: {boot_partition}"
          ],
          [
            14767,
            "boot.img"
          ],
          [
            14768,
            "boot.img"
          ],
          [
            14876,
            "boot image not found"
          ],
          [
            14877,
            "boot image not found"
          ],
          [
            15532,
            "module"
          ],
          [
            15533,
            "module"
          ],
          [
            15661,
            "android"
          ],
          [
            15662,
            "android"
          ],
          [
            15718,
            "false"
          ],
          [
            15719,
            "false"
          ],
          [
            15817,
            "android"
          ],
          [
            15818,
            "android"
          ],
          [
            15868,
            "false"
          ],
          [
            15869,
            "false"
          ],
          [
            16406,
            "android"
          ],
          [
            16407,
            "android"
          ],
          [
            16951,
            "android"
          ],
          [
            16952,
            "android"
          ],
          [
            17114,
            "banner"
          ],
          [
            17115,
            "banner"
          ],
          [
            17196,
            "android"
          ],
          [
            17197,
            "android"
          ],
          [
            17447,
            "init and module must not be specified."
          ],
          [
            17448,
            "init and module must not be specified."
          ],
          [
            17580,
            "KernelSU"
          ],
          [
            17581,
            "KernelSU"
          ],
          [
            17636,
            "create temp dir failed"
          ],
          [
            17637,
            "create temp dir failed"
          ],
          [
            18001,
            "android"
          ],
          [
            18002,
            "android"
          ],
          [
            18219,
            "- {e}"
          ],
          [
            18220,
            "- {e}"
          ],
          [
            18377,
            "- Trying to auto detect KMI version for {}"
          ],
          [
            18378,
            "- Trying to auto detect KMI version for {}"
          ],
          [
            18686,
            "- Trying to auto detect KMI version for {}"
          ],
          [
            18687,
            "- Trying to auto detect KMI version for {}"
          ],
          [
            19020,
            "android"
          ],
          [
            19021,
            "android"
          ],
          [
            19190,
            "android"
          ],
          [
            19191,
            "android"
          ],
          [
            19433,
            "android"
          ],
          [
            19434,
            "android"
          ],
          [
            19580,
            "kernel"
          ],
          [
            19581,
            "kernel"
          ],
          [
            19599,
            "copy kernel from failed"
          ],
          [
            19600,
            "copy kernel from failed"
          ],
          [
            19656,
            "- Preparing assets"
          ],
          [
            19657,
            "- Preparing assets"
          ],
          [
            19717,
            "kernelsu.ko"
          ],
          [
            19718,
            "kernelsu.ko"
          ],
          [
            19819,
            "copy kernel module failed"
          ],
          [
            19820,
            "copy kernel module failed"
          ],
          [
            19949,
            "- KMI: {kmi}"
          ],
          [
            19950,
            "- KMI: {kmi}"
          ],
          [
            19997,
            "{kmi}_kernelsu.ko"
          ],
          [
            19998,
            "{kmi}_kernelsu.ko"
          ],
          [
            20118,
            "Failed to copy {name}"
          ],
          [
            20119,
            "Failed to copy {name}"
          ],
          [
            20194,
            "init"
          ],
          [
            20195,
            "init"
          ],
          [
            20289,
            "copy init failed"
          ],
          [
            20290,
            "copy init failed"
          ]
        ],
        "sz": 29339,
        "ts": [
          {
            "c": 0.20000000298023224,
            "d": "command keyword",
            "e": [
              "command"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::command-dup",
            "l": 1
          },
          {
            "c": 0.20000000298023224,
            "d": "output keyword",
            "e": [
              "output"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::output",
            "l": 1
          },
          {
            "c": 0.699999988079071,
            "d": "\"directory\" path-target noun",
            "e": [
              "directory"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-path-noun-directory",
            "l": 1
          },
          {
            "a": "T1027",
            "c": 0.9399999976158142,
            "d": "Regex component marker",
            "e": [
              "android"
            ],
            "i": "objectives/anti-static/obfuscation/payload/config::arch-keyed-hex-blob-dict--rx-15",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.699999988079071,
            "d": "\"please\" instruction cue",
            "e": [
              "please"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-instruction-cue-please",
            "l": 1
          },
          {
            "c": 0.8399999737739563,
            "d": "\"store\" doc cue (storage instruction)",
            "e": [
              "store"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-send-action-cond-6--inline-11769",
            "l": 1
          },
          {
            "a": "T1573",
            "c": 0.800000011920929,
            "d": "Regex component marker",
            "e": [
              "magic"
            ],
            "i": "micro-behaviors/crypto/asymmetric/kem::encrypted-trailer-terms--rx-7",
            "l": 1,
            "m": "C0027"
          }
        ],
        "sha": "0cae2bb37a42f33aff68e8f35b98c980916efb4d21d422b13c3b138fcd9c0135",
        "path": "boot_patch.rs",
        "type": "rust"
      }
    ],
    "tv": "0a4d2"
  }
}