We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
1) Use C preprocessor to replace memcpy => my_memcpy2) Write your own and be sure to link first before standard lib is linked.This should work, but not for the case where the compiler uses build-in memcpy/memset in cases like this:char a[4] = {0};But I am sure the manual might give you some hints too.