Re: [Doxygen-users] [Pure C] Global variables in call graph
Brought to you by:
dimitri
|
From: Richard D. <Ri...@Da...> - 2017-03-21 17:15:26
|
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 <lin...@gm...> wrote: > > OK, is it possible to add global variable names to call graph, somehow? > > 2017-03-21 11:22 GMT+02:00 Christoph Lipka <chr...@li...>: >>> 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 >> Dox...@li... >> 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 > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users |