I have this piece of code written for Unix which I am trying to port to Windows. The code is as follows.
int fd;
off_t fp = 0xE0000;
const char *devmem = "/dev/mem"
fd = open(devmem, O_RDONLY);
lseek (fd, fp, SEEK_SET);
In UNIX you can treat memory as a file device but can this be done in windows (without crashing the system). If not is there an alternative? I am basically trying to read the memory between 0x000E00000 and 0x000F00000 locations.
int fd;
off_t fp = 0xE0000;
const char *devmem = "/dev/mem"
fd = open(devmem, O_RDONLY);
lseek (fd, fp, SEEK_SET);
In UNIX you can treat memory as a file device but can this be done in windows (without crashing the system). If not is there an alternative? I am basically trying to read the memory between 0x000E00000 and 0x000F00000 locations.