I wish ASAN understood memory page boundaries and masked reads, because it sucks getting people telling you your code fails under ASAN when in fact it is correct code and you have to explain that it is that way on purpose :(
You can disable ASAN for a function, but not for a _part_ of a function, so it's a little dicey. You want to just say "this is a stable read pattern right here - you know what I mean" and then have it _check_ that, and check everything else too...
-
-
that would be even better, but if you're reasonably sure about that function, it is a good way to let people use your code and still use ASan for their own code (and maybe the rest of your code)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
When I was looking into this, I found the internal intrinsics that libc++ was using to manipulate the shadow heap. Maybe possible to use that?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.