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



[qemu-user/qemu-x86_64] run x86_64 'ls /' on aarch64 platform get wrong result
Description of problem:
```
    qemu-x86_64 -L /tmp/ls-x86_64/root-x86_64-ls  /tmp/ls-x86_64/root-x86_64-ls/bin/ls  -l  /
    ```
get wrong result
Steps to reproduce:
1. copy /usr/bin/ls and the so library files it depends on from x86_64 platform to aarch64 platform
2. qemu-x86_64 -L /path/to/x86_64/lib/root/dir  /path/to/ls  /  -l
Additional information:
Actual test script:
```
# host
curl -Ls https://github.com/tcler/kiss-vm-ns/raw/master/utils/archive-ld-program.sh | sudo bash /dev/stdin ls
scp  ls.x86_64.ash  root@jiyin-fedora-39_aarch64:
ssh root@jiyin-fedora-39_aarch64 ./ls.x86_64.ash -l /
```