开发者

seing a static variable with hexdump

I am preparing myself for a lecture exam on s开发者_StackOverflow社区ecurity aspects of software development. I would like to know if it is always possible to read the value of a static char array from a binary with hexdump?

If not on what factors does it depend whether I can read the value of it or not with a hexeditor??

thanks,


If you can locate the variable in the memory, you can read it with a hexdump - that's what hexdump programs are for. How easy it is to locate depends on how much information you have about the binary and on what you know about its expected contents.


Assuming C, yes, in the simple case. However, there are methods to obfuscate such variables to limit reverse engineering.


Yes, but only if it is initialized at compile time. You could get more from a core dump or a debugger.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜