Construct a function constraint, must pass the offset at which it is located.
(&self, function: &BNFunction, offset: i64)
| 307 | |
| 308 | /// Construct a function constraint, must pass the offset at which it is located. |
| 309 | pub fn function_constraint(&self, function: &BNFunction, offset: i64) -> FunctionConstraint { |
| 310 | let guid = self.try_function_guid(function); |
| 311 | let symbol = from_bn_symbol(&function.symbol()); |
| 312 | FunctionConstraint { |
| 313 | guid, |
| 314 | symbol: Some(symbol), |
| 315 | offset, |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | /// Construct a function constraint from a symbol, typically used for extern function call sites, must pass the offset at which it is located. |
| 320 | pub fn function_constraint_from_symbol( |
no test coverage detected