Detection of suspicious objects in KAV_CLEAN_SKIP cleaning mode

This section describes what happens in the situation when the scanning function is called with the KAV_CLEAN_SKIP cleaning mode and the suspicious object is detected.

The stateflow for this mode when dealing with suspicious objects slightly differs from that of infected object. Infected object are detected by some known criteria which provide the KAV Engine a basis to disinfect this object. Knowledge to detect provides the knowledge to disinfect. Suspicious objects are detected by heuristic analysis. These objects cannot be disinfected because the KAV Engine does not have data necessary to successfully disinfect these objects.

When a suspicious object is detected by a scanning function started in KAV_CLEAN_SKIP mode, the KAV SDK returns EVENT_CLEAN_FAILED event to the callback function. After that, the callback function is invoked with the EVENT_RESULT event.

Please notice that there is no EVENT_DISINFECTED event passed to the callback function compared to the stateflow with processing detectable objects.

In some cases EVENT_ERROR may arise at some of the stages of the stateflow. This may happen as a result of disk access error, lack of memory and related errors.

Before detection events in any cleaning mode, the EVENT_PREDETECT callback event always arises. It enables to cancel further scanning of the object by using the corresponding callback function return code.

The diagram below demonstrates the sequence of callback function calls.

Detection of suspicious objects in KAV_CLEAN_SKIP

Detection of suspicious objects in KAV_CLEAN_SKIP cleaning mode

Page top