/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/tests/scriptcmd_call/test.fastresume-nested.txt
29 строк
962 B
Duncan Ogilvie
WIP: more tests
23 мар 2026, 14:48
23 мар 2026, 14:48
9f7ec9f
Код
Авторство
О чём код?
settingset Events, EntryBreakpoint, 0 varnew $outer, 0 varnew $inner, 0 varnew $after_outer, 0 init tests/scriptcmd_call.exe bp scriptcmd_call:OuterHit SetBreakpointSilent scriptcmd_call:OuterHit, 1 SetBreakpointCondition scriptcmd_call:OuterHit, 0 SetBreakpointCommand scriptcmd_call:OuterHit, "scriptcmd call onouter" bp scriptcmd_call:InnerHit SetBreakpointSilent scriptcmd_call:InnerHit, 1 SetBreakpointCondition scriptcmd_call:InnerHit, 0 SetBreakpointCommand scriptcmd_call:InnerHit, "scriptcmd call oninner" run testassert $outer == 1, "fast-resume outer callback ran exactly once" testassert $inner == 1, "fast-resume inner callback ran exactly once" testassert $after_outer == 1, "fast-resume outer callback completed its extra script work" ret onouter: testassert $outer == 0, "fast-resume outer callback entered once" mov $outer, 1 mov $after_outer, 1 ret oninner: testassert $inner == 0, "fast-resume inner callback entered once" mov $inner, 1 ret