def __init__(self, type, offset, vm=None, length=1, parent=None, profile=None, name=None, **args): ## Allow length to be a callable: try: length = length(parent) except: pass ## length must be an integer NativeType.__init__(self, type, offset, vm, parent=parent, profile=profile, name=name, format_string="%ds" % length)
def __init__(self, type, offset, vm=None, parent=None, profile=None, name=None, **args): NativeType.__init__(self, type, offset, vm, parent=parent, profile=profile, name=name, format_string="q")
def v(self): return windows_to_unix_time(NativeType.v(self))