> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Thursday, 29 February 2024 23.58
>
> Rte_memcpy should not be used for the simple case of copying
> a fix size structure because it is slower and will hide problems
> from code analysis tools. Coverity, fortify and other analyze
Rte_memcpy should not be used for the simple case of copying
a fix size structure because it is slower and will hide problems
from code analysis tools. Coverity, fortify and other analyzers
special case memcpy().
Gcc (and Clang) are smart enough to inline copies which
will be faster.
Signed-off-b
2 matches
Mail list logo