Hi,
Thanks Balázs Benics for the reminding to add the [analyzer] tag into the title
My question is that:
I want to find the buffer overflow on the following case, but clang static analyzer can’t report it out, how should I do?
=========== the case ============
int main(int argc, char **argv)
{
int a[10];
for (int i=0; i<=10; i++) {
a[i]=0; <---- array bound over run here
}
}
=========== the case =============
Thanks.