Home
last modified time | relevance | path

Searched refs:bytes_t (Results 1 – 15 of 15) sorted by relevance

/system/nfc/src/fuzzers/rw/
Dmain.cc7 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 …]
Dfuzz.h29 const std::vector<bytes_t> Data;
33 Fuzz_Context(uint8_t FuzzSubType, const std::vector<bytes_t>& Packets)
Dmfc.cc152 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()
Dt4t.cc160 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()
Dt2t.cc200 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()
Dt1t.cc241 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()
Dt5t.cc318 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()
Dt3t.cc291 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/
Dfuzz_cmn.h18 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/
Dmain.cc7 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()
Dt3t.cc121 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()
Dt4t.cc124 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/
Dfuzz_utils.cc16 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/
Dmain.cc41 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/
Dnci.cc81 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()