From e2e420c91147f2a83cf59b37c973f57e209ef67a Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 4 Feb 2026 17:23:47 -0500 Subject: Allow calling conventions to specify a list of registers that are required to be considered for heuristic calling convention detection --- arch/x86/arch_x86.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch') 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{ XED_REG_ECX }; } + virtual vector GetRequiredArgumentRegisters() override + { + return vector{ XED_REG_ECX }; + } + virtual bool IsStackAdjustedOnReturn() override { return true; -- cgit v1.3.1