Source code for cybox.objects.library_object

# Copyright (c) 2015, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.

from mixbox import fields

import cybox.bindings.library_object as library_binding
from cybox.common.extracted_features import ExtractedFeatures
from cybox.common import ObjectProperties, String, UnsignedLong, HexBinary


[docs]class Library(ObjectProperties): _binding = library_binding _binding_class = library_binding.LibraryObjectType _namespace = "http://cybox.mitre.org/objects#LibraryObject-2" _XSI_NS = "LibraryObj" _XSI_TYPE = "LibraryObjectType" name = fields.TypedField("Name", String) path = fields.TypedField("Path", String) size = fields.TypedField("Size", UnsignedLong) type_ = fields.TypedField("Type", String) version = fields.TypedField("Version", String) base_address = fields.TypedField("Base_Address", HexBinary) extracted_features = fields.TypedField("Extracted_Features", ExtractedFeatures)