Home | History | Annotate | Download | only in ifuzz

Lines Matching refs:Mode

26 	Mode   int  // bitmask of compatible modes
59 Mode int // one of ModeXXX
90 for mode := 0; mode < ModeLast; mode++ {
92 if insn.Mode&(1<<uint(mode)) == 0 {
96 modeInsns[mode][typeExec] = append(modeInsns[mode][typeExec], insn)
98 modeInsns[mode][typePriv] = append(modeInsns[mode][typePriv], insn)
99 modeInsns[mode][typeAll] = append(modeInsns[mode][typeAll], insn)
101 modeInsns[mode][typeUser] = append(modeInsns[mode][typeUser], insn)
102 modeInsns[mode][typeAll] = append(modeInsns[mode][typeAll], insn)
108 // ModeInsns returns list of all instructions for the given mode.
111 if cfg.Mode < 0 || cfg.Mode >= ModeLast {
112 panic("bad mode")
115 insns = append(insns, modeInsns[cfg.Mode][typeUser]...)
117 insns = append(insns, modeInsns[cfg.Mode][typePriv]...)
119 insns = append(insns, modeInsns[cfg.Mode][typeExec]...)
203 insns = modeInsns[cfg.Mode][r.Intn(3)]
205 insns = modeInsns[cfg.Mode][r.Intn(2)]
207 insns = modeInsns[cfg.Mode][typeUser]
217 n, err := Decode(cfg.Mode, text)
247 if cfg.Mode < 0 || cfg.Mode >= ModeLast {
248 panic("bad mode")
256 if insn.Mode&(1<<uint(cfg.Mode)) == 0 {