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

Method fmt

rust/src/function.rs:2409–2420  ·  view source on GitHub ↗
(&self, f: &mut Formatter)

Source from the content-addressed store, hash-verified

2407
2408impl Debug for Function {
2409 fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
2410 // TODO: I am sure there is more we should add to this.
2411 f.debug_struct("Function")
2412 .field("start", &self.start())
2413 .field("arch", &self.arch().name())
2414 .field("platform", &self.platform())
2415 .field("symbol", &self.symbol())
2416 .field("is_auto", &self.is_auto())
2417 .field("tags", &self.tags().to_vec())
2418 .field("comments", &self.comments().to_vec())
2419 .finish()
2420 }
2421}
2422
2423unsafe impl Send for Function {}

Callers

nothing calls this directly

Calls 10

to_vecMethod · 0.80
finishMethod · 0.45
startMethod · 0.45
nameMethod · 0.45
archMethod · 0.45
platformMethod · 0.45
symbolMethod · 0.45
is_autoMethod · 0.45
tagsMethod · 0.45
commentsMethod · 0.45

Tested by

no test coverage detected