all: assorted updates and cleanups
This commit is contained in:
+3
-3
@@ -54,10 +54,10 @@ public:
|
||||
}
|
||||
void init(int id = 0, unsigned addvalue = 0);
|
||||
|
||||
bool filter(upx_byte *buf, unsigned buf_len);
|
||||
void unfilter(upx_byte *buf, unsigned buf_len, bool verify_checksum = false);
|
||||
bool filter(SPAN_0(upx_byte) buf, unsigned buf_len);
|
||||
void unfilter(SPAN_0(upx_byte) buf, unsigned buf_len, bool verify_checksum = false);
|
||||
void verifyUnfilter();
|
||||
bool scan(const upx_byte *buf, unsigned buf_len);
|
||||
bool scan(SPAN_0(const upx_byte) buf, unsigned buf_len);
|
||||
|
||||
static bool isValidFilter(int filter_id);
|
||||
static bool isValidFilter(int filter_id, const int *allowed_filters);
|
||||
|
||||
Reference in New Issue
Block a user