Re:OpenBSD: Mandatory enforcement of indirect branch targets
by messe on Friday July 14, 2023 @10:40AM
(#36724656)
Good catch. Yeah, as long as the functions address is never taken the compiler has a lot of leeway with static functions; it can even avoid emitting code for them entirely if it can prove their never called or if it's able to compute their results at compile-time.
[ Parent
| on HN ]