mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-04 07:43:23 +00:00
On MIPS platforms, shared libraries may use EI_ABIVERSION = 5 to indicate support for .MIPS.xhash sections. The previous ELF header check in handle_binary() strictly compared e_ident against a hardcoded value, causing legitimate shared objects to be rejected. This patch replaces the memcmp-based check with a structured validation of ELF magic and class, and allows EI_ABIVERSION values beside 0. fixes: #2745 Signed-off-by: dong sunchao <dongsunchao@gmail.com> |
||
|---|---|---|
| .. | ||
| aarch64 | ||
| arm | ||
| loongarch64 | ||
| mips | ||
| ppc64 | ||
| riscv64 | ||
| s390 | ||
| x86 | ||