PS Code Prover - Tooltip text expand, get fully list
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all.
I'm investigating Orange findings in PS Code Prover. Within the Non-init. pointer finding,
the tooltip shows me where the pointer may point to. But not all variables/structures are listed.
At the end of the tooltip text "...(total: 8)." is displayed.
Question: How to get the complete list where the pointer may point to? or how to expand the tooltip text?
Can I create a special report where to find this info? - i.e. a developer report does not contain this info.
BR and TY for your help & time.
Thomas
댓글 수: 0
채택된 답변
Anirban
2021년 4월 28일
편집: Anirban
2021년 4월 28일
Hi,
Unfortunately, as of now, there is no way to see the full list. However, to investigate a Non-initialized pointer finding, you do not need this list (in some sense, you need its complement). You need to know whether it is possible that the pointer is never assigned an address along some path in your code.
An orange non-initialized pointer finding means that there is some path along which the pointer itself is not assigned an address. For instance, a simple case is if the assignment happens inside an if block with no else. If the if condition is not satisfied, the pointer is not initialized. Your investigation will involve finding this path (or maybe there is no such path and the result comes from some approximation Polyspace made. If you determine this is the case, you can add a justification to the result). See more details of tools available in the UI for further investigation in Review and Fix Non-initialized Pointer Checks.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Generate Reports에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!