Package vstruct :: Package defs :: Package macho :: Module loader :: Class dylib_command
[hide private]
[frames] | no frames]

Class dylib_command

source code


Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
vsParse(self, bytes, offset=0)
For all the primitives contained within, allow them an opportunity to parse the given data and return the total offset...
source code

Inherited from VStruct: __getattr__, __iter__, __ixor__, __len__, __repr__, __setattr__, tree, vsAddField, vsAddParseCallback, vsCalculate, vsClearFields, vsEmit, vsGetClassPath, vsGetFastParseFields, vsGetField, vsGetFields, vsGetFirstPrim, vsGetOffset, vsGetPrims, vsGetPrintInfo, vsGetTypeName, vsHasField, vsInsertField, vsIsPrim, vsParseFd, vsSetField

Inherited from primitives.v_base: vsGetMeta, vsSetMeta

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

vsParse(self, bytes, offset=0)

source code 

For all the primitives contained within, allow them an opportunity to parse the given data and return the total offset...

Any method named pcb_<FieldName> will be called back when the specified field is set by the parser.

the "fast" option enables fastparse which will *not* call any callbacks can may not be compatible with some structure defs. ( eg mixed endian )

Overrides: primitives.v_base.vsParse