summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1858415
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/1858415
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/1858415')
-rw-r--r--results/classifier/zero-shot-user-mode/output/instruction/185841530
1 files changed, 30 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/1858415 b/results/classifier/zero-shot-user-mode/output/instruction/1858415
new file mode 100644
index 000000000..a0c41f61f
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/output/instruction/1858415
@@ -0,0 +1,30 @@
+instruction: 0.523
+syscall: 0.244
+runtime: 0.233
+
+
+
+in tcp_emu function has OOB bug
+
+qemu version: 4.1.0 
+
+```c
+int tcp_emu(struct socket *so, struct mbuf *m){
+............
+case EMU_REALAUDIO:
+............
+    while (bptr < m->m_data + m->m_len) {
+        case 6:
+............
+            lport = (((uint8_t *)bptr)[0] << 8) + ((uint8_t *)bptr)[1];
+............               
+            *(uint8_t *)bptr++ = (p >> 8) & 0xff;
+            *(uint8_t *)bptr = p & 0xff;
+............
+    }
+............
+............
+}
+```
+
+bptr)[1] and  bptr++ ,may make bptr ==  m->m_data + m->m_len,and cause OOB(out of bounds.)
\ No newline at end of file