summaryrefslogtreecommitdiffstats
path: root/results/classifier/user-mode-bugs/1748612
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-05 20:00:38 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-05 20:00:38 +0200
commit96049c939b1916d80532630d63c14e04d5244f1d (patch)
tree7fb9df428f074078e714f1e038210cdff887185a /results/classifier/user-mode-bugs/1748612
parent40bbb77d4dfebff4f99c2f90b2c0db737b0ecc5a (diff)
downloademulator-bug-study-96049c939b1916d80532630d63c14e04d5244f1d.tar.gz
emulator-bug-study-96049c939b1916d80532630d63c14e04d5244f1d.zip
lock user-mode and semantic-bugs
Diffstat (limited to 'results/classifier/user-mode-bugs/1748612')
-rw-r--r--results/classifier/user-mode-bugs/174861217
1 files changed, 17 insertions, 0 deletions
diff --git a/results/classifier/user-mode-bugs/1748612 b/results/classifier/user-mode-bugs/1748612
new file mode 100644
index 00000000..47c26621
--- /dev/null
+++ b/results/classifier/user-mode-bugs/1748612
@@ -0,0 +1,17 @@
+
+
+qemu-user option -strace -D <file> doesn't work
+
+I have been trying to access qemu -strace output from a script
+The main problem was it was on stderr, the strace output was merged with my program's stderr output.
+Then I tried to use the -D option, to log the output to a file.
+This didn't work even if the log file was created, but it was empty.
+
+I have looked at the source code and found the print function was not qemu_log with -strace but gemu_log (to be clear it was GEMU NOT QEMU)
+
+
+I have then replaced all gemu_log by qemu_log removed declaration of gemu_log and recompiled, it seems to works just fine right now.
+
+removed declaration here and here:
+https://github.com/qemu/qemu/blob/master/linux-user/main.c#L108
+https://github.com/qemu/qemu/blob/master/linux-user/qemu.h#L203 \ No newline at end of file