![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
#include "PanoptesML.h"#include <bcrypt.h>#include <cstdio>#include <cstring>#include <stdexcept>Go to the source code of this file.
Functions | |
| bool | LoadEmbeddedModel (std::vector< uint8_t > &) |
| The model built into the DLL (an encrypted RCDATA resource, see tools/sealmodel), decrypted into Model. Returns false when the DLL was built without one, so model.onnx is loaded from its folder instead. Throws std::runtime_error when the embedded model can't be decrypted (modified or corrupted). | |
| bool LoadEmbeddedModel | ( | std::vector< uint8_t > & | Model | ) |
The model built into the DLL (an encrypted RCDATA resource, see tools/sealmodel), decrypted into Model. Returns false when the DLL was built without one, so model.onnx is loaded from its folder instead. Throws std::runtime_error when the embedded model can't be decrypted (modified or corrupted).
Definition at line 111 of file model_seal.cpp.