How to verify core dump is usable