| 2461 | } |
| 2462 | |
| 2463 | void 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 | |
| 2471 | void VulnerabilityScanner::runAllChecks(NimBLEAddress target) { |
| 2472 | for (auto &check : vulnerabilityChecks) |
nothing calls this directly
no outgoing calls
no test coverage detected