| | |
| | | { IDENTIFICATION_STRATEGY::DEFAULT, |
| | | IDENTIFICATION_STRATEGY::DISK_LABEL, |
| | | IDENTIFICATION_STRATEGY::DISK_NUM, |
| | | IDENTIFICATION_STRATEGY::ETHERNET |
| | | }; |
| | | IDENTIFICATION_STRATEGY::ETHERNET }; |
| | | const int num_strategies = sizeof(strategies) / sizeof(strategies[0]); |
| | | std::ifstream test_idfile_exist(idfileLocation); |
| | | if (!test_idfile_exist.good()) { |
| | |
| | | for (int j = 0; j < 100; j++) { |
| | | for (unsigned int i = 0; i < reference_signatures.size(); i++) { |
| | | PcSignature pcsig; |
| | | strncpy(pcsig, reference_signatures[i].c_str(), sizeof(PcSignature)); |
| | | strncpy(pcsig, reference_signatures[i].c_str(), |
| | | sizeof(PcSignature)); |
| | | EVENT_TYPE val_result = validate_pc_signature(pcsig); |
| | | string message = string("pc signature verification strategy:") |
| | | + to_string(i) + " generated: [" + generated_identifier |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |