Comment #3 on issue 3645 by [email protected]: MSan vs. Serializer: Fight!
https://code.google.com/p/v8/issues/detail?id=3645

The plan I outlined does not require any special handling of strings. While serializing an arbitrary object, you would query MSan about uninitialized bytes within that object. You would then store information about which bytes (bits, actually) are uninitialized along with the object's representation.

Is there a way to mark a particular function to exempt it from MSAN's scrutiny?

There's __attribute__((no_sanitize_memory)). It suppresses MSan reports and marks any memory written to by that function as initialized.

Depending on what specifically is going on in your code, this may not be appropriate. For instance, if you pass uninitialized memory to write(), the attribute will not help. Can I see the code and the MSan report?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to