CakeWallet/scripts/android/debug
2025-06-04 17:45:49 +02:00
..
display_fuzzer_stats.sh feat: dev screen for file manager, snapshot and fuzzing 2025-06-04 17:45:49 +02:00
README.md fix(dev): updates to scripts, added documentation 2025-06-04 17:45:49 +02:00
record_tap.sh fix(dev): updates to scripts, added documentation 2025-06-04 17:45:49 +02:00
wallet_fuzzer.sh fix(dev): updates to scripts, added documentation 2025-06-04 17:45:49 +02:00

Debug scripts

display_fuzzer_stats.sh

Displays wallet fuzzer statistics in one screen for every emulator

record_tap.sh

Used to configure wallet_fuzzer.sh - to unlock wallet and start fuzzer (or any action we wish to test)

wallet_fuzzer.sh

Main logic to start wallet fuzzing scripts

Extras

In order to install app on all devices you can run the following command:

for device in $(adb devices | grep -w "device" | awk '{print $1}'); do
    echo "Installing on $device..."
    adb -s $device install -r build/app/outputs/flutter-apk/app-debug.apk
done

To watch for some log message:

for device in $(adb devices | grep -w "device" | awk '{print $1}'); do
    echo "Watching logs on $device..."
    adb -s "$device" logcat | grep --line-buffered "WalletInfo corrupted" | sed "s/^/[$device] /" &
done

wait