Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-smx committed Apr 4, 2024
1 parent 5fcd7ea commit 3314d24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xzre.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,14 +442,14 @@ assert_offset(global_context_t, reg2reg_instructions_count, 0x160);
* this is convenient, since a simple increment will increment the buffer position correctly
*/
typedef union {
/** the initial value */
u32 index;
struct {
/** bit index in the current byte indicated by @ref byte_index */
u32 bit_index : 3;
/** byte index into the secret data array */
u32 byte_index : 29;
};
/** the initial value */
u32 index;
} secret_data_shift_cursor;

/**
Expand Down Expand Up @@ -496,7 +496,7 @@ extern BOOL find_instruction_with_mem_operand(
u8 *code_start,
u8 *code_end,
dasm_ctx_t *dctx,
u8 *mem_address
void *mem_address
);

/**
Expand All @@ -512,7 +512,7 @@ extern BOOL find_lea_instruction_with_mem_operand(
u8 *code_start,
u8 *code_end,
dasm_ctx_t *dctx,
u8 *mem_address
void *mem_address
);

/**
Expand All @@ -530,7 +530,7 @@ extern BOOL find_instruction_with_mem_operand_ex(
u8 *code_end,
dasm_ctx_t *dctx,
int opcode,
u8 *mem_address
void *mem_address
);

/**
Expand Down

0 comments on commit 3314d24

Please sign in to comment.