Polyspace Code Prover taking too much time to analyse the hand written C code which is having recursive structures

5 ビュー (過去 30 日間)
While doing static analysis for hand written C code which contains recursive structures, poyspace code prover takes too long time to analyse the code and consuming too much RAM memory and failing analysis suddenly.
And I can see the warning like "Intialization of recursive filelds is imprecise to break recursion".
please provide the solution if any?
Thank you!
  2 件のコメント
Anirban
Anirban 2020 年 2 月 20 日
Please contact MathWorks Technical Support with the question:
The solution depends on the Polyspace version, the analysis configuration and the source code. It is not obvious if the recursive structures are stopping the analysis. If the recursion goes too deep, it is broken explicitly so that the analysis does not fail (with the result being imprecise with more orange or unproven checks). So the reason for the analysis failure would be something different.
Venkata Narendra
Venkata Narendra 2020 年 2 月 21 日
Thanks for your answer Anirban,
Actually I am using R2019a polyspace code prover. But the tool is taking too much RAM memory too analyse the code in that case the code analysis is failing.
And even I used one option in the configuration of the tool
Scaling->Depth of verification inside structure given as 2 then also no improvement.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGenerate Report についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by