checkra1n / PongoOS

pongoOS
https://checkra.in
Other
2.49k stars 405 forks source link

Fix BPR bypass on iOS 18 #183

Closed asdfugil closed 4 months ago

asdfugil commented 4 months ago

This PR fixes the BPR bypass in iOS 18.

Siguza commented 4 months ago

Is the lack of break in the new if clause intentional? If not, I'd prefer if the clause above was instead modified to:

} else if ((insn_stream[i] & 0xfff8ffff) == 0xe1900200) { // orrs r0, r{0-7}, r0, lsl 4
asdfugil commented 4 months ago

Yeah your suggestion is better, change applied.