summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1926202
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:15 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:28 +0200
commit5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch)
tree9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/instruction/1926202
parent1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff)
downloadqemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz
qemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1926202')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/192620224
1 files changed, 24 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1926202 b/results/classifier/zero-shot-user-mode/instruction/1926202
new file mode 100644
index 000000000..4719d7f55
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1926202
@@ -0,0 +1,24 @@
+instruction: 0.765
+runtime: 0.175
+syscall: 0.060
+
+
+
+qemu-user can't run some ppc binaries
+
+qemu-user v6.0.0-rc5, built in static mode, will crash for certain ppc binaries.  It seems to have something to do with glibc for some Centos versions.  The problem is easiest to see with statically-linked binaries.
+
+The attached Dockerfile shows how to produce a ppc binary that will crash qemu-user.  Here is how to reproduce the problem:
+
+$ uname -m
+x86_64
+$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
+$ docker build -t qemu-bug:centos -f Dockerfile.centos .
+$ docker run --rm -it -v$PWD:$PWD -w$PWD qemu-bug:centos cp /helloworld-centos.static.ppc .
+$ qemu-ppc version 5.2.95 (v6.0.0-rc5)
+Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
+$ qemu-ppc-static ./helloworld-centos.static.ppc
+emu: uncaught target signal 4 (Illegal instruction) - core dumped
+[1]    16678 illegal hardware instruction (core dumped)  qemu-ppc-static ./helloworld-centos.static.ppc
+
+I can also provide the binary if necessary.
\ No newline at end of file