Worklist Item Code 524: Unsupported Offset Variable

Worklist Item Type

This Worklist Item is a Modelify Limitation

Cause

This occurs when Modelify's Stateflow conversion attempts to create an offset variable for a global or static local pointer variable. An offset variable is used when iterating over a pointer starting from the pointer's base address. The offset variable is much like an index variable of an array access. This is not supported for global or static local variables because it would change the variables address. See Changing Global Pointer Address and Changing Static Pointer Address for more information.

Recommend Solution

Refactor the code to iterate over the pointer using a local variable instead of the global or static local variable directly. This will allow the Stateflow conversion to use the local variable as the offset variable.

Additional Resources

For further support, contact EnSoft Support at support@ensoftcorp.com