patchFilter32 added.
committer: ml1050 <ml1050> 976877022 +0000
This commit is contained in:
+1
-10
@@ -223,16 +223,7 @@ void PackTmt::pack(OutputFile *fo)
|
||||
|
||||
// patch loader
|
||||
patch_le32(loader,lsize,"JMPO",ih.entry-(ph.u_len+overlapoh+d_len));
|
||||
|
||||
if (ft.id)
|
||||
{
|
||||
assert(ft.calls > 0);
|
||||
if (ft.id > 0x20)
|
||||
patch_le16(loader,lsize,"??",'?'+(ph.filter_cto << 8));
|
||||
patch_le32(loader,lsize,"TEXL",(ft.id & 0xf) % 3 == 0 ? ft.calls :
|
||||
ft.lastcall - ft.calls * 4);
|
||||
}
|
||||
|
||||
patchFilter32(ft, loader, lsize);
|
||||
patchPackHeader(loader,e_len);
|
||||
|
||||
const unsigned jmp_pos = find_le32(loader,e_len,get_le32("JMPD"));
|
||||
|
||||
Reference in New Issue
Block a user