/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/tests/trace_cmd_condition/test.txt
13 строк
527 B
Duncan Ogilvie
Fix crash when entering command without condition
15 июл 2026, 19:49
15 июл 2026, 19:49
7b975dd
Код
Авторство
О чём код?
settingset Events, EntryBreakpoint, 0 init tests/trace_cmd_condition.exe ; Reproduce the command sequence of the 'Trace into...' dialog (SimpleTraceDialog): ; log text and command text are set before the trace condition exists. TraceSetLog "hello: {p:cip}", "" TraceSetCommand "log \"hello: {p:cip}\"", "" testassert 1, "TraceSetCommand with an empty condition did not crash" TraceIntoConditional "dis.isbranch(cip)", .50 testassert dis.isbranch(cip) || $tracecounter >= .50, "trace stopped on a branch or on max count" run