You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run this from Gobra, it will verify successfully, however, passing --printVpr and running it on the generated Viper program will result in an invalid trigger exception.
Within the trigger, there is a 6 + constant_blah_blah which is disallowed.
Silicon output for reference:
Silicon found 1 error in 3.91s:
[0] { (ShArrayloc((sarray(ssliceFromSlice_Ref(raw_V0_CN0, 6, 6 + constant_HopLen_4b5075e4_G())): ShArray[Ref]), sadd((soffset(ssliceFromSlice_Ref(raw_V0_CN0, 6, 6 + constant_HopLen_4b5075e4_G())): Int), i_V2)): Ref) } is not a valid Trigger (test.gobra.vpr@312.31--312.244)
The text was updated successfully, but these errors were encountered:
This issue should no longer apply. On one hand, we fixed an issue where Gobra was generating ill-formed triggers for expressions involving maps. On the other hand, Viper was previously rejecting valid triggers, like the one shown in this example. This should be fixed in recent versions of Viper.
For the following Gobra code:
If you run this from Gobra, it will verify successfully, however, passing
--printVpr
and running it on the generated Viper program will result in an invalid trigger exception.Within the trigger, there is a
6 + constant_blah_blah
which is disallowed.Silicon output for reference:
The text was updated successfully, but these errors were encountered: