use const when passing cs_insn pointers