We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f5734 commit 52f8f04Copy full SHA for 52f8f04
cpp/ql/lib/semmle/code/cpp/models/implementations/StdMath.qll
@@ -51,6 +51,12 @@ private class Remquo extends Function, SideEffectFunction {
51
override predicate hasOnlySpecificReadSideEffects() { any() }
52
53
override predicate hasOnlySpecificWriteSideEffects() { any() }
54
+
55
+ override predicate hasSpecificWriteSideEffect(ParameterIndex i, boolean buffer, boolean mustWrite) {
56
+ this.getParameter(i).getUnspecifiedType() instanceof PointerType and
57
+ buffer = false and
58
+ mustWrite = true
59
+ }
60
}
61
62
private class Fma extends Function, SideEffectFunction {
0 commit comments