Sandboxing on iOS would not stop this sort of thing. Not that this would be useful on iOS, some all the libraries are combined into one file, mapped into every process, and easy to grab from a firmware image. (I guess this could be useful if you’re trying to debug something on an internal install?)
How good is the sand boxing on iOS?