`metadata` retrieves the metadata associated with the current BinaryView. :rtype: metadata associated with the BinaryView :Example: >>> bv.metadata
(self)
| 9801 | |
| 9802 | @property |
| 9803 | def metadata(self) -> Dict[str, 'metadata.MetadataValueType']: |
| 9804 | """ |
| 9805 | `metadata` retrieves the metadata associated with the current BinaryView. |
| 9806 | |
| 9807 | :rtype: metadata associated with the BinaryView |
| 9808 | :Example: |
| 9809 | |
| 9810 | >>> bv.metadata |
| 9811 | <metadata: {}> |
| 9812 | """ |
| 9813 | md_handle = core.BNBinaryViewGetMetadata(self.handle) |
| 9814 | assert md_handle is not None, "core.BNBinaryViewGetMetadata returned None" |
| 9815 | value = metadata.Metadata(handle=md_handle).value |
| 9816 | assert isinstance(value, dict), "core.BNBinaryViewGetMetadata did not return a dict" |
| 9817 | return value |
| 9818 | |
| 9819 | @property |
| 9820 | def auto_metadata(self) -> Dict[str, 'metadata.MetadataValueType']: |