diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2022-10-27 17:01:14 +0000 |
|---|---|---|
| committer | Guillaume Chatelet <gchatelet@google.com> | 2022-11-02 08:55:46 +0000 |
| commit | 3635195e0d54162ba85124fdefcac39bff703149 (patch) | |
| tree | 9d5418180f44dc4af6e820a4b82854e452e3c853 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | be369ea31b98f23c7d8e7a83ea4a1b4cf76b544f (diff) | |
[libc] Improve testing of mem functions
This patch extracts the testing logic from `op_tests.cpp` into
`memory_check_utils.h` so we can reuse it for mem* function integration
tests.
This makes testing consistent and thorough.
For instance this catches a bug that got unnoticed during submission of
D136595 and D135134. Integration test for memcmp was only testing a
single size.
This also leverages ASAN to make sure that data is not read / written
outside permitted boundaries
Differential Revision: https://reviews.llvm.org/D136865
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
