diff options
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/syscall/1926996')
| -rw-r--r-- | results/classifier/zero-shot-user-mode/output/syscall/1926996 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/syscall/1926996 b/results/classifier/zero-shot-user-mode/output/syscall/1926996 new file mode 100644 index 000000000..fa60b60af --- /dev/null +++ b/results/classifier/zero-shot-user-mode/output/syscall/1926996 @@ -0,0 +1,26 @@ +syscall: 0.588 +runtime: 0.279 +instruction: 0.133 + + + +qemu-user clone syscall fails + +qemu-user fails to emulate clone() (https://linux.die.net/man/2/clone). The architecture doesn't seem to matter, tho I've mostly been testing aarch64. + +Attached is clone_test.c that demonstrates the problem. Running it natively looks like this: +$ bin/clone_test +The variable was 9 +clone returned 4177: 0 Success +The variable is now 42 + + +However, running it via qemu looks like: +$ qemu-aarch64-static --version +qemu-aarch64 version 5.2.0 (v5.2.0) +Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers + +$ qemu-aarch64-static ./clone_test +The variable was 9 +clone returned -1: 22 Invalid argument +The variable is now 9 \ No newline at end of file |