diff options
| author | Julian Lettner <julian.lettner@apple.com> | 2021-12-16 19:33:12 -0800 |
|---|---|---|
| committer | Julian Lettner <julian.lettner@apple.com> | 2021-12-17 15:38:08 -0800 |
| commit | 4399f3b6b0df2aa2c57e4a3049f5494b53f6921c (patch) | |
| tree | c0bd4d10ab6636071b01ba1d0972932752998ccf /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 96aa1e73b3da2252fda883d07cc0600167fc7c79 (diff) | |
| download | llvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.zip llvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.tar.gz llvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.tar.bz2 | |
[TSan][Darwin] Make malloc_size interceptor more robust
Previously we would crash in the TSan runtime if the user program passes
a pointer to `malloc_size()` that doesn't point into app memory.
In these cases, `malloc_size()` should return 0.
For ASan, we fixed a similar issue here:
https://reviews.llvm.org/D15008
Radar-Id: rdar://problem/86213149
Differential Revision: https://reviews.llvm.org/D115947
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
