RE: [FASM] CopyMem 11-30-2016, 06:01 PM
#6
The misleading thing here is that in most cases while debugging, IDA for instance will replace instances of memcpy with rep movsb, but I'm pretty sure that is a conditional replacement if found that the memory regions do not contain addresses and offsets that interfere with each other. For the most part it's an optimization thing. Things like memmove do support overlapping memory blocks and won't invoke undefined behavior like memcpy will.
(This post was last modified: 11-30-2016, 06:02 PM by bitm0de.)
- mostly braindead monkeys on this forum.



![[+]](https://sinister.li/images/modern/collapse_collapsed.png)