@@ -3,11 +3,7 @@ import semmle.code.cpp.models.interfaces.Taint
33import semmle.code.cpp.models.interfaces.Alias
44import semmle.code.cpp.models.interfaces.SideEffect
55
6- /**
7- * Pure string functions.
8- *
9- * INTERNAL: do not use.
10- */
6+ /** Pure string functions. */
117private class PureStrFunction extends AliasFunction , ArrayFunction , TaintFunction ,
128 SideEffectFunction {
139 PureStrFunction ( ) {
@@ -64,11 +60,7 @@ private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunctio
6460 }
6561}
6662
67- /**
68- * String standard `strlen` function, and related functions for computing string lengths.
69- *
70- * INTERNAL: do not use.
71- */
63+ /** String standard `strlen` function, and related functions for computing string lengths. */
7264private class StrLenFunction extends AliasFunction , ArrayFunction , SideEffectFunction {
7365 StrLenFunction ( ) {
7466 hasGlobalOrStdName ( [ "strlen" , "strnlen" , "wcslen" ] )
@@ -119,11 +111,7 @@ private class PureFunction extends TaintFunction, SideEffectFunction {
119111 override predicate hasOnlySpecificWriteSideEffects ( ) { any ( ) }
120112}
121113
122- /**
123- * Pure raw-memory functions.
124- *
125- * INTERNAL: do not use.
126- */
114+ /** Pure raw-memory functions. */
127115private class PureMemFunction extends AliasFunction , ArrayFunction , TaintFunction ,
128116 SideEffectFunction {
129117 PureMemFunction ( ) { hasGlobalOrStdName ( [ "memchr" , "memrchr" , "rawmemchr" , "memcmp" , "memmem" ] ) }
0 commit comments