vspyx.Dissector
Package Contents
Classes
Dissecting |
|
Engine |
|
Expression |
|
Field |
|
FieldDefinition |
|
FieldDefinitionFactory |
|
FieldInstance |
|
Hook |
|
Message |
|
Module |
|
Protocol |
|
ProtocolInstance |
|
State |
|
Tag |
- class vspyx.Dissector.Dissecting
Bases:
vspyx.Core.Object
Dissecting
- CurrentBit :vspyx.Core.Numeric
- CurrentByte :vspyx.Core.Numeric
- CurrentData :vspyx.Core.BytesView
- AddProtocolInstance(self, protocolInstance: ProtocolInstance) Any
- AdvanceCurrentBit(self, amount: vspyx.Core.Numeric) Any
- CheckSpaceLeft(self, more: vspyx.Core.Numeric) bool
- GetFieldInstance(self, field: Tag) FieldInstance
- static GetFieldRef(inst: FieldInstance) Field
- GetRangeValue(self, bit_start: int, bit_end: int, is_big_endian: bool) Any
- static GetTagRef(field: Field) Tag
- static GetTagRef(inst: FieldInstance) Tag
- static New(engine: Engine, frame: vspyx.Frames.Frame) Dissecting
- static New(engine: Engine, data: vspyx.Core.BytesView) Dissecting
- class vspyx.Dissector.Engine
Bases:
vspyx.Core.ResolverObject
Engine
- DissectFrame(self, frame: vspyx.Frames.Frame) Message
- class vspyx.Dissector.Expression
Bases:
vspyx.Core.Object
Expression
- class Token
Token
- class OperatorType
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- Add = 0
- And = 12
- Divide = 2
- Equal = 5
- GreaterThen = 7
- GreaterThenEqualTo = 8
- LessThen = 9
- LessThenEqualTo = 10
- Multiply = 3
- Not = 13
- NotEqual = 6
- Or = 11
- Power = 4
- Subtract = 1
- class TokenType
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- Operand = 1
- Operator = 0
- Tokens = 3
- Variable = 2
- class VariableType
Bases:
enum.IntFlag
Support for integer-based Flags
- End = 2
- Length = 3
- Start = 1
- Value = 0
- Operand :vspyx.Core.Numeric
- Operator :Expression.Token.OperatorType
- Variable :Tag
- GetTokenType(self) Expression.Token.TokenType
- GetVariableType(self) Expression.Token.VariableType
- assign(self, arg0: Expression.Token) Expression.Token
- static GenExpression(numeric: vspyx.Core.Numeric) Expression
- static GenExpression(str: Expression.GenExpression.str) Expression
- class vspyx.Dissector.Field
Bases:
vspyx.Core.Object
Field
- LongName :str
- ShortName :str
- Tag :Tag
- class vspyx.Dissector.FieldDefinition
Bases:
Field
FieldDefinition
- class EndianType
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- Big = 0
- Little = 1
- class LoopType
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- DoWhileLoop = 3
- Fill = 1
- ForLoop = 4
- Once = 0
- WhileLoop = 2
- SetEnabled(self, enabled: Expression) Any
- SetEndianType(self, endianType: FieldDefinition.EndianType) Any
- SetLength(self, length: Expression) Any
- SetLongName(self, name: str) Any
- SetLoop(self, loop: Expression) Any
- SetLoopType(self, loopType: FieldDefinition.LoopType) Any
- SetShortName(self, name: str) Any
- SetStart(self, start: Expression) Any
- SetTag(self, tag: str, aliases: List[str]) Any
- class vspyx.Dissector.FieldDefinitionFactory
FieldDefinitionFactory
- static GenFixedLengthStringFieldDefinition() FieldDefinition
- static GenFloatFieldDefinition() FieldDefinition
- static GenNullTermStringFieldDefinition() FieldDefinition
- static GenProtocol(fieldDefinition: FieldDefinition) Protocol
- class vspyx.Dissector.FieldInstance
Bases:
vspyx.Core.Object
FieldInstance
- class FormatTypes
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- DECIMAL = 4
- DEFAULT = 1
- FALSE_TRUE = 16
- HEX = 2
- HEX_DECIMAL = 6
- LONG_FORMAT = 64
- NONE = 0
- SHORT_FORMAT = 32
- SHORT_NAME = 128
- TRUE_FALSE = 8
- Children :List[FieldInstance]
- DefaultFormat :FieldInstance.FormatTypes
- End :Any
- Field :Field
- Size :Any
- SourceMessage :Message
- Start :Any
- Value :Any
- AsString(self) str
- AsString(self, formatBitField: FieldInstance.FormatTypes) str
- GetChild(self, tag: Tag) FieldInstance
- static MACAddressAsString(requestedFormatType: FieldInstance.FormatTypes, inst: FieldInstance) str
- static NumericAsString(formatBitField: FieldInstance.FormatTypes, inst: FieldInstance) str
- class vspyx.Dissector.Hook
Bases:
vspyx.Core.Object
Hook
- Expression :Expression
- HijackLocation :Tag
- Protocol :Protocol
- class vspyx.Dissector.Message
Bases:
vspyx.Core.Object
Message
- RootField :FieldInstance
- GetFieldInstance(self, field: Tag) FieldInstance
- static New(arg0: Dissecting) Message
- class vspyx.Dissector.Module
Bases:
vspyx.Core.Module
Module
- class vspyx.Dissector.Protocol
Bases:
Field
Protocol
- Dissect(self, dissecting: Dissecting) Any
- class vspyx.Dissector.ProtocolInstance
Bases:
FieldInstance
ProtocolInstance
- class vspyx.Dissector.State
Bases:
vspyx.Core.Object
State