the SDK they use is licenced from Sony, and basically bridges PC-based development with direct testing on nonlocked consoles with basic debug functions display (the rest's checked in the dev PCs)
they know beforehand how to restrict their games' content so it fits optimized on the actual console. Last time I checked, it was pretty restrictive compared to xbox and gcube, 3d stuff-wise