360 Tech Engineering
Jan 9, 2020 · Fundamentals
Function Call Mechanics and Assembly Implementations of memcpy and memset in glibc
This article explains CPU registers, stack layout, function call conventions, and provides detailed explanations of how glibc implements memcpy and memset both in C and in low‑level assembly, including code snippets and the handling of remaining bytes.
Function CallLow-level programmingassembly
0 likes · 8 min read