netzob.Model.Vocabulary.Functions package

Submodules

netzob.Model.Vocabulary.Functions.EncodingFunction module

class EncodingFunction[source]

Bases: netzob.Common.Utils.SortableObject.SortableObject

Represents a function which applies to modify the encoding of a data.

The application of these functions is priorized using a SortedTypedList, hence every filter needs to set their application priority.

static getDefaultEncodingFunction()[source]

Default encoding function applied when the raw data needs to be encoded and when no specific filter is specified by the user.

priority()[source]

Returns the priority of the current encoding filter.

netzob.Model.Vocabulary.Functions.FunctionApplicationTable module

class FunctionApplicationTable(splittedData)[source]

Bases: object

applyFunction(function, i_start, i_end)[source]
getInitialConversionAddressingTable()[source]
getResult()[source]
getSegments(i_start, i_end)[source]
getTags(col, i_local)[source]
insertTagInEncoded(col, i_local, i_global, tag, currentValue)[source]
registerTag(i_col, idTag, i, tag)[source]
updateConversionAddressingTable(old_start, old_end, new_start, new_end)[source]
updateConversionAddressingTableWithTable(table)[source]

netzob.Model.Vocabulary.Functions.TransformationFunction module

class TransformationFunction[source]

Bases: object

Represents a function which applies to transform the data

netzob.Model.Vocabulary.Functions.VisualizationFunction module

class VisualizationFunction(start, end)[source]

Bases: object

Represents a function which applies to modify the visualiation attributes of a data

TYPE = 'VisualizationFunction'
getTags()[source]

netzob.Model.Vocabulary.Functions.all module

Module contents