mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 14:25:32 +08:00
GP-5526 Added section tag to function start patterns. New thunk patterns
in x86 gcc .plt section. Changed priority of pre analyzer and disassembly.
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
<compiler id="borlandcpp">
|
||||
<patternfile>x86win_prepatterns.xml</patternfile>
|
||||
</compiler>
|
||||
<compiler id="gcc">
|
||||
<patternfile>x86gcc_prepatterns.xml</patternfile>
|
||||
</compiler>
|
||||
</language>
|
||||
|
||||
|
||||
<language id="x86:LE:64:default">
|
||||
<compiler id="gcc">
|
||||
<patternfile>x86gcc_prepatterns.xml</patternfile>
|
||||
</compiler>
|
||||
</language>
|
||||
|
||||
</patternconstraints>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<patternlist>
|
||||
|
||||
<pattern>
|
||||
<data>
|
||||
0xff25........ <!-- jmp -->
|
||||
0x68......00 <!-- push -->
|
||||
0xe9......ff <!-- jmp -addr -->
|
||||
</data> <!-- .plt thunk -->
|
||||
<funcstart thunk="true" section=".plt"/>
|
||||
</pattern>
|
||||
|
||||
<pattern>
|
||||
<data>
|
||||
0xf3 0x0f 0x1e 0x1a <!-- ENDBR64 -->
|
||||
0xf2 0xff 0x25 .. .. .. .. <!-- jmp -->
|
||||
</data> <!-- .plt thunk -->
|
||||
<funcstart thunk="true" section=".plt"/>
|
||||
</pattern>
|
||||
|
||||
</patternlist>
|
||||
Reference in New Issue
Block a user