Static analysis will not stop most of the exploits that have happened on iOS/OSX in the recent years.
Often it is a situation where multiple processes are working together and there is a way to trick a privileged process into modifying memory in a way it shouldn't.