prevent uninitialized memory access by declaring tab array static and classify elf file by type (object, executable, shared library, core dump)