Skip to content

Commit

Permalink
Rename ThumbWriter CPSR methods for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed May 14, 2020
1 parent b65808b commit d3743ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions gum/arch-arm/gumthumbwriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,8 @@ gum_thumb_writer_put_mov_reg_u8 (GumThumbWriter * self,
}

void
gum_thumb_writer_put_mov_cpsr_to_reg (GumThumbWriter * self,
arm_reg reg)
gum_thumb_writer_put_mov_reg_cpsr (GumThumbWriter * self,
arm_reg reg)
{
GumArmRegInfo ri;

Expand All @@ -972,8 +972,8 @@ gum_thumb_writer_put_mov_cpsr_to_reg (GumThumbWriter * self,
}

void
gum_thumb_writer_put_mov_reg_to_cpsr (GumThumbWriter * self,
arm_reg reg)
gum_thumb_writer_put_mov_cpsr_reg (GumThumbWriter * self,
arm_reg reg)
{
GumArmRegInfo ri;

Expand Down
4 changes: 2 additions & 2 deletions gum/arch-arm/gumthumbwriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ GUM_API void gum_thumb_writer_put_mov_reg_reg (GumThumbWriter * self,
arm_reg dst_reg, arm_reg src_reg);
GUM_API void gum_thumb_writer_put_mov_reg_u8 (GumThumbWriter * self,
arm_reg dst_reg, guint8 imm_value);
GUM_API void gum_thumb_writer_put_mov_cpsr_to_reg (GumThumbWriter * self,
GUM_API void gum_thumb_writer_put_mov_reg_cpsr (GumThumbWriter * self,
arm_reg reg);
GUM_API void gum_thumb_writer_put_mov_reg_to_cpsr (GumThumbWriter * self,
GUM_API void gum_thumb_writer_put_mov_cpsr_reg (GumThumbWriter * self,
arm_reg reg);
GUM_API gboolean gum_thumb_writer_put_add_reg_imm (GumThumbWriter * self,
arm_reg dst_reg, gssize imm_value);
Expand Down

0 comments on commit d3743ed

Please sign in to comment.