Re: Is splint the best for static code checking? I mean free.
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxxxx>
- Date: Mon, 19 Mar 2007 07:52:39 -0700
Måns Rullgård <mans@xxxxxxxxx> writes:
"Bin Chen" <binary.chen@xxxxxxxxx> writes:
int b[3];
main()
{
b[8] = 5;
}
It can't figure out the array overflow access. Any other choice to
splint? I need a free one. Thanks.
I don't think there is any free tool that can do this.
Me neither. For reference, here is Insure++ report:
$ insure gcc -c b.c
[b.c:5] **WRITE_BAD_INDEX**
Writing array out of range: b[8]
b[8] = 5;
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- References:
- Is splint the best for static code checking? I mean free.
- From: Bin Chen
- Re: Is splint the best for static code checking? I mean free.
- From: Måns Rullgård
- Is splint the best for static code checking? I mean free.
- Prev by Date: Re: How to write a program to track the value of a certain variable at run-time using debug features???
- Next by Date: Re: Is splint the best for static code checking? I mean free.
- Previous by thread: Re: Is splint the best for static code checking? I mean free.
- Next by thread: Re: Is splint the best for static code checking? I mean free.
- Index(es):