How can I set in Polyspace a *Pointer_TO_BOOLEAN to be recognized as an effective boolean type?

1 回表示 (過去 30 日間)
How can I set in Polyspace to recognize that a dereferenced pointer to Boolean (*Pointer_To_Boolean)is an effective boolean type? Because it recongnizes it as an unsigned char (Boolean type is "typedef unsigned char BOOL").
Thank you,
Cristian PASCALAU
  2 件のコメント
Lucas Lebert
Lucas Lebert 2016 年 12 月 7 日
To my knowledge this is not possible.
Lorenz Mende
Lorenz Mende 2017 年 6 月 23 日
Hi Lucas, I think this is related to a bug with the effective tpye. We experienced a similar behavior with MISRA-C:2012 rules 10.3, currently we are updating to R2017a to look if the bug is fixed. I report if I have a solution.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePolyspace Code Prover についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by