[polyspace code prover] How to fix the link errors ?

4 ビュー (過去 30 日間)
dakhlaoui zina
dakhlaoui zina 2016 年 11 月 13 日
コメント済み: dakhlaoui zina 2016 年 11 月 17 日
Hello All,
I am using polyspace Code Prover R2014b; and I want to fix the link errors detected ,
i want to know also if the polyspace continue with the analysis when he detect the links errors or not ?
i have also tryed to surround the link errors with polyspace bug finder R2015b with the declarations mismatch option but i didn't find any errors
thank you very much

採用された回答

Alexandre De Barros
Alexandre De Barros 2016 年 11 月 16 日
編集済み: Alexandre De Barros 2016 年 11 月 17 日
Hello,
Link errors with Code Prover will stop the verification process because they represent an inconsistency in the source code that Code Prover cannot bypass.
Let's take the example of a function which is supposed to return an int in one file
int foo(void);
but that returns a float in another file
float foo(void) { ... }
What is the return type that Polyspace Code Prover should consider? It is not possible for a tool that proves code correctness to continue in this situation. That's why Polyspace stops and display a message showing the inconsistency.
Another page that can help you: http://www.mathworks.com/help/codeprover/troubleshooting-in-polyspace-code-prover.html (paragraph Compilation and Linking)
Best regards,
Alexandre
  1 件のコメント
dakhlaoui zina
dakhlaoui zina 2016 年 11 月 17 日
thank you very much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in Polyspace Products for Ada についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by