An IC test clip, upside down?
This type of style; there are many different makers of similar ones:
DIL Test Clips manufactured in the UK. The AP-Product DIL/ DIP Test Clips are available in 0.3in or 0.6in width and either alloy or gold contacts.
They are normally used on top of an installed IC, to allow probes to be easily attached.
For your application, turn it upside down so the jaws are upwards with the IC also facing upwards, so the test pins are towards the PC. Use short link wires to adapt those back to the PCB holes or socket.
If the pins are corroded, it will likely only be a temporary fix, as the corrosion may continue. If the IC is a ROM / EPROM / EEPROM etc. memory, just use the test clip to read it then program a replacement!