What is meaning of "nature of entity"? e.g. kind of function, global variable?
Is there any code to check it?

Also, how to detect the memory section in memory map?
e.g. environment, command line arguments, code/, global initialized data, global uninitialized data, stack, heap etc.
Is there any code to check which kind of memory section?

For example, I got a variable named "x1", what kind of code to check the "nature of the entity" + the "memory section"? Thanks.

6 Years
Discussion Span
Last Post by Ancient Dragon

That's not possible unless you are writing a compiler and then it would be a compile-time check, not a runtime check.

Hi Ancient Dragon, I am new in C programming area.
May I know what is the so-called "compile-time" and "runtime"?

Thanks for helping... =)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.