|
From: Tom H. <to...@co...> - 2009-01-07 15:08:42
|
Julian Seward wrote:
>> Well my experiments with ptrcheck so far have amounted to be managing to
>> run up our software under it and get lots of false positives ;-)
>
> That's not good. Are they all of any particular form? Can you show
> some details?
All the ones I've looked at so far, other than one which is just us
doing horrible things that hit the limits on what it can do with stack
variables, fall into two groups:
- Buffers allocated on the stack with alloca() which is something
that I don't have a good solution for.
- Constant strings, which obviously have no variable information
associated with them in the DWARF so trigger a warning.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|