Pointer offset not utilised for getting call type of called function pointer field in struct

未关闭
#6,879 6 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@rssor 已经在做这个了。

开始于 2026年2月9日。

评估

这个 Issue 还没有评估数据。

描述

State: Awaiting Triage

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:

Image

Image

Image

主要语言
C++
星标
1.3k
派生
298
平均合并
5 天 5 小时
30 天内合并 PR
19

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Vector35/binaryninja-api 的其他 Issue

查看 Vector35/binaryninja-api 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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