Bitdefender Hypervisor Memory Introspection
lixcmdline.h File Reference

Exposes the functions used to schedule an asynchronous command line scan and receives its result. More...

#include "lixprocess.h"

Go to the source code of this file.

Functions

INTSTATUS IntLixCmdLineInspect (LIX_TASK_OBJECT *Task)
 Send a command line scan request to the scan engines. More...
 
INTSTATUS IntLixHandleCmdLineCallback (ENG_NOTIFICATION_CMD_LINE *EngineNotification)
 Send a command line violation event. More...
 

Detailed Description

Exposes the functions used to schedule an asynchronous command line scan and receives its result.

Definition in file lixcmdline.h.

Function Documentation

◆ IntLixCmdLineInspect()

INTSTATUS IntLixCmdLineInspect ( LIX_TASK_OBJECT Task)

Send a command line scan request to the scan engines.

If this function succeeds, the integrator must call the PFUNC_IntEventEnginesResultCallback, otherwise a memory leak will occur.

Parameters
[in]TaskThe process structure (it contains the command line and other fields).
Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_INSUFFICIENT_RESOURCESIf the allocation fails.

Definition at line 70 of file lixcmdline.c.

Referenced by IntLixTaskHandleExec().

◆ IntLixHandleCmdLineCallback()

INTSTATUS IntLixHandleCmdLineCallback ( ENG_NOTIFICATION_CMD_LINE EngineNotification)

Send a command line violation event.

Parameters
[in]EngineNotificationThe engine notification containing the scan result.
Return values
INT_STATUS_SUCCESSOn success.

Definition at line 140 of file lixcmdline.c.

Referenced by IntEnginesResultCallback().