summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1910605
blob: b61ef251ac68e3d77eec0b063f1c9ad0c0ce2b06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
instruction: 0.639
syscall: 0.228
runtime: 0.134



qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address



Snippet of code sample:

struct usbdevfs_bulktransfer Bulk;
Bulk.ep = hUsb->UsbOut;          
Bulk.len = Len;          
Bulk.data = (void *)pData;          
Bulk.timeout = Timeout;
Bytes = ioctl(hUsb->fd, USBDEVFS_BULK, &Bulk)

The above code sample return -1 (EFAULT) Bad address when using qemu-arm-static but is running ok when on qemu-aarch64-static.

I use a 64-bit intel laptop