Loop identification APIs

Open
#470 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start with the linked LLVM LoopInfo getLoopFor reference to understand the requested loop-membership behavior. The issue names no Binary Ninja files, tests, or API entry points, so survey the public analysis API before defining how loop bounds and completion criteria should be represented.

Written by the indexing model from the issue text.

Description

Component: API Component: Core Effort: Low Impact: Low

LLVM has an analysis that you can query to determine if a BasicBlock is in a loop. It'd be nice if BinaryNinja's api had something similar.

It'd additionally be nice if the loop bounds could be described via this api.

LLVM LoopInfo getLoopFor reference: http://llvm.org/docs/doxygen/html/classllvm_1_1LoopInfoBase.html#aebfb8d0ea41335b1280d9fbec6199e18

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.