by sneakernets · 7y ago · 0 comments
Good.
If you want as much security as you can get in an unsafe environment, you're going to need to write the entire routine yourself, sometimes on a level down to the bare metal if you have to.
You can also just write it in a separate assembler file and then the C compiler does not see it.
That leaves just the linker, and most optimizing linkers will treat code outside of the purview of the compiler as a "black-box" otherwise you wouldn't be able to link with code that makes system-calls.
TL;DR: It doesn't affect it.