metadata module

binaryninja.metadata.Metadata([value, ...])

class Metadata(value: Metadata | int | bool | str | bytes | float | List[Metadata | int | bool | str | bytes | float | List[MetadataValueType] | Tuple[MetadataValueType] | dict] | Tuple[Metadata | int | bool | str | bytes | float | List[MetadataValueType] | Tuple[MetadataValueType] | dict] | dict | None = None, signed: bool | None = None, raw: bool | None = None, handle: BNMetadata | None = None)[source]

Bases: object

Parameters:
get(key: str, default: Any | None = None) Any[source]
Parameters:
  • key (str) –

  • default (Any | None) –

Return type:

Any

get_dict()[source]
get_json_string()[source]
remove(key_or_index)[source]
property is_array
property is_boolean
property is_bytes
property is_dict
property is_float
property is_integer
property is_raw

deprecated in favor of is_bytes

property is_signed_integer
property is_string
property is_unsigned_integer
property type
property value