def is_COP_intrastack_pivot(self):
    '\n        :return boolean: Returns True if the gadget is a COP Intra-stack pivot gadget. Defined as a gadget that begins\n                         with an additive operation on the stack pointer register. Used to move around in shellcode\n                         during COP exploits. Only restriction on the arithmetic operation is that the second operand\n                         is not a pointer.\n        '
    first_instr = self.instructions[0]
    if ((first_instr.opcode in ['inc', 'add', 'adc', 'sub', 'sbb']) and ('[' not in first_instr.op1)):
        arith_target = Instruction.get_operand_register_family(first_instr.op1)
        if (arith_target == 7):
            if ((first_instr.op2 is None) or ('[' not in first_instr.op2)):
                return True
    return False
:return boolean: Returns True if the gadget is a COP Intra-stack pivot gadget. Defined as a gadget that begins
                 with an additive operation on the stack pointer register. Used to move around in shellcode
                 during COP exploits. Only restriction on the arithmetic operation is that the second operand
                 is not a pointer.
def is_COP_intrastack_pivot(self):
    '\n        :return boolean: Returns True if the gadget is a COP Intra-stack pivot gadget. Defined as a gadget that begins\n                         with an additive operation on the stack pointer register. Used to move around in shellcode\n                         during COP exploits. Only restriction on the arithmetic operation is that the second operand\n                         is not a pointer.\n        '
    first_instr = self.instructions[0]
    if ((first_instr.opcode in ['inc', 'add', 'adc', 'sub', 'sbb']) and ('[' not in first_instr.op1)):
        arith_target = Instruction.get_operand_register_family(first_instr.op1)
        if (arith_target == 7):
            if ((first_instr.op2 is None) or ('[' not in first_instr.op2)):
                return True
    return False