[llvm-dev] the as-if rule / perf vs. security

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 16 11:31:25 PDT 2016


> I'm less sure if the gaps are on the edges.  I'm worried that you might
> ending up crossing some important address boundary if you look at something
> earlier or later than what the user requested.

Oh yes, you certainly can't do it on the edges in most cases. It can
very easily cross a page boundary and segfault your process.

Cheers.

Tim.


More information about the llvm-dev mailing list