mirror of
https://github.com/capstone-engine/capstone
synced 2026-08-11 16:26:07 -04:00
Formatting
This commit is contained in:
parent
80961dac84
commit
8b50621184
3 changed files with 7 additions and 5 deletions
|
|
@ -179,7 +179,8 @@ void map_implicit_writes(MCInst *MI, const insn_map *imap)
|
|||
}
|
||||
|
||||
/// Adds a given group to @MI->flat_insn.
|
||||
void add_group(MCInst *MI, unsigned /* arch_group */ group) {
|
||||
void add_group(MCInst *MI, unsigned /* arch_group */ group)
|
||||
{
|
||||
#ifndef CAPSTONE_DIET
|
||||
if (!MI->flat_insn->detail)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ typedef struct insn_map {
|
|||
unsigned short mapid; // The Capstone instruction id
|
||||
#ifndef CAPSTONE_DIET
|
||||
uint16_t regs_use[MAX_IMPL_R_REGS]; ///< list of implicit registers used by
|
||||
///< this instruction
|
||||
///< this instruction
|
||||
uint16_t regs_mod[MAX_IMPL_W_REGS]; ///< list of implicit registers modified
|
||||
///< by this instruction
|
||||
///< by this instruction
|
||||
unsigned char groups
|
||||
[MAX_NUM_GROUPS]; ///< list of group this instruction belong to
|
||||
bool branch; // branch instruction?
|
||||
|
|
@ -47,7 +47,7 @@ typedef struct {
|
|||
uint8_t /* cs_ac_type */ access; ///< The access type (read, write)
|
||||
uint8_t /* cs_data_type */
|
||||
dtypes[MAX_NO_DATA_TYPES]; ///< List of op types. Terminated by
|
||||
///< CS_DATA_TYPE_LAST
|
||||
///< CS_DATA_TYPE_LAST
|
||||
} mapping_op;
|
||||
|
||||
#define MAX_NO_INSN_MAP_OPS 16
|
||||
|
|
|
|||
|
|
@ -1043,7 +1043,8 @@ static void add_cs_detail_general(MCInst *MI, arm_op_group op_group,
|
|||
SYSm);
|
||||
if (TheReg) {
|
||||
ARM_set_detail_op_sysreg(
|
||||
MI, TheReg->sysreg.mclasssysreg, IsOutReg);
|
||||
MI, TheReg->sysreg.mclasssysreg,
|
||||
IsOutReg);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue