binaryninja.binaryview.BinaryViewType

class BinaryViewType(handle)[source]
__init__(handle)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(handle)

Initialize self.

add_binaryview_finalized_event(callback)

add_binaryview_finalized_event adds a callback that gets executed when new binaryview is finalized.

add_binaryview_initial_analysis_completion_event(…)

add_binaryview_initial_analysis_completion_event adds a callback that gets executed after the initial analysis, as well as linear sweep and signature matcher (if they are configured to run) completed.

create(data)

get_arch(ident, endian)

get_default_load_settings_for_data(data)

get_load_settings_for_data(data)

get_platform(ident, arch)

get_view_of_file(filename[, …])

get_view_of_file opens and returns the first available BinaryView, excluding a Raw BinaryViewType unless no other view is available

get_view_of_file_with_options(filename[, …])

get_view_of_file_with_options opens, generates default load options (which are overridable), and returns the first available BinaryView.

is_valid_for_data(data)

open(src[, file_metadata])

open opens an instance of a particular BinaryViewType and returns it, or None if not possible.

parse(data)

register_arch(ident, endian, arch)

register_default_platform(arch, plat)

register_platform(ident, arch, plat)

Attributes

is_deprecated

returns if the BinaryViewType is deprecated (read-only)

list

long_name

BinaryView long name (read-only)

name

BinaryView name (read-only)