Added an assertion to make sure I've really understood the semantics
of the ctok32 filter length.
This commit is contained in:
+2
-1
@@ -271,7 +271,8 @@ void PackVmlinuxBase<T>::pack(OutputFile *fo)
|
||||
defineDecompressorSymbols();
|
||||
defineFilterSymbols(linker, &ft);
|
||||
if (0x40==(0xf0 & ft.id)) {
|
||||
linker->defineSymbol("filter_length", ph.u_len); // redefine
|
||||
linker->defineSymbol("filter_length", ft.buf_len); // redefine
|
||||
assert(ft.buf_len == ph.u_len);
|
||||
}
|
||||
relocateLoader();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user