AFLplusplus / AFLplusplus/LibAFL

Potential Undefined Behavior in Frida ASan

未关闭
#1,862 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug help wanted
主要语言
Rust
星标
2.6k
派生
481
平均合并
2 天 30 分钟
30 天内合并 PR
16

描述

In asan_rt.rs, we're getting mutable references to `self` at various places, hereby creating aliases for mutable references.
This is not permitted in Rust and may break in the future, see here:
https://github.com/AFLplusplus/LibAFL/blob/97a83aba3bc6376786984efde3e4a968fe553068/libafl_frida/src/asan/asan_rt.rs#L1945C42-L1945C46
Instead, we probably need to store the runtime on the heap and keep a pointer to it (Rc, UnsafeCell, Pin, or something like that?)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。