MCPcopy Create free account
hub / github.com/HexHive/NASS / readInt32

Method readInt32

fans/fuzzer-engine/fuzzer-coverage/src/parcel_reader.cpp:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void ParcelReader::readInt32() {
38 checkIsRaw();
39 int32_t value;
40 value = parcelReaderWriter->reply->readInt32();
41 parcelReaderWriter->storeValue(varName, value);
42 FUZZER_LOGD("read int32: %d.", value);
43 // detect leak
44
45 // if dependency, solve dependency.
46 if (parcelReaderWriter->isDependency) {
47 parcelReaderWriter->targetParcel->writeInt32(value);
48 }
49}
50
51void ParcelReader::readUint32() {
52 checkIsRaw();

Callers 8

readIntegerLiteralMethod · 0.45
readParcelStructureMethod · 0.45
readLightFlattenableMethod · 0.45
readFlattenableMethod · 0.45
testOpenSeesionFunction · 0.45
testCloseSessionFunction · 0.45

Calls 2

storeValueMethod · 0.45
writeInt32Method · 0.45

Tested by 4

testOpenSeesionFunction · 0.36
testCloseSessionFunction · 0.36