2.LP_PARTITION_ATTR_READONLY
,
3.LP_PARTITION_ATTR_SLOT_SUFFIXED
,
4.LP_PARTITION_ATTR_UPDATED
,
5.LP_PARTITION_ATTR_DISABLED
blockDevSize
0
to 100000
metadataMaxSize
0
to 10000
metadataSlotCount
0
to 2
partitionName
superBlockDeviceName
blockDeviceInfoSize
alignment
alignmentOffset
logicalBlockSize
maxMetadataSize
0
to 10000
deviceIndex
start
end
partitionGroupName
numSectors
1
to 1000000
physicalSector
1
to 1000000
resizedPartitionSize
0
to 10000
$ mm -j$(nproc) liblp_builder_fuzzer
$ adb sync data $ adb shell /data/fuzz/arm64/liblp_builder_fuzzer/liblp_builder_fuzzer
SuperLayoutBuilder supports the following parameters:
Parameter | Valid Values | Configured Value |
---|---|---|
kAttributeTypes | 1.LP_PARTITION_ATTR_NONE ,2. LP_PARTITION_ATTR_READONLY ,3. LP_PARTITION_ATTR_SLOT_SUFFIXED ,4. LP_PARTITION_ATTR_UPDATED ,5. LP_PARTITION_ATTR_DISABLED | Value obtained from FuzzedDataProvider |
blockDevSize | Integer value from 0 to 100000 | Value obtained from FuzzedDataProvider |
metadataMaxSize | Integer value from 0 to 10000 | Value obtained from FuzzedDataProvider |
partitionName | String | Value obtained from FuzzedDataProvider |
data | String | Value obtained from FuzzedDataProvider |
imageName | String | Value obtained from FuzzedDataProvider |
$ mm -j$(nproc) liblp_super_layout_builder_fuzzer
$ adb sync data $ adb shell /data/fuzz/arm64/liblp_super_layout_builder_fuzzer/liblp_super_layout_builder_fuzzer
LiblpAPIs supports the following parameters:
Parameter | Valid Values | Configured Value |
---|---|---|
blockDeviceInfoSize | Integer | Value obtained from FuzzedDataProvider |
alignment | Integer | Value obtained from FuzzedDataProvider |
alignmentOffset | Integer | Value obtained from FuzzedDataProvider |
logicalBlockSize | Integer | Value obtained from FuzzedDataProvider |
blockDevSize | Integer value in multiples of LP_SECTOR_SIZE | Value obtained from FuzzedDataProvider |
metadataMaxSize | Integer value from 0 to 10000 | Value obtained from FuzzedDataProvider |
blockDeviceInfoName | String | Value obtained from FuzzedDataProvider |
numSectors | Integer value from 1 to 1000000 | Value obtained from FuzzedDataProvider |
physicalSector | Integer value from 1 to 1000000 | Value obtained from FuzzedDataProvider |
alignment | Bool | Value obtained from FuzzedDataProvider |
alignment | Vector | Value obtained from FuzzedDataProvider |
$ mm -j$(nproc) liblp_apis_fuzzer
$ adb sync data $ adb shell /data/fuzz/arm64/liblp_apis_fuzzer/liblp_apis_fuzzer