Skip to content

Ghidra is a software reverse engineering (SRE) framework

Callfixup for _guard_dispatch_icall on x86-64-win Change goto to call As pointed out by @caheckman [here](https://github.com/NationalSecurityAgency/ghidra/pull/340#issuecomment-482248465) the `goto` should be a `call`.

Markus Piétonbdcbe2cf3a8b
diff --git a/Ghidra/Processors/x86/data/languages/x86-64-win.cspec b/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
index 56bb83b60c..5888a74950 100644
--- a/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
+++ b/Ghidra/Processors/x86/data/languages/x86-64-win.cspec
@@ -147,4 +147,12 @@
<range space="stack" first="8" last="39"/>
</localrange>
</prototype>
+ <callfixup name="guard_dispatch_icall">
+ <target name="_guard_dispatch_icall"/>
+ <pcode>
+ <body><![CDATA[
+ call [RAX];
+ ]]></body>
+ </pcode>
+ </callfixup>
</compiler_spec>