diff options
author | Vitaly Buka <vitalybuka@google.com> | 2016-11-12 04:32:31 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2016-11-12 04:32:31 +0000 |
commit | c557191b210650b1726d64d67a8b824b4d47cd5f (patch) | |
tree | e5da85437ef50ea725616e2db140666a63932968 /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | c1f8e1f35c2110cb3d58ccced2af996ba4d0a3eb (diff) | |
download | llvm-c557191b210650b1726d64d67a8b824b4d47cd5f.zip llvm-c557191b210650b1726d64d67a8b824b4d47cd5f.tar.gz llvm-c557191b210650b1726d64d67a8b824b4d47cd5f.tar.bz2 |
[asan] Fix strncmp and strncasecmp interceptors
Summary:
In non-strict mode we will check memory access for both strings from beginning
to either:
1. 0-char
2. size
3. different chars
In strict mode we will check from beginning to either:
1. 0-char
2. size
Previously in strict mode we always checked up to the 0-char.
Reviewers: kcc, eugenis
Subscribers: llvm-commits, kubabrecka
Differential Revision: https://reviews.llvm.org/D26574
llvm-svn: 286708
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
0 files changed, 0 insertions, 0 deletions