Hi, Given an instruction ptr instr, and a Function ptr func, can I simply check if func == instr->get_parent()->get_parent() to see if this instruction is still in this Function? We can also look up this instruction in the blocks of this function. But this may take more time. Thanks. -- Jianzhou