how can I get the right instruction type of the functions from elf file which contains mixed thumb and arm intruction?