Skip to content

Commit

Permalink
Handle slot_cancelled during runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Sep 15, 2023
1 parent 6d5b3c9 commit bede9fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion handwritten/hexagon_h/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ typedef struct {
ut64 last_access; ///< Last time accessed in milliseconds
RzList /* HexInsnContainer */ *bin; ///< Descending by address sorted list of instruction containers.
RzVector /* HexILOp* */ *il_ops; ///< Pointer to RZIL ops of the packet. If empty the il ops were not shuffled into order yet.
ut8 slot_cancelled; ///< RzIL: Marks slots which got canceled. Bit i is flag for slot i.
} HexPkt;

/**
Expand Down
2 changes: 1 addition & 1 deletion handwritten/hexagon_il_h/declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RZ_IPI RZ_OWN RzILOpEffect *hex_clo32(RZ_BORROW RzILOpPure *val);
RZ_IPI RZ_OWN RzILOpEffect *hex_write_pred(const char *pred, RZ_OWN RzILOpPure *cond);
RZ_IPI RZ_OWN RzILOpEffect *hex_write_global(const char *name, RZ_OWN RzILOpPure *val);
RZ_IPI RZ_OWN RzILOpEffect *hex_sync_regs(HexInsnPktBundle *bundle);
static inline void store_cancelled_slot(HexPkt pkt, ut8 slot) { pkt->slot_cancelled |= 1 << slot; }
static inline void STORE_SLOT_CANCELLED(slot) { EMPTY(); /* SETG("slot_cancelled", SETBIT(VARG("slot_cancelled", slot))); */ }

0 comments on commit bede9fe

Please sign in to comment.