Skip to content

import error for cybox/objects/memory_object.py #23

@gleeda

Description

@gleeda

I had an issue with the following when trying to create a WinService object:

diff --git a/cybox/objects/memory_object.py b/cybox/objects/memory_object.py
index 655e44c..f625d5a 100644
--- a/cybox/objects/memory_object.py
+++ b/cybox/objects/memory_object.py
@@ -1,6 +1,6 @@
 import cybox
 import cybox.utils as utils
-import cybox.bindings.memory_object_1_2 as memory_binding
+import cybox.bindings.memory_object as memory_binding
 from cybox.common import HashList, ObjectProperties, String, UnsignedLong, HexBinary
 
 class Memory(ObjectProperties):
@@ -73,4 +73,4 @@ class Memory(ObjectProperties):
         memory_.region_size = UnsignedLong.from_obj(memory_obj.get_Region_Size())
         memory_.region_start_address = HexBinary.from_obj(memory_obj.get_Region_Start_Address())
 
-        return memory_
\ No newline at end of file
+        return memory_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions