/system/nfc/src/fuzzers/nci/ |
D | hal.cc | 13 FUZZLOG("Injecting event to NFC code: event=%d, status=%d", hal_evt, status); in hal_inject_event() 18 FUZZLOG("Injecting data to NFC stack: %s", in hal_inject_data() 50 static void HalInitialize() { FUZZLOG("HAL_OP: type=initialize"); } in HalInitialize() 52 static void HalTerminate() { FUZZLOG("HAL_OP: type=terminate"); } in HalTerminate() 56 FUZZLOG("HAL_OP, type=open"); in HalOpen() 61 FUZZLOG("HAL_OP, type=close"); in HalClose() 80 FUZZLOG("HAL_OP: type=write, data=%s", BytesToHex(p_data, data_len).c_str()); in HalWrite() 94 FUZZLOG("HAL_OP: type=coreInitialized, data=%s", in HalCoreInitialized() 100 FUZZLOG("HAL_OP: type=prediscover, return=false"); in HalPrediscover() 104 static void HalControlGranted() { FUZZLOG("HAL_OP: type=controlGranted"); } in HalControlGranted() [all …]
|
D | nci.cc | 14 FUZZLOG(MODULE_NAME ": event=0x%02x, p_data=%p", event, p_data); in resp_cback() 18 FUZZLOG(MODULE_NAME ": event=0x%02x, data=%p", event, in nfc_vs_cback() 24 FUZZLOG(MODULE_NAME ": rf_cback, conn_id=%d, event=0x%02x", conn_id, event); in nfc_rf_cback() 36 FUZZLOG(MODULE_NAME ": hci_cback, conn_id=%d, event=0x%02x", conn_id, event); in nfc_hci_cback()
|
D | stubs.cc | 31 FUZZLOG("nci_status=%02X, num_responses=%d, p_sensf_res_buf=%s", nci_status, in rw_t3t_handle_nci_poll_ntf()
|
/system/nfc/src/fuzzers/ce/ |
D | t3t.cc | 20 FUZZLOG(MODULE_NAME ": event=0x%02x, p_ce_data=%p", event, p_ce_data); in ce_cback() 37 FUZZLOG(MODULE_NAME ": CE_SetActivatedTagType failed"); in Init() 67 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 80 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 86 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 97 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 113 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zu]=%s", ctx.SubType, in Fuzz_Run()
|
D | t4t.cc | 13 FUZZLOG(MODULE_NAME ": event=0x%02x, p_ce_data=%p", event, p_ce_data); in ce_cback() 30 FUZZLOG(MODULE_NAME ": CE_SetActivatedTagType failed"); in Init() 70 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 83 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 89 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 100 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 116 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zu]=%s", ctx.SubType, in Fuzz_Run()
|
D | main.cc | 39 FUZZLOG("Unknown fuzz type %hhu", FuzzType); in Fuzz_FixPackets() 57 FUZZLOG("Fuzzing Type%u tag", (uint)(FuzzType + 1)); in Fuzz_RunPackets() 69 FUZZLOG("Unknown fuzz type: %hhu", FuzzType); in Fuzz_RunPackets()
|
D | stubs.cc | 34 FUZZLOG("conn_id=%d, data=%s", conn_id, BytesToHex(p, len).c_str()); in NFC_SendData() 40 FUZZLOG("sc=%04X, rc=%02X, tsn=%02X", system_code, rc, tsn); in nci_snd_t3t_polling()
|
/system/nfc/src/fuzzers/rw/ |
D | mfc.cc | 19 FUZZLOG(MODULE_NAME ": event=0x%02x, p_rw_data=%p", event, p_rw_data); in rw_cback() 49 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 80 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 99 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 105 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 128 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 144 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zu]=%s", ctx.SubType, in Fuzz_Run()
|
D | t4t.cc | 17 FUZZLOG(MODULE_NAME ": rw_cback: event=0x%02x, p_rw_data=%p", event, in rw_cback() 45 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 82 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 107 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 113 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 136 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 152 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zd]=%s", ctx.SubType, in Fuzz_Run()
|
D | t2t.cc | 20 FUZZLOG(MODULE_NAME ": rw_cback: event=0x%02x, p_rw_data=%p", event, in rw_cback() 44 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 110 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 147 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 153 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 176 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 192 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zd]=%s", ctx.SubType, in Fuzz_Run()
|
D | t1t.cc | 26 FUZZLOG(MODULE_NAME ": rw_cback: event=0x%02x, p_rw_data=%p", event, in rw_cback() 53 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 135 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 188 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 194 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 217 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 233 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zd]=%s", ctx.SubType, in Fuzz_Run()
|
D | t3t.cc | 43 FUZZLOG(MODULE_NAME ": rw_cback: event=0x%02x, p_rw_data=%p", event, in rw_cback() 72 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 166 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 207 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 213 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 255 FUZZLOG(MODULE_NAME ": Ivalid message length=%hu", p_msg->len); in t3t_data_msg() 268 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 279 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zd]=%s", ctx.SubType, in Fuzz_Run()
|
D | t5t.cc | 36 FUZZLOG(MODULE_NAME ": rw_cback: event=0x%02x, p_rw_data=%p", event, in rw_cback() 62 FUZZLOG(MODULE_NAME ": RW_SetActivatedTagType failed"); in Init() 168 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 259 FUZZLOG(MODULE_NAME ": Unknown command %d", ctx.SubType); in Fuzz_Init() 265 FUZZLOG(MODULE_NAME ": Initializing command %02X failed", ctx.SubType); in Fuzz_Init() 294 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run() 310 FUZZLOG(MODULE_NAME ": SubType=%02X, Response[%zd/%zd]=%s", ctx.SubType, in Fuzz_Run()
|
D | main.cc | 61 FUZZLOG("Unknown fuzz type %hhu", FuzzType); in Fuzz_FixPackets() 79 FUZZLOG("Fuzzing Type%u tag", (uint)(FuzzType + 1)); in Fuzz_RunPackets() 107 FUZZLOG("Unknown fuzz type: %hhu", FuzzType); in Fuzz_RunPackets()
|
D | stubs.cc | 31 FUZZLOG("conn_id=%d, data=%s", conn_id, BytesToHex(p, len).c_str()); in NFC_SendData() 37 FUZZLOG("sc=%04X, rc=%02X, tsn=%02X", system_code, rc, tsn); in nci_snd_t3t_polling()
|
/system/nfc/src/fuzzers/llcp/ |
D | llcp.cc | 14 FUZZLOG(MODULE_NAME ": : event=0x%02x, reason=0x%02X", event, reason); in llcp_cback() 34 FUZZLOG(MODULE_NAME ": LLCP_ActivateLink failed"); in Init() 43 FUZZLOG(MODULE_NAME ": initialization failed"); in Fuzz_Init() 63 FUZZLOG(MODULE_NAME ": Input[%u/%zu](Payload)=%s", in Fuzz_Run() 70 FUZZLOG(MODULE_NAME ": GKI_getbuf returns null, size=%zu", it->size()); in Fuzz_Run()
|
D | stubs.cc | 15 FUZZLOG("conn_id=%d, data=%s", conn_id, BytesToHex(p, len).c_str()); in NFC_SendData() 50 FUZZLOG("sc=%04X, rc=%02X, tsn=%02X", system_code, rc, tsn);
|
/system/nfc/src/fuzzers/ |
D | fuzz_cmn.cc | 25 FUZZLOG("iterations=%d, seed=%d", iterations, seed); in main() 32 FUZZLOG("iteration=%d, seed=%d", i, seed); in main()
|
D | fuzz_utils.cc | 100 FUZZLOG("Packet size:%zu, data=%s", Packets.size(), in LLVMFuzzerCustomMutator() 126 FUZZLOG("Debugging output enabled"); in LLVMFuzzerInitialize()
|
/system/nfc/src/fuzzers/ndef/ |
D | main.cc | 16 FUZZLOG("ndef_data, start=%p, len=%d", p_data->ndef_data.p_data, in ndef_cback() 25 FUZZLOG("ndef_data, checksum=%04X", cs); in ndef_cback()
|
/system/nfc/src/fuzzers/inc/ |
D | fuzz_cmn.h | 19 #define FUZZLOG(...) \ macro
|