summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1773743
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/1773743
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/1773743')
-rw-r--r--results/classifier/zero-shot-user-mode/output/instruction/177374327
1 files changed, 27 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/1773743 b/results/classifier/zero-shot-user-mode/output/instruction/1773743
new file mode 100644
index 000000000..5055b19e7
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/output/instruction/1773743
@@ -0,0 +1,27 @@
+instruction: 0.521
+runtime: 0.250
+syscall: 0.229
+
+
+
+qemu-user -g xxx -E LD_PROFILE=xxx segfault
+
+Here is two simple steps to reproduce the bug:
+
+$ qemu-x86_64 -E LD_PROFILE=libc.so.6 -E LD_PROFILE_OUTPUT=. -g 12345 -L / /bin/ls
+
+(libc.so and /bin/ls might change on your system, in this case we just need a binary with a profilable needed library)
+
+In a other window launch:
+
+$ gdb
+(gdb) target remote :12345
+(gdb) c
+
+At this point qemu will segfault.
+
+It seems this problem is appends when sigprof passed to gdb.
+One way I have found to bypass this:
+patch gdbstub.c gdb_handlesig and ignore sig if
+sig == TARGET_SIGPROF
+(which means now I can't catch sigprof on gdb anymore)
\ No newline at end of file