diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-08-24 21:53:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-08-24 21:53:52 (GMT) |
commit | ce46ff64c00a90d03e2481dcaf1e713f22b71492 (patch) | |
tree | 5419bb07b142e34f882478c3f515644f45eaf3ae /plugins/arm/v7/operands | |
parent | ebc0f829af60263fd5329f1a44f6c1e1162f97af (diff) |
Serialize registers when needed.
Diffstat (limited to 'plugins/arm/v7/operands')
-rw-r--r-- | plugins/arm/v7/operands/reglist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/arm/v7/operands/reglist.c b/plugins/arm/v7/operands/reglist.c index 9b9a817..2b2ee10 100644 --- a/plugins/arm/v7/operands/reglist.c +++ b/plugins/arm/v7/operands/reglist.c @@ -457,7 +457,7 @@ static bool g_armv7_reglist_operand_unserialize(GArmV7RegListOperand *operand, G if (result) { - reg = g_arch_register_load(storage, ®_pbuf); + reg = NULL;//g_arch_register_load(storage, ®_pbuf); result = (reg != NULL); } @@ -510,7 +510,7 @@ static bool g_armv7_reglist_operand_serialize(const GArmV7RegListOperand *operan for (i = 0; i < operand->count && result; i++) { - result = g_arch_register_store(G_ARCH_REGISTER(operand->registers[i]), storage, ®_pbuf); + result = false;//g_arch_register_store(G_ARCH_REGISTER(operand->registers[i]), storage, ®_pbuf); if (result) result = g_asm_storage_store_register_data(storage, ®_pbuf, &pos); |