Checking for a variable in the executable
Posted
by rboorgapally
on Stack Overflow
See other posts from Stack Overflow
or by rboorgapally
Published on 2010-04-16T15:28:56Z
Indexed on
2010/04/16
15:33 UTC
Read the original article
Hit count: 297
Is there a way to know whether a variable is defined, by looking at the executable.
Lets say I declare
int i;
in the main function. By compiling and linking I get an executable my_program.exe.
Now, by looking inside my_program.exe, can I say if it has an int eger variable i ?
© Stack Overflow or respective owner