1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! ④【主动逆向 · 反「无限 debugger」】defuse `setInterval(debugger)` / `Function("debugger")()`。
//!
//! 运行:`cargo run --example re_anti_debug`(无头默认;`HL=0` 有头)。
//! 验证:注入 defuse 后,页面里的反调试 `debugger` 被致残——`setInterval` 回调与 `Function("debugger")`
//! 都不再触发暂停;脚本继续正常跑(打印计数器递增证明没卡住)。
use Duration;
use *;
async