Skip to content

Ghidra is a software reverse engineering (SRE) framework

Adjust fixup for 64-bit alloca_probe implementations

caheckman05a773678aa6
diff --git a/Ghidra/Processors/x86/data/languages/x86-64-win.cspec b/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
index 5d060580cd..a7280b2101 100644
--- a/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
+++ b/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
@@ -159,13 +159,13 @@
</localrange>
</prototype>
<callfixup name="alloca_probe">
- <target name="__alloca_probe"/>
- <target name="__alloca_probe_8"/>
- <target name="__alloca_probe_16"/>
+ <target name="_alloca_probe"/>
+ <target name="_alloca_probe2"/>
<target name="__chkstk"/>
+ <target name="__chkstk2"/>
<pcode>
<body><![CDATA[
- RSP = RSP + 8 - RAX;
+ RSP = RSP + 0;
]]></body>
</pcode>
</callfixup>