Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
saicao committed Feb 23, 2024
1 parent c841ce6 commit b308f84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gum/backend-arm64/gumstalker-arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -2831,7 +2831,9 @@ gum_stalker_iterator_next (GumStalkerIterator * self,

self->generator_context->instruction = instruction;

if (is_first_instruction && (self->exec_context->sink_mask & GUM_BLOCK) != 0 && (self->exec_block->flags&GUM_EXEC_BLOCK_USES_EXCLUSIVE_ACCESS)==0)
if (is_first_instruction &&
(self->exec_context->sink_mask & GUM_BLOCK) != 0 &&
(self->exec_block->flags&GUM_EXEC_BLOCK_USES_EXCLUSIVE_ACCESS)==0)
{
gum_exec_block_write_block_event_code (self->exec_block, gc,
GUM_CODE_INTERRUPTIBLE);
Expand Down Expand Up @@ -5445,7 +5447,6 @@ gum_exec_block_write_exec_event_code (GumExecBlock * block,
GumCodeContext cc)
{
gum_exec_block_open_prolog (block, GUM_PROLOG_FULL, gc, gc->code_writer);

gum_arm64_writer_put_call_address_with_arguments (gc->code_writer,
GUM_ADDRESS (gum_exec_ctx_emit_exec_event), 3,
GUM_ARG_ADDRESS, GUM_ADDRESS (block->ctx),
Expand Down

0 comments on commit b308f84

Please sign in to comment.