/system/nfc/src/fuzzers/rw/ |
D | main.cc | 7 extern void Type1_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 8 extern void Type2_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 9 extern void Type3_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 10 extern void Type4_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 11 extern void Type5_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 12 extern void Mfc_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 14 extern void Type1_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); 15 extern void Type2_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); 16 extern void Type3_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); 17 extern void Type4_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); [all …]
|
D | fuzz.h | 29 const std::vector<bytes_t> Data; 33 Fuzz_Context(uint8_t FuzzSubType, const std::vector<bytes_t>& Packets)
|
D | mfc.cc | 152 void Mfc_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& /*Data*/) {} in Mfc_FixPackets() argument 154 void Mfc_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Data) { in Mfc_Fuzz()
|
D | t4t.cc | 160 void Type4_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& /*Data*/) {} in Type4_FixPackets() argument 162 void Type4_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Data) { in Type4_Fuzz()
|
D | t2t.cc | 200 void Type2_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& /*Data*/) {} in Type2_FixPackets() argument 202 void Type2_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Data) { in Type2_Fuzz()
|
D | t1t.cc | 241 void Type1_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& /*Data*/) {} in Type1_FixPackets() argument 243 void Type1_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Data) { in Type1_Fuzz()
|
D | t5t.cc | 318 void Type5_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& /*Data*/) {} in Type5_FixPackets() argument 320 void Type5_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Data) { in Type5_Fuzz()
|
D | t3t.cc | 291 void Type3_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets) { in Type3_FixPackets() 315 void Type3_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets) { in Type3_Fuzz()
|
/system/nfc/src/fuzzers/inc/ |
D | fuzz_cmn.h | 18 typedef std::vector<uint8_t> bytes_t; typedef 21 std::string BytesToHex(const bytes_t& data); 22 bytes_t FuzzSeqGen(size_t minLen, size_t maxLen); 37 const std::vector<bytes_t> Data; 40 Fuzz_Context(uint8_t FuzzSubType, const std::vector<bytes_t>& Packets) in Fuzz_Context() 60 extern void Fuzz_FixPackets(std::vector<bytes_t>& Packets, uint Seed); 61 extern void Fuzz_RunPackets(const std::vector<bytes_t>& Packets);
|
/system/nfc/src/fuzzers/ce/ |
D | main.cc | 7 extern void Type3_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 8 extern void Type4_FixPackets(uint8_t SubType, std::vector<bytes_t>& Packets); 10 extern void Type3_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); 11 extern void Type4_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets); 13 void Fuzz_FixPackets(std::vector<bytes_t>& Packets, uint Seed) { in Fuzz_FixPackets() 44 void Fuzz_RunPackets(const std::vector<bytes_t>& Packets) { in Fuzz_RunPackets()
|
D | t3t.cc | 121 void Type3_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& Packets) { in Type3_FixPackets() 137 void Type3_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets) { in Type3_Fuzz()
|
D | t4t.cc | 124 void Type4_FixPackets(uint8_t /*SubType*/, std::vector<bytes_t>& Packets) { in Type4_FixPackets() 139 void Type4_Fuzz(uint8_t SubType, const std::vector<bytes_t>& Packets) { in Type4_Fuzz()
|
/system/nfc/src/fuzzers/ |
D | fuzz_utils.cc | 16 std::string BytesToHex(const bytes_t& data) { in BytesToHex() 20 static std::vector<bytes_t> UnpackPackets(const uint8_t* Data, size_t Size) { in UnpackPackets() 21 std::vector<bytes_t> result; in UnpackPackets() 31 result.push_back(bytes_t(Data, Data + s)); in UnpackPackets() 41 static size_t PackPackets(const std::vector<bytes_t>& Packets, uint8_t* Data, in PackPackets() 78 Packets.insert(Packets.begin() + pos, bytes_t(len)); in LLVMFuzzerCustomMutator() 80 Packets.push_back(bytes_t(len)); in LLVMFuzzerCustomMutator()
|
/system/nfc/src/fuzzers/ndef/ |
D | main.cc | 41 void Fuzz_FixPackets(std::vector<bytes_t>& /*Packets*/, uint /*Seed*/) {} in Fuzz_FixPackets() argument 43 void Fuzz_RunPackets(const std::vector<bytes_t>& Packets) { in Fuzz_RunPackets()
|
/system/nfc/src/fuzzers/nci/ |
D | nci.cc | 81 void Fuzz_FixPackets(std::vector<bytes_t>& Packets, uint /*Seed*/) { in Fuzz_FixPackets() 90 void Fuzz_RunPackets(const std::vector<bytes_t>& Packets) { in Fuzz_RunPackets()
|