def clobbers_created_value(self):
    '\n        :return boolean: Returns True if the gadget completely overwrites the value created in the first instruction,\n                         False otherwise.\n        '
    first_instr = self.instructions[0]
    if ((not first_instr.creates_value()) or ('xchg' in first_instr.opcode)):
        return False
    first_family = Instruction.get_operand_register_family(first_instr.op1)
    if (first_family is None):
        return False
    for i in range(1, (len(self.instructions) - 1)):
        cur_instr = self.instructions[i]
        if ((not cur_instr.creates_value()) or ('xchg' in cur_instr.opcode)):
            continue
        if (first_family == Instruction.get_operand_register_family(cur_instr.op1)):
            if (((cur_instr.op2 is None) and (cur_instr.opcode not in ['inc', 'dec', 'neg', 'not'])) or ((cur_instr.op2 is not None) and (not Instruction.is_constant(cur_instr.op2)))):
                return True
    return False
:return boolean: Returns True if the gadget completely overwrites the value created in the first instruction,
                 False otherwise.
def clobbers_created_value(self):
    '\n        :return boolean: Returns True if the gadget completely overwrites the value created in the first instruction,\n                         False otherwise.\n        '
    first_instr = self.instructions[0]
    if ((not first_instr.creates_value()) or ('xchg' in first_instr.opcode)):
        return False
    first_family = Instruction.get_operand_register_family(first_instr.op1)
    if (first_family is None):
        return False
    for i in range(1, (len(self.instructions) - 1)):
        cur_instr = self.instructions[i]
        if ((not cur_instr.creates_value()) or ('xchg' in cur_instr.opcode)):
            continue
        if (first_family == Instruction.get_operand_register_family(cur_instr.op1)):
            if (((cur_instr.op2 is None) and (cur_instr.opcode not in ['inc', 'dec', 'neg', 'not'])) or ((cur_instr.op2 is not None) and (not Instruction.is_constant(cur_instr.op2)))):
                return True
    return False