All,

FYI one of my colleagues has recently proposed a kernel patch which
implements a family of /dev/byteN virtual devices. These could be used
as a source of arbitrary byte values (see
https://lkml.org/lkml/2014/3/31/466 for more details). /dev/bytes work
more or less similiar to /dev/zero and can be efficiently mmapped to
userspace.

Something like this could theoretically be used to get rid of zero
check in Asan poison checks on Linux systems (we can just mmap
/dev/byte8 to shadow). Portability of generated code would of course
go right out the window...

-Y

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" 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