MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / store_metadata

Method store_metadata

python/project.py:451–461  ·  view source on GitHub ↗

Stores metadata within the project :param str key: Key under which to store the Metadata object :param Varies value: Object to store

(self, key: str, value: MetadataValueType)

Source from the content-addressed store, hash-verified

449 return Metadata(handle=md_handle).value
450
451 def store_metadata(self, key: str, value: MetadataValueType):
452 """
453 Stores metadata within the project
454
455 :param str key: Key under which to store the Metadata object
456 :param Varies value: Object to store
457 """
458 _val = value
459 if not isinstance(_val, Metadata):
460 _val = Metadata(_val)
461 core.BNProjectStoreMetadata(self._handle, key, _val.handle)
462
463 def remove_metadata(self, key: str):
464 """

Callers

nothing calls this directly

Calls 1

MetadataClass · 0.70

Tested by

no test coverage detected