-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
As per the Pzanalysis PR, we will proceed with out first type of analysis implementation.
Contents for PzAnalysis :
PzAnalysisType, which is an enum which tells about the type of analysisPzCoreSPtr, which is a shared pointer to thePzCoreobject required for accessing bufferPzAnalysisImplUPtr, which is a unique pointer to the implementation class which is a parent class of all analysis implementation
Implement method declaration and definition of PzAnalysisExact (a child of PzAnalysisImpl) :
- Consider how to make it most efficient. Test various approaches and proceed with the one that performs the best during benchmark
- Take advantage of the type of buffer. You can implement different regex searches based on the available buffer type.
- Add relevant tests to benchmark the analysis once the testing framework is setup.
More general tips :
- Try to maximise use of move semantics and references to minimise copying and hence making a more efficient analysis
- Try your best to minimise memory footprint of the class but not at the cost of time
- Handle error cases and report it using
PzErrorAPI. Feel free to extendPzErrorAPI with relevant functions/enums.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels