If you hold your cracked eggs in front of a light bulb, you will see that they have not "self healed" as it would appear. The eggs cracked to begin with because eggs are 74% water and water expands as it freezes. Once the eggs thaw out the insides return to their original volume and the shell appears to self heal. That's because even though the shell is rigid, it also has a slight degree of flexibility and will seek to retain it's shape. Even though the crack may no longer be visible to the naked eye, bacteria can and will still enter the egg.
Having said that, a cracked egg should still be a safe to consume as long as it is used right away (a day at most) and cooked thoroughly (no over easy here). This is true even if the egg was infected with salmonella. However, if the egg was really dirty or covered in poo, I'd likely just throw it away.