File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
cpp/ql/lib/semmle/code/cpp/models/interfaces Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,15 @@ abstract class HeuristicAllocationExpr extends Expr {
133
133
134
134
/**
135
135
* Gets a constant multiplier for the allocation size given by `getSizeExpr`,
136
- * in bytes.
136
+ * in bytes. This predicate should be used with caution as it can be
137
+ * inaccurate for allocations identified using heuristics.
137
138
*/
138
139
int getSizeMult ( ) { none ( ) }
139
140
140
141
/**
141
142
* Gets the size of this allocation in bytes, if it is a fixed size and that
142
- * size can be determined.
143
+ * size can be determined. This predicate should be used with caution as it
144
+ * can be inaccurate for allocations identified using heuristics.
143
145
*/
144
146
int getSizeBytes ( ) { none ( ) }
145
147
You can’t perform that action at this time.
0 commit comments