Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 906 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 906 Bytes

iscoredump Average time to resolve an issue Percentage of issues still open

iscoredump answers a simple question: "is this file a core dump"?

Usage

Iscoredump returns a non-zero exit code if the provided file is not a core dump, allowing you to integrate it into your scripts.

➜  iscoredump ./core
ELF type: Core
➜  echo $?
0
➜  iscoredump /bin/true
ELF type: Executable
➜  echo $?
1
➜  mv core icouldbeanexecutable_youdontknowme
➜  iscoredump icouldbeanexecutable_youdontknowme
ELF type: Core
➜  echo $?
0