JTAGulator: Assisted Discovery of On-Chip Debug Interfaces