You can make a function you call to access them! Make the function inline, and 
it will likely not even cost you any time/space in the program. Maybe even 
uglify the global variable name so you change all the references to use the 
accessor function.

> On Mar 21, 2017, at 9:13 AM, Xenia Galinskaya <linuxe...@gmail.com> wrote:
> 
> OK, is it possible to add global variable names to call graph, somehow?
> 
> 2017-03-21 11:22 GMT+02:00 Christoph Lipka <christ...@lipka-koeln.de>:
>>> Am 21.03.2017 um 08:42 schrieb Xenia Galinskaya:
>>> I've a program with lots of global variables, but they are absent in
>>> call graphs.
>>> 
>>> Is it possible to show them in CG?
>> 
>> It's a call graph. It only shows stuff that is called.
>> You don't "call" global variables. You just access them.
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Doxygen-users mailing list
>> Doxygen-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/doxygen-users
> 
> 
> 
> -- 
> С уважением,
> Ксения Галинская.
> 
> (068) 387 3617
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to