Plugin Callbacks should pass Function *

未关闭
#488 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
cpp

调研方向

Start in plugin.cpp at the RegisterForAddress callback around line 75 and the RegisterForRange callback around line 171. Trace the callback signatures and their uses, then update them so each receives the relevant Function alongside the address. Done means both plugin callbacks expose the Function context needed for overlapping disassembly and functions.

由索引模型根据 Issue 内容生成。

描述

Component: API Effort: Medium Impact: Medium

For the plugin RegisterForAddress and RegisterForRange callbacks, they should pass the Function instance in addition to the address. Since Binja supports overlapping disassembly and overlapping functions, an address in isolation means nothing without its Function context.

These should pass the Function as well:
https://github.com/Vector35/binaryninja-api/blob/master/plugin.cpp#L75
https://github.com/Vector35/binaryninja-api/blob/master/plugin.cpp#L171

主要语言
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 摘要。