Currently, I am struggling with filtering of global and static
variables defined in the source code by using DIA SDK APIs.
I am using the IDIASymbol interface to extract all global symbols.
This interface provides me the list of all global symbols including
compiler generated variables as well. Is there anyone who can tell me
how to extract only those global variables from PDB file using DIA SDK
which are defined in the source file only.
I have tried to use the API IDIASymbol::get_compilerGenerated but it's
failing everytime on applying with all the global symbols found.