Optional plugin callback function, called when OllyDbg encounters INT3 or hardware temporary breakpoint (BP_TEMP) with action flag BA_PLUGIN.
Note that OllyDbg does not track which plugin has requested this
breakpoint and calls all plugins, then automatically removes breakpoint
(unless action flag BA_PERMANENT was set, but plugins are discouraged from using this flag). In general, plugins should not call
functions from Windows debugging API like ContinueDebugEvent(), or call OllyDbg functions like Run() or Setstatus(). Any of the listed actions may make the internal OllyDbg debugging engine unstable.
void ODBG2_Plugintempbreakpoint(ulong addr,const t_disasm *da,t_thread *pthr,t_reg *preg);
Address of the breakpoint in the context of the debugged application
Pointer to the structure of type t_disasm which contains disassembled command at address addr. Disassembly was done in DA_MEMORY mode, text and comments are not available. Plugin should not modify this structure
Pointer to the structure of type t_thread that identifies thread in which breakpoint occured. Plugin should avoid direct modifications of this structure
Pointer to the structure of type t_reg
containing current state of the registers in the thread where
breakpoint was detected. If plugin modifies this structure (CARE!), it
call Registermodifiedbyuser() and set, if necessary, flags RV_SSEMOD, RV_ERRMOD and RV_DBGMOD in preg->status. Attention, careless register modifications may influence the functioning of the debugging engine!