Highlighting a specific address in the address space of your process is a bit more complicated and platform dependent. On Unix systems, mmap() will probably be closest to you. Equivalent to Windows VirtualAlloc() . Of course, there are no guarantees, since the address may already be used.
Writing to a specific address is trivial:
 char *p = (char*)0x25D4C3FA; *p = 4; 
I assume that you have good reason to do this.
 source share