aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encodingexec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encodingexec_test.go')
-rw-r--r--prog/encodingexec_test.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go
index 94064c317..5a0e35750 100644
--- a/prog/encodingexec_test.go
+++ b/prog/encodingexec_test.go
@@ -403,6 +403,30 @@ func TestSerializeForExec(t *testing.T) {
},
nil,
},
+ {
+ "test$excessive_fields1(0x0)",
+ []uint64{
+ callID("test$excessive_fields1"), ExecNoCopyout, 1, execArgConst, ptrSize, 0x0,
+ execInstrEOF,
+ },
+ nil,
+ },
+ {
+ "test$excessive_fields1(0xffffffffffffffff)",
+ []uint64{
+ callID("test$excessive_fields1"), ExecNoCopyout, 1, execArgConst, ptrSize, 0xffffffffffffffff,
+ execInstrEOF,
+ },
+ nil,
+ },
+ {
+ "test$excessive_fields1(0xfffffffffffffffe)",
+ []uint64{
+ callID("test$excessive_fields1"), ExecNoCopyout, 1, execArgConst, ptrSize, 0x9999999999999999,
+ execInstrEOF,
+ },
+ nil,
+ },
}
buf := make([]byte, ExecBufferSize)