Locked History Actions

Blob

Blob

The Blob element is a child element of DataModel or Block. Blobs are typically used to represent opaque data that we lack type definition for.

<Blob name="Unknown1" valueType="hex" value="01 06 22 03"/>

Attributes:

  • name -- Name of the data model

  • ref -- Reference to a data model to use as a template [optional]

  • minOccurs -- The minimum number of times this blob must occur

  • maxOccurs -- The maximum number of times this blob can occur

  • isStatic -- This element should be treated as a token when parsing, defaults to False [DEPRECATED] [optional]

  • token -- (Peach 2.3)This element should be treated as a token when parsing, defaults to False [optional]

  • value -- The default value contained within the Blob

  • valueType -- The format in which the default value is expressed. (i.e hex, string, or literal), defaults to 'string'.

  • length -- The size, in bytes, of the blob.

  • lengthType -- Type of length, how length is specified [optional]

  • pointer -- (Peach 2.3) Is this a pointer to a structure (true|false), default is false [optional]

  • pointerDepth -- (Peach 2.3) How many levels of pointers (e.g. void** p is 2), default is 1 [optional]

  • constraint -- (Peach 2.3) A constraint in the form of a python expression. Used during data cracking [optional]

  • mutable -- (Peach 2.3) Is data element changeable (should it be mutated), defaults to true [optional]