[PATCH] D52002: Switch optimization for known maximum switch values

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 14:08:56 PDT 2018


efriedma added a comment.

Anyone have any thoughts about potential security implications for this?  Normally, I wouldn't really care about assuming code never has undefined behavior, but an indirect jump to an arbitrary address is much easier to exploit than other sorts of undefined behavior.


https://reviews.llvm.org/D52002





More information about the llvm-commits mailing list