bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9990: valgrind warning in add_row_entry


From: Eli Zaretskii
Subject: bug#9990: valgrind warning in add_row_entry
Date: Tue, 08 Nov 2011 22:35:54 +0200

> From: Andreas Schwab <address@hidden>
> Cc: Dan Nicolaescu <address@hidden>,  address@hidden
> Date: Tue, 08 Nov 2011 19:44:28 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > Does valgrind know that row_table_size is initially zero because it is
> > static?
> 
> valgrind does not know anything about variables, only about memory
> locations.  It operates at the machine language level.

Does that mean valgrind can potentially flag as uninitialized every
static variable that isn't explicitly initialized at run time?
Because AFAIK static variables are initialized by the linker (is that
right?).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]