summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1835839
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/1835839
parent1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff)
downloadqemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz
qemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1835839')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/183583927
1 files changed, 27 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1835839 b/results/classifier/zero-shot-user-mode/instruction/1835839
new file mode 100644
index 000000000..6d3026e4b
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1835839
@@ -0,0 +1,27 @@
+instruction: 0.629
+runtime: 0.285
+syscall: 0.087
+
+
+
+qemu-user: $0 incorrectly always reports absolute path
+
+We just ran into an issue with the Perl package on Debian/m68k when being built with qemu-user [1].
+
+The problem can be boiled down to qemu-user always reporting absolute paths for the shell variable $0 no matter on how the command was invoked.
+
+A simple reproducer is this:
+
+On normal system (no emulation):
+
+root@nofan:~> sh -c 'echo $0'
+sh
+root@nofan:~>
+
+On qemu-user:
+
+(sid-m68k-sbuild)root@nofan:/# sh -c 'echo $0'
+/bin/sh
+(sid-m68k-sbuild)root@nofan:/#
+
+> [1] https://lists.debian.org/debian-68k/2019/07/msg00007.html
\ No newline at end of file