summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/arch_x86.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/arch_x86.cpp b/arch/x86/arch_x86.cpp
index 3d50b020..c58d1c56 100644
--- a/arch/x86/arch_x86.cpp
+++ b/arch/x86/arch_x86.cpp
@@ -3814,6 +3814,11 @@ public:
return vector<uint32_t>{ XED_REG_ECX };
}
+ virtual vector<uint32_t> GetRequiredArgumentRegisters() override
+ {
+ return vector<uint32_t>{ XED_REG_ECX };
+ }
+
virtual bool IsStackAdjustedOnReturn() override
{
return true;