Re:Detecting a PS2 Emulator: When 1*X does not equal X
by pm215 on Saturday June 08, 2024 @02:07PM
(#40619283)
Were you exploiting an A8 erratum, or detecting "this is an A8" somehow and then making it barf in a less processor specific way?
[ Parent
| on HN ]
Re:Detecting a PS2 Emulator: When 1*X does not equal X
by bobmcnamara on Sunday June 09, 2024 @12:58AM
(#40622155)
A8 erratum. This was ages ago, but if I recall you could place a thumb2 instruction straddling two pages, only one of which was loaded in the TLBs. If you got everything right, the A8 would hang without trapping.
Edit: it was errata #657417, long since scrubbed from arm.com
Re:Detecting a PS2 Emulator: When 1*X does not equal X
by pm215 on Sunday June 09, 2024 @04:03AM
(#40622774)
The A8 errata doc is at https://developer.arm.com/documentation/prdc008070/latest/ these days and does have a description of 657417 with enough detail to make writing a reproducer possible. Instructions crossing page boundaries are tricky beasts :-)
Re:Detecting a PS2 Emulator: When 1*X does not equal X
by bobmcnamara on Sunday June 09, 2024 @09:05AM
(#40624169)
Well look at that! I had searched Google and arm.com for that number. This was definitely it.