문제

I am preparing myself for a lecture exam on security 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top