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

조회 수: 2 (최근 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 CenterFile Exchange에서 Polyspace Code Prover에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by