On Fri Dec 5 16:17:46 2025 +0000, Alfred Agrell wrote:
Isn't this stuff needed for every function pointer target, including every cross-dll operation (dllexport, callbacks, COM, etc)? Which is (to my knowledge) most of our asm functions. Another option would be find some Linux syscall to disable the check for branch target instructions. We most likely need that to deal with user-provided ARM-native exe files, anyways. (Disclaimer: I haven't tested any of this, nor do I have any hardware that needs such instructions, I'm just speculating. Needs more testing on real hardware.)
No, it's only for targets of indirect jumps/calls, and only on the Unix side at this point.