Cexpression(wchar_t *expression,uchar *cexpr,int nexpr,int *explen,wchar_t *err,ulong mode);
to intermediate form. Precompiled expressions can be estimated up to 50
times faster than expressions calculated directly from the text string.
Note that format of the intermediate code may change in the
subsequent OllyDbg version. If you want to keep precompiled expressions
between the sessions, always check the version.
Pointer to the expression, zero-terminated UNICODE string. The syntax
of expressions is described here
Pointer to the buffer that receives the precompiled expression.
Length of the buffer cexpr in bytes. In most practical cases, nexpr = TEXTLEN is sufficient
Optional pointer to the variable that receives the length of the
precompiled expression in bytes, or NULL if exact length of the
precompiled expression is not important
Pointer to the UNICODE buffer of length TEXTLEN wide characters that receives the error message. This parameter can't be NULL
Compilation mode, combination of zero or more of the following flags:
- reports error "Extra characters on line" if the first non-blank
syntactically complete expression of maximal length is neither '\0' nor
EMOD_MULTI - allows explanations and multiple subexpressions
of processed UNICODE characters in expression.
If expression is syntactically invalid, this is roughly the location of
the syntax error. On success, err is cleared (err is set to 0). On error, err contains error message.