DynamoRIO / DynamoRIO/drmemory

many Android tests fail

Open
#1,860 1 comment 0 reactions 0 assignees View on GitHub
Bug-Assert Component-Tests OpSys-Android OpSys-ARM
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

Split from #1726

These are tests I had to disable from the already-limited set of
pattern-only tests we set up for x64, as it is non-trivial to get them
working. After fixing these we should extend the set of tests for both x64
and Android.

**\* TODO fuzz tests fail with disturbing heap alloc failures

```
55: ~~Dr.M~~ Not tested - Save and restore shadow registers @/work/drmemory/git/src/drmemory/fuzzer.c:990

55: !repeatme|2|0|1|10;-fuzz_mutator_alg;random;-fuzz_mutator_unit;num;-fuzz_mutator_flags;0x0;-fuzz_mutator_sparsity;0;--;/data/local/tmp/build_DRtoo_android_dbg/tests/fuzz_buffer;initialize|
61: STDOUT: /system/bin/sh: 2: not found
61: /system/bin/sh: can't open main: No such file or directory
61: /system/bin/sh: 0: not found
61: /system/bin/sh: 1: not found
61: /system/bin/sh: 10: not found
```

Actually it's quite difficult to escape all these chars through "adb shell"
and "/system/bin/sh": I gave up after a few attempts.

**\* TODO unit_tests claims to pass but fails

```
1: Test command: /extsw/android/android-sdk-linux/platform-tools/adb "shell" "/data/local/tmp/build_DRtoo_android_dbg/bin/unit_tests"
1: Test timeout computed to be: 9.99988e+06
1: CANNOT LINK EXECUTABLE: library "libdynamorio.so" not found
1/53 Test #1: unit_tests ........................ Passed 0.07 sec
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.