A Look at Memcpy Assembly
Posted on May 26, 2016
I've been learning x86(-64) assembly on both Mac and Windows. I've been using the resources at Open Security Training as well as as the University of Washington Hardware/Software Interface course. My intent is to read two different selections on Windows and Mac OS internals as well in a quest to get closer to the hardware. One of the exercises was to disassemble memcpy and take a look at what its doing down a particular branch. Found it interesting, so gist is below. If the size of the struct is under 32 bytes,...