mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
more DPRINTF
modified: amd64-linux.elf-main.c
This commit is contained in:
parent
2a594ad0a7
commit
bb8239ccda
|
@ -131,6 +131,7 @@ static void
|
||||||
err_exit(int a)
|
err_exit(int a)
|
||||||
{
|
{
|
||||||
(void)a; // debugging convenience
|
(void)a; // debugging convenience
|
||||||
|
DPRINTF("err_exit %%d\\n", a);
|
||||||
exit(127);
|
exit(127);
|
||||||
}
|
}
|
||||||
#endif //}
|
#endif //}
|
||||||
|
@ -198,8 +199,10 @@ ERR_LAB
|
||||||
h.b_method
|
h.b_method
|
||||||
#endif //}
|
#endif //}
|
||||||
);
|
);
|
||||||
if (j != 0 || out_len != (nrv_uint)h.sz_unc)
|
if (j != 0 || out_len != (nrv_uint)h.sz_unc) {
|
||||||
|
DPRINTF("j=%%x out_len=%%x &h=%%p\\n", j, out_len, &h);
|
||||||
err_exit(7);
|
err_exit(7);
|
||||||
|
}
|
||||||
// Skip Ehdr+Phdrs: separate 1st block, not filtered
|
// Skip Ehdr+Phdrs: separate 1st block, not filtered
|
||||||
if (h.b_ftid!=0 && f_unf // have filter
|
if (h.b_ftid!=0 && f_unf // have filter
|
||||||
&& ((512 < out_len) // this block is longer than Ehdr+Phdrs
|
&& ((512 < out_len) // this block is longer than Ehdr+Phdrs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user