Comment on current state of stub/fold* vs decompress, and independent unfilter.
p_lx_elf.cpp p_lx_exc.cpp committer: jreiser <jreiser> 1037072124 +0000
This commit is contained in:
+7
-2
@@ -66,9 +66,14 @@ PackLinuxI386elf::getFilters() const
|
|||||||
{
|
{
|
||||||
static const int filters[] = {
|
static const int filters[] = {
|
||||||
0x49, 0x46,
|
0x49, 0x46,
|
||||||
#if 1
|
// FIXME 2002-11-11: We use stub/fold_elf86.asm, which calls the
|
||||||
|
// decompressor multiple times, and unfilter is independent of decompress.
|
||||||
|
// Currently only filters 0x49, 0x46, 0x80..0x87 can handle this;
|
||||||
|
// and 0x80..0x87 are regarded as "untested".
|
||||||
|
#if 0
|
||||||
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
||||||
#else
|
#endif
|
||||||
|
#if 0
|
||||||
0x83, 0x36, 0x26,
|
0x83, 0x36, 0x26,
|
||||||
0x86, 0x80,
|
0x86, 0x80,
|
||||||
0x84, 0x87, 0x81,
|
0x84, 0x87, 0x81,
|
||||||
|
|||||||
+8
-3
@@ -63,10 +63,15 @@ const int *PackLinuxI386::getCompressionMethods(int method, int level) const
|
|||||||
const int *PackLinuxI386::getFilters() const
|
const int *PackLinuxI386::getFilters() const
|
||||||
{
|
{
|
||||||
static const int filters[] = {
|
static const int filters[] = {
|
||||||
#if 1
|
|
||||||
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
|
||||||
#else
|
|
||||||
0x49, 0x46,
|
0x49, 0x46,
|
||||||
|
// FIXME 2002-11-11: We use stub/fold_exec86.asm, which calls the
|
||||||
|
// decompressor multiple times, and unfilter is independent of decompress.
|
||||||
|
// Currently only filters 0x49, 0x46, 0x80..0x87 can handle this;
|
||||||
|
// and 0x80..0x87 are regarded as "untested".
|
||||||
|
#if 0
|
||||||
|
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
||||||
|
#endif
|
||||||
|
#if 0
|
||||||
0x83, 0x86, 0x80, 0x84, 0x87, 0x81, 0x82, 0x85,
|
0x83, 0x86, 0x80, 0x84, 0x87, 0x81, 0x82, 0x85,
|
||||||
0x24, 0x16, 0x13, 0x14, 0x11, 0x25, 0x15, 0x12,
|
0x24, 0x16, 0x13, 0x14, 0x11, 0x25, 0x15, 0x12,
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user