Pointer offset not utilised for getting call type of called function pointer field in struct
@rssor 已经在做这个了。
开始于 2026年2月9日。
评估
这个 Issue 还没有评估数据。
描述
Version and Platform (required):
- Binary Ninja Version: 5.1.7360-dev (would guess still happens on 5.1.7501-dev)
- OS: macOS
- OS Version: 15.5 (24F74)
- CPU Architecture: M3
Bug Description:
The pointer offset is not utilised when getting call type of the called function pointer field in a struct. This results in the analyser discovering the wrong call type (the one at the field minus the pointer offset).
Steps To Reproduce:
Define a function pointer field that's called inside the code of the executable inside a structure with a pointer offset. Observe then how the function pointer type of the call will be the type of the field that's [pointer offset] bytes before the intended field.
Expected Behavior:
The call type should be the correct one.
Screenshots/Video Recording:
- 主要语言
- C++
- 星标
- 1.3k
- 派生
- 298
- 平均合并
- 5 天 5 小时
- 30 天内合并 PR
- 19
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Vector35/binaryninja-api 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
Vector35/binaryninja-api#8540 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
Vector35/binaryninja-api#8516 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
Vector35/binaryninja-api#8503 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
Vector35/binaryninja-api#8446 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
Vector35/binaryninja-api#8444 ·
查看 Vector35/binaryninja-api 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 92/100
autowarefoundation/autoware_universe#13413 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
automated-analysis bug memory-safety
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
gazebosim/gz-sensors#662 · 1 条评论 ·