Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did you know what to patch?

Sounds like a potential GDC or Gamasutra writeup.



We could detect if the simulation diverged. Then we had to replay deterministicly up to the frame of divergence and then break on various things that cause divergence. Floating point underflow/overflow, NaN, uninitialized memory access, divide by zero, etc. If my memory serves correct, the physx code referenced uninitialized memory. We had to patch their binary to initialize it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: