File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -225,10 +225,16 @@ abstract class DefImpl extends TDefImpl {
225225 )
226226 }
227227
228+ /**
229+ * Holds if this definition is guaranteed to totally overwrite the
230+ * destination buffer.
231+ */
228232 abstract predicate isCertain ( ) ;
229233
234+ /** Gets the value written to the destination variable by this definition. */
230235 abstract Node0Impl getValue ( ) ;
231236
237+ /** Gets the operand that represents the address of this definition, if any. */
232238 Operand getAddressOperand ( ) { none ( ) }
233239}
234240
@@ -1078,6 +1084,10 @@ class GlobalDef extends DefinitionExt {
10781084
10791085 GlobalDef ( ) { impl = this .getImpl ( ) }
10801086
1087+ /**
1088+ * Gets the global (or `static` local) variable written to by this SSA
1089+ * definition.
1090+ */
10811091 GlobalLikeVariable getVariable ( ) { result = impl .getVariable ( ) }
10821092}
10831093
You can’t perform that action at this time.
0 commit comments