Re: [Pure C] Global variables in call graph

Richard Damon <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
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 <[email protected]> wrote:
> 
> OK, is it possible to add global variable names to call graph, somehow?
> 
> 2017-03-21 11:22 GMT+02:00 Christoph Lipka <[email protected]>:
>>> 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
>> [email protected]
>> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.