checkra1n / PongoOS

pongoOS
https://checkra.in
Other
2.51k stars 410 forks source link

Fix BPR bypass on iOS 18 #183

Closed asdfugil closed 5 months ago

asdfugil commented 5 months ago

This PR fixes the BPR bypass in iOS 18.

Siguza commented 5 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 5 months ago

Yeah your suggestion is better, change applied.