diff options
| author | 2023-02-27 19:18:36 -0500 | |
|---|---|---|
| committer | 2023-03-02 12:21:11 -0500 | |
| commit | b0c5b1fd330deffd19d0a93447766d31f8bb3023 (patch) | |
| tree | f904b800023f838de96e74255699e2a7abbe53ca /libs/gui/LayerDebugInfo.cpp | |
| parent | 6b8b79986e66617f23ed8f2e813cf1f014cab296 (diff) | |
Add fuzz tests for binder RecordedTransaction
This change adds tests for reading RecordedTransaction from a fuzzed
file, and for creating a RecordedTransaction from fuzzed Parcels and
other fields. Both tests will also excercise writing an instantiated
RecordedTransaction to a file.
This change also includes fixes for two issues uncovered by
binder_recordedTransactionFileFuzz:
- Guard RecordedTransaction from reading past file end
- Fix leak from failing to unmmap files when loading a
RecordedTransaction.
Test: Run the added fuzzers: binder_recordedTransactionFileFuzz and
binder_recordedTransactionFuzz
Change-Id: I7cc443d0915f9cea8289c5a4abbcb1ad323a0ed8
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions