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

Method parameter_variables

rust/src/function.rs:920–929  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

918 }
919
920 pub fn parameter_variables(&self) -> Conf<Vec<Variable>> {
921 unsafe {
922 let mut raw_variables = BNGetFunctionParameterVariables(self.handle);
923 let raw_var_list = std::slice::from_raw_parts(raw_variables.vars, raw_variables.count);
924 let variables: Vec<Variable> = raw_var_list.iter().map(Into::into).collect();
925 let confidence = raw_variables.confidence;
926 BNFreeParameterVariables(&mut raw_variables);
927 Conf::new(variables, confidence)
928 }
929 }
930
931 pub fn set_user_parameter_variables<I>(&self, values: I, confidence: u8)
932 where

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected