Analysecode

OllyDbg Plugin API

Analysecode

Analyzes executable code of specified module. Among other tasks, analysis includes:

·Recognition of commands and embedded data;

·Recognition of 1- and 2-stage switches;

·Recognition of procedures and loops;

·Decoding of arguments of known functions;

·Prediction of contents of registers;

·Forming of call tree.

One very important assumption: code is valid and is not counterfeit: knowing how this analysis works, one may write a program that will be analyzed totally incorrectly. Function is highly heuristical, so never assume that results are 100% reliable. Returns 0 on success and -1 on error.

int Analysecode(t_module *pmod);

Parameters:

pmod - pointer to module descriptor.