MCPcopy Create free account
hub / github.com/BruceDevices/firmware / addCustomCheck

Method addCustomCheck

src/modules/ble/BLE_Suite.cpp:2463–2469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2461}
2462
2463void VulnerabilityScanner::addCustomCheck(String name, bool (*checkFunc)(NimBLEAddress), String desc) {
2464 VulnCheck check;
2465 check.name = name;
2466 check.checkFunction = checkFunc;
2467 check.description = desc;
2468 vulnerabilityChecks.push_back(check);
2469}
2470
2471void VulnerabilityScanner::runAllChecks(NimBLEAddress target) {
2472 for (auto &check : vulnerabilityChecks)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected