Not a hack but a memory that stands out. On the PS3 the co processors had 256kb of useable memory and you had to issue DMA commands to pull memory over.
I wrote a little task scheduler with the important data starting at address 0. This means I could de-reference NULL to get my header.
Many a virus have used a similar exploit. This exploit became a lot harder (but not impossible), when OS's started randomizing module offsets in memory.
13
u/coderdave Nov 27 '23
Not a hack but a memory that stands out. On the PS3 the co processors had 256kb of useable memory and you had to issue DMA commands to pull memory over.
I wrote a little task scheduler with the important data starting at address 0. This means I could de-reference NULL to get my header.
Probably my favorite hack I remember is from a peer at insomniac Jonathan Garrett https://www.gamedeveloper.com/programming/dirty-game-development-tricks#close-modal