Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e632d807 authored by Zach Johnson's avatar Zach Johnson
Browse files

Add ability to pass crash input to gd/fuzz/run

Test: fuzz/run --host bluetooth_gd_hci_fuzz_test <crash input>
Change-Id: If4d9d755be5fa27969b69cf83e77714a746f8006
parent 53724407
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,5 +28,5 @@ set -- "${POSITIONAL[@]}" # restore positional parameters

if [ "$HOST" == true ] ; then
  HOST_ARCH=$($ANDROID_BUILD_TOP/build/soong/soong_ui.bash --dumpvar-mode HOST_ARCH)
  SANITIZE_HOST=address $ANDROID_BUILD_TOP/build/soong/soong_ui.bash --build-mode --"all-modules" --dir="$(pwd)" $1 && ${ANDROID_HOST_OUT}/fuzz/$HOST_ARCH/$1/$1
  SANITIZE_HOST=address $ANDROID_BUILD_TOP/build/soong/soong_ui.bash --build-mode --"all-modules" --dir="$(pwd)" $1 && ${ANDROID_HOST_OUT}/fuzz/$HOST_ARCH/$1/$1 $2
fi