Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e812513 authored by Yi-Yo Chiang's avatar Yi-Yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "libfstab_fuzzer: Add dictionary to guide the fuzzer" am: a68b83fd

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1870494

Change-Id: I1900d6576ca0602a085e971a16e17569b6f036dc
parents a8c16a1c a68b83fd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -25,4 +25,11 @@ cc_fuzz {
  shared_libs: [
    "libbase",
  ],

  dictionary: "fstab.dict",
  fuzz_config: {
    cc: [
      "yochiang@google.com",
    ],
  },
}

fs_mgr/fuzz/fstab.dict

0 → 100644
+70 −0
Original line number Diff line number Diff line
"#"
"="
","
"f2fs"

# mount flags
"noatime"
"noexec"
"nosuid"
"nodev"
"nodiratime"
"ro"
"rw"
"sync"
"remount"
"bind"
"rec"
"unbindable"
"private"
"slave"
"shared"
"defaults"

# fs_mgr flags
"wait"
"check"
"nonremovable"
"recoveryonly"
"noemulatedsd"
"notrim"
"verify"
"formattable"
"slotselect"
"latemount"
"nofail"
"verifyatboot"
"quota"
"avb"
"logical"
"checkpoint=block"
"checkpoint=fs"
"first_stage_mount"
"slotselect_other"
"fsverity"
"metadata_csum"
"fscompress"
"overlayfs_remove_missing_lowerdir"

# fs_mgr flags that expect an argument
"reserve_root="
"lowerdir="
"encryptable="
"voldmanaged="
"length="
"swapprio="
"zramsize="
"forceencrypt="
"fileencryption="
"forcefdeorfbe="
"max_comp_streams="
"reservedsize="
"readahead_size_kb="
"eraseblk="
"logicalblk="
"avb_keys="
"avb="
"keydirectory="
"metadata_encryption="
"sysfs_path="
"zram_backingdev_size="