Edit

kc3-lang/libxkbcommon/fuzz/keymap/dict

Branch :

  • Show log

    Commit

  • Author : Ran Benita
    Date : 2018-03-11 00:04:05
    Hash : 2cb5c2a3
    Message : Add fuzzing infrastructure Though text formats aren't exactly fuzzer's strong suit, fuzzers can catch many surface-level bugs. The fuzz/ directory contains target programs, testcases and dictionaries to drive the afl fuzzer. This commit adds a fuzzer for the XKB keymap text format and the Compose text format. On my slow machine, using a single core, a full cycle of the XKB fuzzer takes 5 hours. For Compose, it takes a few minutes. Fuzzing for the other file formats (rules files mostly) will be added later. To do some fuzzing, run `./fuzz/fuzz.sh`. Signed-off-by: Ran Benita <ran234@gmail.com>

  • fuzz/keymap/dict
  • "Control"
    "Group1"
    "Group5"
    "Lock"
    "Mod1"
    "Mod9"
    "Shift"
    "U1"
    "0x1"
    "Up"
    "accel"
    "action"
    "actions"
    "affect"
    "alias"
    "all"
    "allowexplicit"
    "allownone"
    "alphanumeric_keys"
    "alternate"
    "alternate_group"
    "any"
    "augment"
    "both"
    "button"
    "clearLocks"
    "clearmods"
    "controls"
    "count"
    "ctrls"
    "data"
    "default"
    "dev"
    "device"
    "dfltbtn"
    "driveskbd"
    "false"
    "foo"
    "function_keys"
    "genKeyEvent"
    "group"
    "groupname"
    "groups"
    "groupsclamp"
    "groupsredirect"
    "groupswrap"
    "hidden"
    "include"
    "increment"
    "index"
    "indicator"
    "indicatordriveskbd"
    "interpret"
    "kc"
    "key"
    "keycode"
    "keypad_keys"
    "keys"
    "latchToLock"
    "leddriveskbd"
    "levelname"
    "lock"
    "locking"
    "logo"
    "map"
    "mod_map"
    "modifier_keys"
    "modifier_map"
    "modifiers"
    "modmap"
    "modmapmods"
    "mods"
    "name"
    "neither"
    "no"
    "none"
    "nosymbol"
    "off"
    "on"
    "outline"
    "overlay"
    "override"
    "partial"
    "preserve"
    "radiogroup"
    "repeat"
    "replace"
    "report"
    "row"
    "same"
    "sameServer"
    "screen"
    "section"
    "shape"
    "solid"
    "symbols"
    "text"
    "true"
    "type"
    "unlock"
    "usemodmap"
    "value"
    "virtual"
    "virtual_modifiers"
    "virtualmod"
    "vmods"
    "voidsymbol"
    "whichgroupstate"
    "whichmodstate"
    "x"
    "xkb_compat"
    "xkb_geometry"
    "xkb_keycodes"
    "xkb_keymap"
    "xkb_layout"
    "xkb_semantics"
    "xkb_symbols"
    "xkb_types"
    "y"
    "yes"