Promela Reference -- hidden(2)

Promela

Declarator

hidden


NAME
hidden - for excluding data from the state descriptor during verification.

SYNTAX
hidden typename ivar

DESCRIPTION
The keyword hidden can be used to prefix the declaration of any variable to exclude the value of that variable from the definition of the global system state. The addition of this prefix can affect only the verification process, by potentially changing the outcome of state matching operations.

EXAMPLES

NOTES
The prefix should only be used for write-only scratch variables. Alternatively, the predefined write-only scratch variable _ (underscore) can always be used instead of a hidden integer variable.

It is safe to use hidden variables as pseudo-local variables inside d_step sequences, provided that they are not referenced anywhere outside that sequence.

SEE ALSO
_
datatypes
local
show


Spin Online References
Promela Manual Index
Promela Grammar
Spin HomePage
(Page updated: 28 November 2004)