diff --git a/pkg/vm/vm.go b/pkg/vm/vm.go index 6ecfbd9e4..a12516ee3 100644 --- a/pkg/vm/vm.go +++ b/pkg/vm/vm.go @@ -24,8 +24,10 @@ var ( ) const ( - maxSHLArg = 256 - minSHLArg = -256 + // MaxArraySize is the maximum array size allowed in the VM. + MaxArraySize = 1024 + maxSHLArg = 256 + minSHLArg = -256 ) // VM represents the virtual machine.