Set constant value for structure members
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 12/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- cpp
研究方向
The issue names no files, tests or entry points, so the first step is to find where structure member types and dataflow constant values are handled in the Binary Ninja analysis code. The open question is whether the constant belongs to the type or to the view, and that needs a maintainer decision before any code is written. Done would mean a settled design plus a way to assert a member's value during dataflow.
由索引模型根據 Issue 內容生成。
描述
What is the feature you'd like to have?
I want the ability to specify a constant value of a structure type member, such that when that member is read during analysis, dataflow asserts that the value is whatever constant I have specified. Not sure if this should be a property of the type itself or of the view as a sort of view-level UIDF constant.
Is your feature request related to a problem?
- I have a structure with a field that is always set to a specific constant, and I want all functions using this structure to know of that value
- I have a C++ class definition with a vtable and want to poke the address of the vtable in the data segment into the vtable member, such that indirect calls through the vtable can automatically discover the concrete destinations for functions.
Are any alternative solutions acceptable?
I can write a script to iterate all uses of that structure member and UIDF the variable it gets loaded into, but this is kinda messy and needs to be re-ran every time analysis updates
Additional Information:
Reported by loadlibrary on Slack, also me because I want the vtable thing
- 主要語言
- C++
- 星號
- 1.3k
- 分支
- 304
- 平均合併
- 2 天 20 小時
- 30 天內合併 PR
- 10
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Vector35/binaryninja-api 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 84/100
Vector35/binaryninja-api#8715 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
Vector35/binaryninja-api#8714 ·
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
Vector35/binaryninja-api#8713 ·
維護者通常 2 天內回覆
-
難度 1/5 1-3 小時 新手友好度 78/100
Vector35/binaryninja-api#8689 ·
維護者通常 2 天內回覆
-
Component: Python API
難度 2/5 1-3 小時 新手友好度 70/100
Vector35/binaryninja-api#8649 ·
維護者通常 2 天內回覆
查看 Vector35/binaryninja-api 的全部 Issue
相似的 Issue
-
Bug Core VIF
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 80/100
ESPresense/ESPresense#2680 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1 小時以內 新手友好度 75/100
stew675/llama-cpp-rdna-boosts#348 ·
維護者通常 1 天內回覆
-
Documentation: Add comprehensive newcomer onboarding guide, project structure, and local usage to README可能已有人在做 @Ash-Blanc 今天認領。 未關閉area/other status/bot-triaged status/need-triage
難度 2/5 半天 新手友好度 85/100
-
bug
難度 1/5 1 小時以內 新手友好度 85/100
維護者通常 1 天內回覆