(
&self,
group: A::FlagGroup,
)
| 1300 | } |
| 1301 | |
| 1302 | pub fn flag_group( |
| 1303 | &self, |
| 1304 | group: A::FlagGroup, |
| 1305 | ) -> LowLevelILExpression<A, Mutable, NonSSA<LiftedNonSSA>, ValueExpr> { |
| 1306 | use binaryninjacore_sys::BNLowLevelILAddExpr; |
| 1307 | use binaryninjacore_sys::BNLowLevelILOperation::LLIL_FLAG_GROUP; |
| 1308 | |
| 1309 | // TODO verify valid id |
| 1310 | let expr_idx = unsafe { |
| 1311 | BNLowLevelILAddExpr( |
| 1312 | self.handle, |
| 1313 | LLIL_FLAG_GROUP, |
| 1314 | 0, |
| 1315 | 0, |
| 1316 | group.id().0 as u64, |
| 1317 | 0, |
| 1318 | 0, |
| 1319 | 0, |
| 1320 | ) |
| 1321 | }; |
| 1322 | |
| 1323 | LowLevelILExpression::new(self, LowLevelExpressionIndex(expr_idx)) |
| 1324 | } |
| 1325 | |
| 1326 | pub fn set_flag<'a, E>( |
| 1327 | &'a self, |
nothing calls this directly
no test coverage detected