TransformationAddParameters randomly adds new parameters to the function. However, we must make sure that we don't exceed the universal limit on this quantity which is 255 as of today (section 2.17 is SPIR-V spec). We also wouldn't want to end up having all functions with the 255 parameters. Thus, we are using a custom limit - 128 in FuzzerContext. Consider whether there is a better alternative for this number.
TransformationAddParameters
randomly adds new parameters to the function. However, we must make sure that we don't exceed the universal limit on this quantity which is255
as of today (section 2.17 is SPIR-V spec). We also wouldn't want to end up having all functions with the255
parameters. Thus, we are using a custom limit -128
inFuzzerContext
. Consider whether there is a better alternative for this number.