Esempio n. 1
0
    def __init__(self, text):
        AbstractValue.__init__(self, "TextValue")
        # create logger with the given configuration
        self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.TextValue.py')

        self.strtext = text
        self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
Esempio n. 2
0
    def __init__(self):
        AbstractValue.__init__(self, "Aggregate")
        # create logger with the given configuration
        self.log = logging.getLogger(
            'netzob.Common.MMSTD.Dictionary.Values.Aggregate.py')

        self.values = []
Esempio n. 3
0
 def __init__(self, variable, resetCondition):
     AbstractValue.__init__(self, "VarValue")
     # create logger with the given configuration
     self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.VarValue.py')
     self.log.debug("VarValue : " + str(variable))
     self.variable = variable
     self.resetCondition = resetCondition
Esempio n. 4
0
 def __init__(self, variable, resetCondition):
     AbstractValue.__init__(self, "VarValue")
     # create logger with the given configuration
     self.log = logging.getLogger(
         'netzob.Common.MMSTD.Dictionary.Values.VarValue.py')
     self.log.debug("VarValue : " + str(variable))
     self.variable = variable
     self.resetCondition = resetCondition
Esempio n. 5
0
    def __init__(self, text):
        AbstractValue.__init__(self, "TextValue")
        # create logger with the given configuration
        self.log = logging.getLogger(
            'netzob.Common.MMSTD.Dictionary.Values.TextValue.py')

        self.strtext = text
        self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
Esempio n. 6
0
 def __init__(self):
     AbstractValue.__init__(self, "EndValue")
     # create logger with the given configuration
     self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.EndValue.py')