Extra parameter for compressWithFilters and packExtent,

to fix 2-pass problem with --brute on linux/elf386.
Only one decompression method is allowed, chosen by
smallest output for .text; but Elf headers come first.
	packer.cpp packer.h p_unix.cpp p_unix.h p_lx_elf.cpp

committer: jreiser <jreiser> 1140241030 +0000
This commit is contained in:
John Reiser
2006-02-18 05:37:10 +00:00
parent d3bcba6a05
commit 268e322e1c
5 changed files with 80 additions and 39 deletions
+3 -1
View File
@@ -172,7 +172,9 @@ protected:
const int *filters = NULL,
unsigned max_offset = 0, unsigned max_match = 0,
unsigned filter_buf_off = 0,
unsigned compress_buf_off = 0);
unsigned compress_buf_off = 0,
unsigned char *header_buffer = 0,
unsigned header_length = 0);
// util for verifying overlapping decompresion
// non-destructive test