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

Method flag_group

rust/src/low_level_il/lifting.rs:1302–1324  ·  view source on GitHub ↗
(
        &self,
        group: A::FlagGroup,
    )

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 2

idMethod · 0.45

Tested by

no test coverage detected