2 ms·
That requires the ability to write to the executable page, which is definitely not allowed on iOS, and not necessarily allowed elsewhere either. It also makes
by eridius 12y ago
That requires the ability to write to the executable page, which is definitely not allowed on iOS, and not necessarily allowed elsewhere either.
It also makes the assumption that a given call to `dispatch_once()` will only ever be called with the same predicate. If it selects among a set of predicates (or is given a predicate by whatever function called it), then NOPing it out would completely break the application.