elf-parser icon indicating copy to clipboard operation
elf-parser copied to clipboard

don't exit() on error

Open darealshinji opened this issue 4 years ago • 0 comments

Instead of calling exit() on an error, can't you just set a flag or something and leave it up to the programmer to decide what to do? Something like this:

elf_parser::Elf_parser elf_parser(file);
if (!elf_parser.success()) return 1;

darealshinji avatar May 30 '21 15:05 darealshinji