How do I get polyspace to recognise AUTOSAR exclusive areas?
5 ビュー (過去 30 日間)
古いコメントを表示
Recently I added the -autosar-multitasking <OS arxml file> option to Polyspace bugfinder R2023b. Immediately I got a lot of new warnings about variables being accessed non-atomically from different tasks. So far, so good.
But: I am getting a lot of false positives, where variable access is correctly protected by AUTOSAR exclusive areas implemented by disabling interrupts or taking a spinlock. How do I make Polyspace aware of these exclusive areas?
I tried also including the RTE arxml file, where the implementation of these areas is defined, but that did not help.
0 件のコメント
採用された回答
Anirban
2023 年 11 月 28 日
Please contact MathWorks Technical Support for more help with the problem: https://www.mathworks.com/support/contact_us.html
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Code Prover Analysis of AUTOSAR Code についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!