Vector35 / Vector35/binaryninja-api

add_auto_segments and add_auto_sections both require native objects

Open
#7,725 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Component: API Component: Python API Effort: Trivial Impact: Low
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Both of the add_auto_* APIs that make batch sections and segments in python currently require you to construct a native object to use the API. This is not pythonic and we should likely match the syntax of the singular APIs and take a list of a list of those parameters. Or at a minimum we should have helper wrappers to make it more straight forward to do that.

https://dev-api.binary.ninja/search.html?q=add_auto&check_keywords=yes&area=default

add_auto_segments(segments: List[BNSegmentInfo])→ None[source]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.