summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Daniele Di Proietto <ddiproietto@google.com> 2023-11-10 12:51:46 +0000
committer Daniele Di Proietto <ddiproietto@google.com> 2023-11-10 13:03:57 +0000
commit217d2aba0ed9e8d59b796e0c569bb5d5893736bc (patch)
tree540697017b36c04ca6543dc6ebb2b52c25a7e597 /libs/ultrahdr/jpegencoderhelper.cpp
parenta509706c927dd1c18259bc70177778a3bed1f44d (diff)
Only use InProcess backend in fuzzer
This is a partial revert of 7e6446c3da42("Refactored surfaceflinger_frametracer_fuzzer"). I think the intent of the fuzzer is more to stress the surface flinger tracing code and less to stress the perfetto consumer code (which is less security critical). kUnspecifiedBackend is equivalent to kInProcessBackend (it's the first registered backend which we initialized earlier with perfetto::Tracing::Initialize()). kCustomBackend will not have any effect, because no custom backend has been previously registered. kSystemBackend will make the producer talk with the real perfetto tracing service on the system: this doesn't have much value because the real code is not running under the fuzzer there. The only code under the fuzzer will be the consumer part of the perfetto C++ SDK, which is not security critical. This makes the fuzzer run much faster. Bug: 307601836 Change-Id: Ia5c4b42bf4916783d7eafa7b51b97ee6a7fc726e
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions