diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-10-16 18:16:10 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-10-16 18:16:10 +0200 |
| commit | f8f416fb8f2ce79d0cbf980ee53ddb68fac850ca (patch) | |
| tree | 16fc267a129cafde8432c62b575a9c4497054e55 /prog/mutation.go | |
| parent | 587db99baa54c04e23c207aaf6a5d05d0e1bb791 (diff) | |
preliminary description of kdbus syscalls
Diffstat (limited to 'prog/mutation.go')
| -rw-r--r-- | prog/mutation.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/prog/mutation.go b/prog/mutation.go index 022bd513e..fd4cef209 100644 --- a/prog/mutation.go +++ b/prog/mutation.go @@ -149,6 +149,8 @@ func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable) { } case sys.LenType: panic("bad arg returned by mutationArgs: LenType") + case sys.ConstType: + panic("bad arg returned by mutationArgs: ConstType") default: panic(fmt.Sprintf("bad arg returned by mutationArgs: %#v, type=%#v", *arg, arg.Type)) } @@ -301,6 +303,9 @@ func mutationArgs(c *Call) (args, bases []*Arg, parents []*[]*Arg) { case sys.LenType: // Size is updated when the size-of arg change. return + case sys.ConstType: + // Well, this is const. + return } if arg.Dir == DirOut { return |
