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

Method add_function

rust/src/component.rs:96–98  ·  view source on GitHub ↗

Add function to this component.

(&self, func: &Function)

Source from the content-addressed store, hash-verified

94
95 /// Add function to this component.
96 pub fn add_function(&self, func: &Function) -> bool {
97 unsafe { BNComponentAddFunctionReference(self.handle.as_ptr(), func.handle) }
98 }
99
100 /// Check whether this component contains a function.
101 pub fn contains_function(&self, func: &Function) -> bool {

Callers 6

instr_to_ilFunction · 0.45
instr_to_ilFunction · 0.45
liftFunction · 0.45
instr_to_ilFunction · 0.45
instr_to_ilFunction · 0.45
parse_infoMethod · 0.45

Calls

no outgoing calls

Tested by 6

instr_to_ilFunction · 0.36
instr_to_ilFunction · 0.36
liftFunction · 0.36
instr_to_ilFunction · 0.36
instr_to_ilFunction · 0.36
parse_infoMethod · 0.36