diff options
| author | Andrey Konovalov <andreyknvl@gmail.com> | 2017-08-01 18:55:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-01 18:55:46 +0200 |
| commit | 890882a0cf6eeecb32ec0d79cff56660f573b8c9 (patch) | |
| tree | 250340bf3fd2fb02b203e5d3744bfe768aa7d8fe /prog/encodingexec_test.go | |
| parent | 954d506c30317669bbe449fac7e875d71895c67c (diff) | |
| parent | 1172db0ccf077bbfef7ddd176ced61c7140cb698 (diff) | |
Merge pull request #317 from xairy/up-fix-result-enc
prog: fix encoding for exec of result args
Diffstat (limited to 'prog/encodingexec_test.go')
| -rw-r--r-- | prog/encodingexec_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go index b7a6b9463..2d96a47e0 100644 --- a/prog/encodingexec_test.go +++ b/prog/encodingexec_test.go @@ -250,6 +250,13 @@ func TestSerializeForExec(t *testing.T) { instrEOF, }, }, + { + "syz_test$res1(0xffff)", + []uint64{ + callID("syz_test$res1"), 1, argConst, 4, 0xffff, 0, 0, + instrEOF, + }, + }, } buf := make([]byte, ExecBufferSize) |
