1|dipper:/data/local/tmp # ./rustfrida -n com.ss.android.article.news -v
╔══════════════════════════════════════╗
║ rustFrida v0.1.0 ║
║ ARM64 Dynamic Instrumentation ║
╚══════════════════════════════════════╝
[✓] 按名称 'com.ss.android.article.news' 找到进程 PID: 24362
[] 正在修补 SELinux 策略...
[→] 当前 SELinux domain: magisk
[→] 策略大小: 807233 bytes
[→] SELinux 策略版本: 30, MLS: true
[→] 解析 5 个 commons
[→] 解析 97 个 classes
[→] 解析 2283 个 types
[→] avtab: 44138 条目, offset 0x23039
[→] avtab 范围: 0x23039..0xA96C5 (550540 bytes)
[→] 规则变更: 新增 0, 修改 0
[→] 所有规则已存在,无需修补
[] 正在附加到进程 PID: 24362 (Frida-style bootstrapper)
[→] 注入线程候选: tid=24377 comm=FinalizerWatchd wchan=futex_wait_queue_me
[→] 选择工作线程执行注入: tid=24377
[✓] 成功附加到进程 24377,等待 SIGSTOP...
[✓] 进程已停止,可以操作寄存器
[→] stop-the-world: 已暂停 385 个其他线程
[→] code-swap 区域: 0x78a9d00000 (9779 bytes)
[→] bootstrapper Phase 1: mmap 分配...
[→] bootstrapper 分配 RWX 区域: 0x7813541000 (32768 bytes)
[→] code-swap 区域已恢复
[→] bootstrapper 写入完成 (9779 bytes)
[→] pidfd_open 不可用 (ENOSYS),使用 abstract socket 回退
[→] 调用 bootstrapper Phase 2...
[✓] bootstrapper 完成: libc API 已解析
[→] rtld_flavor: 5
[→] platform bases: libc=0x78a5a09000, linker=0x78a9cc8000
[→] ctrlfds: [-1, -1]
[→] agent linker: 自解析 ELF/重定位/外部符号,不调用 dlopen/dlsym
[→] loader thread: raw clone,不调用 libc pthread
[→] abstract ctrl listener 已创建: fd=4, name="\0rustfrida-24362\0"
[→] abstract ctrl listener 已就绪 (fd=4),等待 loader 连接
[→] StringTable 写入: 0x78135452d0
[→] loader 写入完成 (14291 bytes)
[→] 调用 loader...
[✗] 注入失败: 等待 loader 连接超时
1|dipper:/data/local/tmp # ./rustfrida -n com.ss.android.article.news -v
╔══════════════════════════════════════╗
║ rustFrida v0.1.0 ║
║ ARM64 Dynamic Instrumentation ║
╚══════════════════════════════════════╝
[✓] 按名称 'com.ss.android.article.news' 找到进程 PID: 24362
[] 正在修补 SELinux 策略...
[→] 当前 SELinux domain: magisk
[→] 策略大小: 807233 bytes
[→] SELinux 策略版本: 30, MLS: true
[→] 解析 5 个 commons
[→] 解析 97 个 classes
[→] 解析 2283 个 types
[→] avtab: 44138 条目, offset 0x23039
[→] avtab 范围: 0x23039..0xA96C5 (550540 bytes)
[→] 规则变更: 新增 0, 修改 0
[→] 所有规则已存在,无需修补
[] 正在附加到进程 PID: 24362 (Frida-style bootstrapper)
[→] 注入线程候选: tid=24377 comm=FinalizerWatchd wchan=futex_wait_queue_me
[→] 选择工作线程执行注入: tid=24377
[✓] 成功附加到进程 24377,等待 SIGSTOP...
[✓] 进程已停止,可以操作寄存器
[→] stop-the-world: 已暂停 385 个其他线程
[→] code-swap 区域: 0x78a9d00000 (9779 bytes)
[→] bootstrapper Phase 1: mmap 分配...
[→] bootstrapper 分配 RWX 区域: 0x7813541000 (32768 bytes)
[→] code-swap 区域已恢复
[→] bootstrapper 写入完成 (9779 bytes)
[→] pidfd_open 不可用 (ENOSYS),使用 abstract socket 回退
[→] 调用 bootstrapper Phase 2...
[✓] bootstrapper 完成: libc API 已解析
[→] rtld_flavor: 5
[→] platform bases: libc=0x78a5a09000, linker=0x78a9cc8000
[→] ctrlfds: [-1, -1]
[→] agent linker: 自解析 ELF/重定位/外部符号,不调用 dlopen/dlsym
[→] loader thread: raw clone,不调用 libc pthread
[→] abstract ctrl listener 已创建: fd=4, name="\0rustfrida-24362\0"
[→] abstract ctrl listener 已就绪 (fd=4),等待 loader 连接
[→] StringTable 写入: 0x78135452d0
[→] loader 写入完成 (14291 bytes)
[→] 调用 loader...
[✗] 注入失败: 等待 loader 连接超时