@@ -3,11 +3,7 @@ import semmle.code.cpp.models.interfaces.Taint
3
3
import semmle.code.cpp.models.interfaces.Alias
4
4
import semmle.code.cpp.models.interfaces.SideEffect
5
5
6
- /**
7
- * Pure string functions.
8
- *
9
- * INTERNAL: do not use.
10
- */
6
+ /** Pure string functions. */
11
7
private class PureStrFunction extends AliasFunction , ArrayFunction , TaintFunction ,
12
8
SideEffectFunction {
13
9
PureStrFunction ( ) {
@@ -64,11 +60,7 @@ private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunctio
64
60
}
65
61
}
66
62
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. */
72
64
private class StrLenFunction extends AliasFunction , ArrayFunction , SideEffectFunction {
73
65
StrLenFunction ( ) {
74
66
hasGlobalOrStdName ( [ "strlen" , "strnlen" , "wcslen" ] )
@@ -119,11 +111,7 @@ private class PureFunction extends TaintFunction, SideEffectFunction {
119
111
override predicate hasOnlySpecificWriteSideEffects ( ) { any ( ) }
120
112
}
121
113
122
- /**
123
- * Pure raw-memory functions.
124
- *
125
- * INTERNAL: do not use.
126
- */
114
+ /** Pure raw-memory functions. */
127
115
private class PureMemFunction extends AliasFunction , ArrayFunction , TaintFunction ,
128
116
SideEffectFunction {
129
117
PureMemFunction ( ) { hasGlobalOrStdName ( [ "memchr" , "memrchr" , "rawmemchr" , "memcmp" , "memmem" ] ) }
0 commit comments