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

Method contains

rust/src/workflow.rs:382–389  ·  view source on GitHub ↗

Determine if an Activity exists in this [Workflow].

(&self, activity: A)

Source from the content-addressed store, hash-verified

380
381 /// Determine if an Activity exists in this [Workflow].
382 pub fn contains<A: BnStrCompatible>(&self, activity: A) -> bool {
383 unsafe {
384 BNWorkflowContains(
385 self.handle.as_ptr(),
386 activity.into_bytes_with_nul().as_ref().as_ptr() as *const c_char,
387 )
388 }
389 }
390
391 /// Retrieve the configuration as an adjacency list in JSON for the [Workflow].
392 pub fn configuration(&self) -> BnString {

Callers 4

valueMethod · 0.45
lift_with_sizeMethod · 0.45
setFilterMethod · 0.45
setFilterMethod · 0.45

Calls 2

into_bytes_with_nulMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected