summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1926202
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-07-07 17:23:11 +0000
commitc50b0c4da17b6e83640e4ed2380fffb5f507c846 (patch)
treeb4f203fce1380e2ea3578a784bb8ee060fe42cbd /results/classifier/zero-shot-user-mode/output/instruction/1926202
parent61361f925d4914a6608a0076e64cc2399311ed5f (diff)
downloadqemu-analysis-c50b0c4da17b6e83640e4ed2380fffb5f507c846.tar.gz
qemu-analysis-c50b0c4da17b6e83640e4ed2380fffb5f507c846.zip
add zero-shot results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/instruction/1926202')
-rw-r--r--results/classifier/zero-shot-user-mode/output/instruction/192620224
1 files changed, 24 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/1926202 b/results/classifier/zero-shot-user-mode/output/instruction/1926202
new file mode 100644
index 000000000..4719d7f55
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/output/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