Lipx icon indicating copy to clipboard operation
Lipx copied to clipboard

truncation expansion

Open rofl0r opened this issue 3 years ago • 2 comments

i noticed lipx currently doesnt create patches that truncate the patched file. it appears many ips patching tools support a so-called "truncation/expansion extension", but i haven't found a specification so far.

rofl0r avatar Dec 17 '21 15:12 rofl0r

i don't know about expansion but you may want to use a modern patch format for that, unless you have an old patch with that truncation is a lunar ips extension afaik, so i think not official, but i think support can be added

i would need to find a sample patch for both first or some docs because i couldn't find any

kylon avatar Dec 17 '21 18:12 kylon

https://gitlab.com/HiPhish/IPS-Tools/-/blob/master/src/ips/info.c#L80 it seems truncation record is appended after EOF

rofl0r avatar Dec 18 '21 00:12 rofl0r