GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python API (6.0.10905)
  • C++ Documentation
  • architecture
  • basedetection
  • basicblock
  • binaryview
  • bncompleter
  • callingconvention
  • collaboration
  • commonil
  • component
  • constantrenderer
  • database
  • databuffer

This view

  • Original page
  • New address

GeezerVison is showing api.binary.ninja — metadata module — Binary Ninja API Documentation v6.0.10905

metadata module¶

Class

Description

binaryninja.metadata.Metadata

Metadata¶

class Metadata[source]¶

Bases: object

__init__(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]¶

The ‘raw’ parameter is no longer needed it was a workaround for a Python 2 limitation. To pass raw data into this API, simply use a bytes object.

Parameters:
  • 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)

  • signed (bool | None)

  • raw (bool | None)

  • handle (BNMetadata | None)

append(value)[source]¶

Appends a value to the Metadata array.

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¶
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.