Vector35 / Vector35/binaryninja-api
Deprecate DataBuffer.`__len__`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
When a DataBuffer is really large, len(DataBuffer) can cause Python to complain about overflow.
Although this is not easy to trigger now -- a large enough DataBuffer that triggers the issue will crash BN first. Since we are allocating a concrete buffer for the DataBuffer.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names DataBuffer.len but does not identify a file or test. Locate that entry point, inspect how DataBuffer is exposed to Python, and search for related references or compatibility documentation. Done means the deprecation is represented consistently and relevant checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, reverse-engineering
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100