Example #1
0
 def add_opcode(self, subtype, variant=0):
     self.add(
         Opcodes.make_opcode(Opcodes.OPCODE_TYPE_FLOW,
                             subtype,
                             variant=variant))
Example #2
0
 def add_opcode(self):
     self.add(
         Opcodes.make_opcode(Opcodes.OPCODE_TYPE_BINARY,
                             Opcodes.OPCODE_SUBTYPE_BINARY_CAST,
                             Opcodes.OPCODE_VARIANT_A))
Example #3
0
 def add_opcode(self, subtype):
     self.add(Opcodes.make_opcode(Opcodes.OPCODE_TYPE_STACK, subtype))
Example #4
0
 def add_opcode(self, variant):
     self.add(
         Opcodes.make_opcode(Opcodes.OPCODE_TYPE_BINARY,
                             Opcodes.OPCODE_SUBTYPE_BINARY_ADD, variant))