bind9/cocci/memcpy.spatch
Ondřej Surý 60760420aa
Update the semantic patches to use new development ideas
Co-Authored-By: Markus Elfring <Markus.Elfring@web.de>
2025-10-08 17:22:10 +02:00

10 lines
117 B
Text

@has_string_h@
@@
#include <string.h>
@depends on has_string_h@
expression D, S, N;
@@
-memcpy
+memmove
(D, S, N);