aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@colorado.edu>2011-03-31 21:36:53 +0000
committerLenny Maiorani <lenny@colorado.edu>2011-03-31 21:36:53 +0000
commit79d74141b1e89407982ffd350fd4c602d6f547c3 (patch)
tree2d26eabb489cda8717e5ba608fbaf88a9de8bf12 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent5291054ef165530ac0b8f3eae650678f549657b1 (diff)
downloadllvm-79d74141b1e89407982ffd350fd4c602d6f547c3.zip
llvm-79d74141b1e89407982ffd350fd4c602d6f547c3.tar.gz
llvm-79d74141b1e89407982ffd350fd4c602d6f547c3.tar.bz2
Adding Static Analyzer checker for mempcpy().
Models mempcpy() so that if length is NULL the destination pointer is returned. Otherwise, the source and destination are confirmed not to be NULL and not overlapping. Finally the copy is validated to not cause a buffer overrun and the return value is bound to the address of the byte after the last byte copied. llvm-svn: 128677
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions