scemu icon indicating copy to clipboard operation
scemu copied to clipboard

maps.write_bytes consider allowing a write that cross two maps

Open sha0coder opened this issue 7 months ago • 2 comments

If a code start writing at the end of a map and continue writting on the beginnig of the next map, that's not logic and it's not allowed on MWEMU, but Windows would allow it (if there is write permission on both maps)

    pub fn write_bytes(&mut self, addr: u64, data: Vec<u8>) {
        //TODO: fix map jump

sha0coder avatar Jun 25 '25 09:06 sha0coder

I think this one is hard because you will need to emulate how windows aslr work. But unless there is a program which we can test I don't think we can emulate with that high precision (except for windows xp).

acheron2302 avatar Jun 25 '25 14:06 acheron2302

yeah, for now I think is more convinient not emulating aslr. For debugging/emulating/automating having predictable addresses is quite nice. This is probably more likely process space simulation than emulation.

sha0coder avatar Jun 25 '25 14:06 sha0coder