How to find a character on or next to a given memory address? (using Visual Studio 2010)

When debugging a Windows application, I wanted to find out if characters can be found in a given memory location (and how). This will be the reverse operation of entering a character in the "Memory" window, which converts the character to its address. But not the other way around.

It is very simple on VxWorks shell and possibly with Linux gdb. It should be possible on VS.

Thanks.

+6
source share
2 answers

When using windbg for debugging, the "ln Address" command will help you check the characters next to the destination address, hope this helps you.

+3
source

If you are lucky and you know the exact address, but don’t know the name of the symbol, try writing the address in the viewing window, and VS will find the symbol. For instance.

(void *)0x6F63E248 -> 0x6f63e248 {My.dll!TMyString<char,CMyMemHeap> *s_psMyAppNameAbbr} void * 
+3
source

Source: https://habr.com/ru/post/921222/


All Articles