News for hackers. Stuff that matters.
Re:Memcpy vs. memmove by makomk on Monday December 01, 2014 @07:38PM (#8685046)
Multi-byte nops have compatibility issues on some of the more obscure 32-bit x86 CPUs, unfortunately: https://sourceware.org/bugzilla/show_bug.cgi?id=13675
Re:Memcpy vs. memmove by pkhuong on Monday December 01, 2014 @08:00PM (#8685106)
Right… you have to check cpuid for the long nop feature. I believe 0x66 0x90 is compatible (but slow, I would expect) with older CPUs.