I'm trying to enumerate over all variables in a function using DbgHelp. The only problem I'm facing is that SymEnumSymbols
is scoped, so it doesn't find variables inside if statements for example. I'm aware of SymSetContext
, but that would require me to know the address range in which a scope exists. Does DbgHelp provide any way of enumerating scopes in a function? Or some other way to enumerate local variables?
Asked
Active
Viewed 105 times
4

Kalinovcic
- 492
- 3
- 11