diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
commit | 9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (patch) | |
tree | ae8594cae830118ca3a92ee60242490e58c14a9e /src/arch/operands/immediate.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/arch/operands/immediate.c')
-rw-r--r-- | src/arch/operands/immediate.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/operands/immediate.c b/src/arch/operands/immediate.c index 2a3ca0b..cb39fce 100644 --- a/src/arch/operands/immediate.c +++ b/src/arch/operands/immediate.c @@ -156,10 +156,10 @@ static void g_imm_operand_print(const GImmOperand *, GBufferLine *); static char *g_imm_operand_build_tooltip(const GImmOperand *, const GLoadedBinary *); /* Charge un opérande depuis une mémoire tampon. */ -static bool g_imm_operand_unserialize(GImmOperand *, GAsmStorage *, GBinFormat *, packed_buffer *); +static bool g_imm_operand_unserialize(GImmOperand *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde un opérande dans une mémoire tampon. */ -static bool g_imm_operand_serialize(const GImmOperand *, GAsmStorage *, packed_buffer *); +static bool g_imm_operand_serialize(const GImmOperand *, GAsmStorage *, packed_buffer_t *); /* Obtient l'adresse de la cible visée par un opérande. */ static bool g_imm_operand_get_addr(const GImmOperand *, const vmpa2t *, GBinFormat *, GArchProcessor *, vmpa2t *); @@ -211,10 +211,10 @@ static int g_known_imm_operand_compare(const GKnownImmOperand *, const GKnownImm static void g_known_imm_operand_print(const GKnownImmOperand *, GBufferLine *); /* Charge un opérande depuis une mémoire tampon. */ -static bool g_known_imm_operand_unserialize(GKnownImmOperand *, GAsmStorage *, GBinFormat *, packed_buffer *); +static bool g_known_imm_operand_unserialize(GKnownImmOperand *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde un opérande dans une mémoire tampon. */ -static bool g_known_imm_operand_serialize(const GKnownImmOperand *, GAsmStorage *, packed_buffer *); +static bool g_known_imm_operand_serialize(const GKnownImmOperand *, GAsmStorage *, packed_buffer_t *); /* Fournit un texte comme représentation alternative d'opérande. */ static const char *g_known_imm_operand_get_text(const GKnownImmOperand *); @@ -1586,7 +1586,7 @@ void g_imm_operand_as_uleb128(const GImmOperand *operand, uleb128_t *val) * * ******************************************************************************/ -static bool g_imm_operand_unserialize(GImmOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf) +static bool g_imm_operand_unserialize(GImmOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ @@ -1639,7 +1639,7 @@ static bool g_imm_operand_unserialize(GImmOperand *operand, GAsmStorage *storage * * ******************************************************************************/ -static bool g_imm_operand_serialize(const GImmOperand *operand, GAsmStorage *storage, packed_buffer *pbuf) +static bool g_imm_operand_serialize(const GImmOperand *operand, GAsmStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ @@ -1963,7 +1963,7 @@ static void g_known_imm_operand_print(const GKnownImmOperand *operand, GBufferLi * * ******************************************************************************/ -static bool g_known_imm_operand_unserialize(GKnownImmOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf) +static bool g_known_imm_operand_unserialize(GKnownImmOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ @@ -2006,7 +2006,7 @@ static bool g_known_imm_operand_unserialize(GKnownImmOperand *operand, GAsmStora * * ******************************************************************************/ -static bool g_known_imm_operand_serialize(const GKnownImmOperand *operand, GAsmStorage *storage, packed_buffer *pbuf) +static bool g_known_imm_operand_serialize(const GKnownImmOperand *operand, GAsmStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ |