refactored 2 enum constants in rz_analysis.h (#5666)

This commit is contained in:
مصطفي محمود كمال الدين 2025-12-24 03:41:30 +02:00 committed by GitHub
parent 55ab9659a9
commit 10042e41f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -297,10 +297,10 @@ typedef enum {
RZ_ANALYSIS_OP_TYPE_UNK = 7, /* unknown opcode type */
RZ_ANALYSIS_OP_TYPE_NOP = 8, /* does nothing */
RZ_ANALYSIS_OP_TYPE_MOV = 9, /* register move */
RZ_ANALYSIS_OP_TYPE_CMOV = 9 | RZ_ANALYSIS_OP_TYPE_COND, /* conditional move */
RZ_ANALYSIS_OP_TYPE_CMOV = RZ_ANALYSIS_OP_TYPE_MOV | RZ_ANALYSIS_OP_TYPE_COND, /* conditional move */
RZ_ANALYSIS_OP_TYPE_TRAP = 10, /* it's a trap! */
RZ_ANALYSIS_OP_TYPE_SWI = 11, /* syscall, software interrupt */
RZ_ANALYSIS_OP_TYPE_CSWI = 11 | RZ_ANALYSIS_OP_TYPE_COND, /* syscall, software interrupt */
RZ_ANALYSIS_OP_TYPE_CSWI = RZ_ANALYSIS_OP_TYPE_SWI | RZ_ANALYSIS_OP_TYPE_COND, /* syscall, software interrupt */
RZ_ANALYSIS_OP_TYPE_UPUSH = 12, /* unknown push of data into stack */
RZ_ANALYSIS_OP_TYPE_RPUSH = RZ_ANALYSIS_OP_TYPE_UPUSH | RZ_ANALYSIS_OP_TYPE_REG, /* push register */
RZ_ANALYSIS_OP_TYPE_PUSH = 13, /* push value into stack */