mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C++: Refactor Memcpy.qll and include bsl model.
This commit is contained in:
@@ -20,7 +20,7 @@ private class MemcpyFunction extends ArrayFunction, DataFlowFunction, SideEffect
|
||||
// memcpy(dest, src, num)
|
||||
// memmove(dest, src, num)
|
||||
// memmove(dest, src, num, remaining)
|
||||
this.hasGlobalOrStdName(["memcpy", "memmove"])
|
||||
this.hasQualifiedName(["", "std", "bsl"], ["memcpy", "memmove"])
|
||||
or
|
||||
// bcopy(src, dest, num)
|
||||
// mempcpy(dest, src, num)
|
||||
|
||||
Reference in New Issue
Block a user