mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
GP-0 added callfixup for get_pc_thunk.bp
This commit is contained in:
parent
7e85ff1c0d
commit
ebaaed7d53
@ -331,6 +331,17 @@
|
|||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
|
|
||||||
|
<callfixup name="get_pc_thunk.bp">
|
||||||
|
<target name="__i686.get_pc_thunk.bp"/>
|
||||||
|
<target name="__x86.get_pc_thunk.bp"/>
|
||||||
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
|
EBP = * ESP;
|
||||||
|
ESP = ESP + 4;
|
||||||
|
]]></body>
|
||||||
|
</pcode>
|
||||||
|
</callfixup>
|
||||||
|
|
||||||
<callfixup name="get_pc_thunk_bx">
|
<callfixup name="get_pc_thunk_bx">
|
||||||
<target name="__i686.get_pc_thunk.bx"/>
|
<target name="__i686.get_pc_thunk.bx"/>
|
||||||
<target name="__x86.get_pc_thunk.bx"/>
|
<target name="__x86.get_pc_thunk.bx"/>
|
||||||
@ -376,69 +387,77 @@
|
|||||||
</callfixup>
|
</callfixup>
|
||||||
|
|
||||||
<callfixup name="x86_return_thunk">
|
<callfixup name="x86_return_thunk">
|
||||||
<target name="__x86_return_thunk"/>
|
<target name="__x86_return_thunk"/>
|
||||||
<pcode>
|
<pcode>
|
||||||
<body><![CDATA[
|
<body><![CDATA[
|
||||||
EIP = *:4 ESP;
|
EIP = *:4 ESP;
|
||||||
ESP = ESP + 4;
|
ESP = ESP + 4;
|
||||||
return [EIP];
|
return [EIP];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="fentry">
|
|
||||||
<target name="__fentry__"/>
|
<callfixup name="fentry">
|
||||||
<pcode>
|
<target name="__fentry__"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
temp:1 = 0;
|
temp:1 = 0;
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="mcount">
|
|
||||||
<target name="mcount"/>
|
<callfixup name="mcount">
|
||||||
<pcode>
|
<target name="mcount"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
temp:1 = 0;
|
temp:1 = 0;
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="x86_indirect_thunk_ebp">
|
|
||||||
<target name="__x86_indirect_thunk_ebp"/>
|
<callfixup name="x86_indirect_thunk_ebp">
|
||||||
<pcode>
|
<target name="__x86_indirect_thunk_ebp"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
call [EBP];
|
call [EBP];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="x86_indirect_thunk_eax">
|
|
||||||
<target name="__x86_indirect_thunk_eax"/>
|
<callfixup name="x86_indirect_thunk_eax">
|
||||||
<pcode>
|
<target name="__x86_indirect_thunk_eax"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
call [EAX];
|
call [EAX];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="x86_indirect_thunk_ebx">
|
|
||||||
<target name="__x86_indirect_thunk_ebx"/>
|
<callfixup name="x86_indirect_thunk_ebx">
|
||||||
<pcode>
|
<target name="__x86_indirect_thunk_ebx"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
call [EBX];
|
call [EBX];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="x86_indirect_thunk_ecx">
|
|
||||||
<target name="__x86_indirect_thunk_ecx"/>
|
<callfixup name="x86_indirect_thunk_ecx">
|
||||||
<pcode>
|
<target name="__x86_indirect_thunk_ecx"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
call [ECX];
|
call [ECX];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
<callfixup name="x86_indirect_thunk_edx">
|
|
||||||
<target name="__x86_indirect_thunk_edx"/>
|
<callfixup name="x86_indirect_thunk_edx">
|
||||||
<pcode>
|
<target name="__x86_indirect_thunk_edx"/>
|
||||||
<body><![CDATA[
|
<pcode>
|
||||||
|
<body><![CDATA[
|
||||||
call [EDX];
|
call [EDX];
|
||||||
]]></body>
|
]]></body>
|
||||||
</pcode>
|
</pcode>
|
||||||
</callfixup>
|
</callfixup>
|
||||||
|
|
||||||
</compiler_spec>
|
</compiler_spec>
|
||||||
|
Loading…
Reference in New Issue
Block a user