use mmap instead of reading the whole file during regex search to limit unecessary memory usage
do not process the symtab symbol table section
merge the two ShellCommand functions