Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9071a6

Browse files
committed
C++: Refactor Memcpy.qll and include bsl model.
1 parent 9b8d94d commit a9071a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • cpp/ql/src/semmle/code/cpp/models/implementations

cpp/ql/src/semmle/code/cpp/models/implementations/Memcpy.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private class MemcpyFunction extends ArrayFunction, DataFlowFunction, SideEffect
2020
// memcpy(dest, src, num)
2121
// memmove(dest, src, num)
2222
// memmove(dest, src, num, remaining)
23-
this.hasGlobalOrStdName(["memcpy", "memmove"])
23+
this.hasQualifiedName(["", "std", "bsl"], ["memcpy", "memmove"])
2424
or
2525
// bcopy(src, dest, num)
2626
// mempcpy(dest, src, num)

0 commit comments

Comments
 (0)