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

Method fmt

rust/src/binary_view.rs:2050–2070  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

2048
2049impl std::fmt::Debug for BinaryView {
2050 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
2051 f.debug_struct("BinaryView")
2052 .field("type_name", &self.type_name())
2053 .field("file", &self.file())
2054 .field("original_image_base", &self.original_image_base())
2055 .field("start", &self.start())
2056 .field("end", &self.end())
2057 .field("len", &self.len())
2058 .field("default_platform", &self.default_platform())
2059 .field("default_arch", &self.default_arch())
2060 .field("default_endianness", &self.default_endianness())
2061 .field("entry_point", &self.entry_point())
2062 .field(
2063 "entry_point_functions",
2064 &self.entry_point_functions().to_vec(),
2065 )
2066 .field("address_size", &self.address_size())
2067 .field("sections", &self.sections().to_vec())
2068 .field("segments", &self.segments().to_vec())
2069 .finish()
2070 }
2071}
2072
2073pub trait BinaryViewEventHandler: 'static + Sync {

Callers

nothing calls this directly

Calls 15

default_platformMethod · 0.80
default_archMethod · 0.80
to_vecMethod · 0.80
entry_point_functionsMethod · 0.80
finishMethod · 0.45
type_nameMethod · 0.45
fileMethod · 0.45
original_image_baseMethod · 0.45
startMethod · 0.45
endMethod · 0.45
lenMethod · 0.45
default_endiannessMethod · 0.45

Tested by

no test coverage detected