diff options
Diffstat (limited to 'results/classifier/108/debug/1527300')
| -rw-r--r-- | results/classifier/108/debug/1527300 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/results/classifier/108/debug/1527300 b/results/classifier/108/debug/1527300 new file mode 100644 index 000000000..6d63e7b9d --- /dev/null +++ b/results/classifier/108/debug/1527300 @@ -0,0 +1,30 @@ +debug: 0.960 +graphic: 0.725 +device: 0.693 +files: 0.557 +performance: 0.520 +semantic: 0.482 +network: 0.478 +vnc: 0.356 +permissions: 0.354 +socket: 0.324 +other: 0.302 +boot: 0.292 +PID: 0.187 +KVM: 0.067 + +linux-user/elfload.c: byteswap function is not working when ELF is big endian + +I run qemu-mipsel for ELF with mips MSB(big endian), it always outputs error message: Invalid ELF image for this architecture. For the ELF I run: + +$file busybox + +ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped + +The section header is not corrupted(MSB, corrputed section header table also outputs same error as above), when I run ELF with LSB, it works perfectly. I debugged with /linux-user/elfload.c, I am sure that the problem comes from byteswap function. But I don't know how to handle it. I really hope this can be fixed ASAP. Really appreciate your help. + + + +The qemu-mipsel binary is for little-endian executables (that's what the "el" part means), so it is expected that it does not handle BE ELF files. Try "qemu-mips", which is the equivalent QEMU binary for big-endian executables. + + |