File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ sub check_source {
5050 push @{$troubles -> {unwanted_free }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b free\s *\( / ;
5151 push @{$troubles -> {unwanted_memset }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b memset\s *\( / ;
5252 push @{$troubles -> {unwanted_memcpy }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b memcpy\s *\( / ;
53+ push @{$troubles -> {unwanted_memmove }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b memmove\s *\( / ;
5354 push @{$troubles -> {unwanted_memcmp }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b memcmp\s *\( / ;
5455 push @{$troubles -> {unwanted_strcmp }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b strcmp\s *\( / ;
5556 push @{$troubles -> {unwanted_clock }}, $lineno if $file =~ / ^src\/ .*\. c$ / && $l =~ / \b clock\s *\( / ;
Original file line number Diff line number Diff line change 3030#ifndef XMEMCPY
3131#define XMEMCPY memcpy
3232#endif
33+ #ifndef XMEMMOVE
34+ #define XMEMMOVE memmove
35+ #endif
3336#ifndef XMEMCMP
3437#define XMEMCMP memcmp
3538#endif
You can’t perform that action at this time.
0 commit comments