Skip to content
Commit 25f5913d authored by Alexey Samsonov's avatar Alexey Samsonov
Browse files

[MSan] Clear parameters shadow before invoking malloc/free hooks.

MSan runtime is not itself instrumented, so we need to explicitly
clear shadow for function arguments before calling user-provided
functions from runtime (e.g. we already do this for several
interceptors).

I'm still crafting a test case that would demonstrate this issue
reliably, and will commit it later today.

llvm-svn: 258339
parent a34ce95b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment