Please add breakpoint enable command (BE) such as BD command
bool OllyLang::DoBE(string args)
{
if (args=="")
return DoBEA(args);
string ops[1];
if (!CreateOperands(args, ops, 1))
return false;
ulong dw;
if(GetDWOpValue(ops[0], dw))
{
Setbreakpoint(dw, TY_ACTIVE, 0);
Broadcast(WM_USER_CHALL, 0, 0);
require_ollyloop = 1;
return true;
}
return false;
}
//enable all loaded breakpoints
bool OllyLang::DoBEA(string args)
{
t_table *bptable;
t_bpoint *bpoint;
bptable=(t_table *)Plugingetvalue(VAL_BREAKPOINTS);
if (bptable!=NULL) {
for (int b=bptable->data.n-1; b>=0;b--) {
bpoint=(t_bpoint *)Getsortedbyselection(&(bptable->data),b);
if (bpoint!=NULL) {
Setbreakpoint(bpoint->addr, TY_ACTIVE, bpoint->cmd);
}
}
}
Broadcast(WM_USER_CHALL, 0, 0);
require_ollyloop = 1;
return true;
}
maybe like this