Coverage Report

Created: 2023-04-25 07:07

/rust/registry/src/index.crates.io-6f17d22bba15001f/capstone-sys-0.13.0/capstone/MCInstrDesc.c
Line
Count
Source (jump to first uncovered line)
1
/* Capstone Disassembly Engine */
2
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2019 */
3
4
#include "MCInstrDesc.h"
5
6
/// isPredicate - Set if this is one of the operands that made up of
7
/// the predicate operand that controls an isPredicable() instruction.
8
bool MCOperandInfo_isPredicate(const MCOperandInfo *m)
9
0
{
10
0
  return m->Flags & (1 << MCOI_Predicate);
11
0
}
12
13
/// isOptionalDef - Set if this operand is a optional def.
14
///
15
bool MCOperandInfo_isOptionalDef(const MCOperandInfo *m)
16
0
{
17
0
  return m->Flags & (1 << MCOI_OptionalDef);
18
0
}