tests: public_headers fails on duplicate __asan_poison_memory_region / __asan_unpoison_memory_region declarations
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 领域
- build-system, testing
调研方向
先从 core/libs/tests/test_public_headers.py 第341行附近开始,了解审计如何统计声明,然后检查报告中的两个位置:Block.cpp 第25–26行,以及 Api.hpp 第82行和第202行。运行 ctest --test-dir build -R "^public_headers$" --output-on-failure -V 来复现问题。审计对每个函数恰好找到一个头文件声明,并且 public_headers 通过后,工作即告完成。
由索引模型根据 Issue 内容生成。
描述
Commit: db7808f91d0812fe559831b496c2ca3abd4e0821 (AnyKyty)
Hardware / OS: Windows 11 (10.0.26300.0), Python 3.14, MinGW-W64 GCC 15.3.0, Clang 21.1.8
Tracking: #705
Behavior
public_headers fails the audit because __asan_poison_memory_region and __asan_unpoison_memory_region are declared in both core\kyty\graphics\shader\recompiler\ir\Block.cpp and core\libs\prx\libSceAddressSanitizer\include\Api.hpp. Because public_headers_compile_0..63 depend on public_headers, all 64 downstream fixture tests show as Not Run.
Reproduction
ctest --test-dir build -R "^public_headers$" --output-on-failure -V
First error lines
File "<repo>\core\libs\tests\test_public_headers.py", line 341, in audit
raise RuntimeError("\n".join(errors))
RuntimeError: __asan_poison_memory_region: expected exactly one header declaration; found 2: core\kyty\graphics\shader\recompiler\ir\Block.cpp:25, core\libs\prx\libSceAddressSanitizer\include\Api.hpp:82
__asan_unpoison_memory_region: expected exactly one header declaration; found 2: core\kyty\graphics\shader\recompiler\ir\Block.cpp:26, core\libs\prx\libSceAddressSanitizer\include\Api.hpp:202
AI-assisted: yes. Built, ran, and drafted with an AI assistant.
- 主要语言
- C++
- 星标
- 214
- 派生
- 7
- 平均合并
- 7 小时 53 分钟
- 30 天内合并 PR
- 280
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
simnJS/AnyPS5 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)可能已有人在做 @adam25136 今天认领。 未关闭area: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)未关闭
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
needs-format
难度 2/5 1-3 小时 新手友好度 72/100
Niko1221/Strata#7719 · 1 条评论 ·
维护者通常 4 天内回复
-
area:tests kind:test
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
BabylonJS/BabylonNative#2138 ·
维护者通常 1 天内回复