# Path: lib/StartVal.py
# ASSEMBLER_64 = 64
# ASSEMBLER_32 = 32


import distorm3
from lib import StartVal as SV
# -*- coding: utf-8 -*-
"""
@author: Tobias
"""




class Instruction(object):
    """
    @brief Implements the interface to distorm3 Instructions
    """

    def __init__(self, offset, code, type = distorm3.Decode32Bits, feature = 0):
        """
        @param offset Address of the instruction
        @param code Opcode bytes of the instruction
        @param type Dissassemble 32 or 64 bit code
        @param feature Possible settings for distrom3
        not used at the moment
        """
        self.valid = False

# Path: lib/StartVal.py
# ASSEMBLER_64 = 64
# ASSEMBLER_32 = 32


# Path: lib/Instruction.py
import distorm3
from lib import StartVal as SV

# -*- coding: utf-8 -*-
"""
@author: Tobias
"""




class Instruction(object):
    """
    @brief Implements the interface to distorm3 Instructions
    """

    def __init__(self, offset, code, type = distorm3.Decode32Bits, feature = 0):
        """
        @param offset Address of the instruction
        @param code Opcode bytes of the instruction
        @param type Dissassemble 32 or 64 bit code
        @param feature Possible settings for distrom3
        not used at the moment
        """
        self.valid = False

        if SV.dissassm_type == 64: