How to give data ranges to function parameters which are pointers
이전 댓글 표시
While running code prover I got so many Orange warnings and was trying to reduce them by giving data ranges
to function input parameters. But I was not able to input the range for pointer variables.(There is some structure pointer
passed to our functions).
Is there any way of giving data range to pointer variables?
For example in the below code snippet how to give data ranges for a->x,a->y and a->z
typedef volatile struct
{
uint32_t x;
uint32_t y;
uint32_t z;
} GTM_XYZ_Pram_T;
void DD_GTM_XYZ_Init ( GTM_XYZ_Pram_T *a, uint32_t b, uint32_t c, uint32_t d )
{
}
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Code Prover Analysis with Windows or Linux Scripts에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
