CPP: Remove now redundant special cases.

This commit is contained in:
Geoffrey White
2020-01-17 17:04:57 +00:00
parent 200545d88c
commit fcea3693f9

View File

@@ -80,14 +80,6 @@ predicate functionArgumentMustBeNullTerminated(Function f, int i) {
f.(ArrayFunction).hasArrayInput(i)
or
f instanceof StrcatFunction and i = 0
or
f.hasName("strlen") and i = 0
or
f.hasName("strcmp") and i in [0 .. 1]
or
f.hasName("strchr") and i = 0
or
f.hasName("strstr") and i in [0 .. 1]
}
/**