[MemProfile] Add elf parsing