tree: 9c337a50e557434c0885252c8f133c673c8380a3 [path history] [tgz]
  1. Android.bp
  2. README.md
  3. surfaceflinger_fuzzer.cpp
  4. surfaceflinger_fuzzers_utils.h
services/surfaceflinger/fuzzer/README.md

Fuzzers for SurfaceFlinger

Table of contents

Fuzzer for SurfaceFlinger

SurfaceFlinger supports the following data sources:

  1. Pixel Formats (parameter name: defaultCompositionPixelFormat)
  2. Data Spaces (parameter name: defaultCompositionDataspace)
  3. Rotations (parameter name: internalDisplayOrientation)
  4. Surface composer tags (parameter name: onTransact)

You can find the possible values in the fuzzer's source code.

Steps to run

  1. Build the fuzzer
  $ mm -j$(nproc) surfaceflinger_fuzzer
  1. To run on device
  $ adb sync data
  $ adb shell /data/fuzz/arm64/surfaceflinger_fuzzer/surfaceflinger_fuzzer