mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Added some assertions about the struct sizes.
committer: mfx <mfx> 972865746 +0000
This commit is contained in:
parent
cb199ddbfa
commit
f351277f61
|
@ -45,6 +45,8 @@ PackUnix::PackUnix(InputFile *f) :
|
||||||
{
|
{
|
||||||
assert(sizeof(Elf_LE32_Ehdr) == 52);
|
assert(sizeof(Elf_LE32_Ehdr) == 52);
|
||||||
assert(sizeof(Elf_LE32_Phdr) == 32);
|
assert(sizeof(Elf_LE32_Phdr) == 32);
|
||||||
|
assert(sizeof(l_info) == 12);
|
||||||
|
assert(sizeof(p_info) == 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user