Git Product home page Git Product logo

linsweep's Introduction

Simple Linear Sweep for BinaryNinja

Author: butters

A simple linear sweep for x86 and x86_64.

Description:

This plugin is a temporary solution until a linear sweep is included in core. It identifies functions by searching for common prologues and makes an attempt to avoid some false positives by analysing the created function.

The plugin will certainly have false positives, primarily during Aggressive mode when it will occasionally define the start of a function a few instructions beyond the start. The start may be missed entirely or may be identified by a later prologue suggestion. Due to the awesome feature of Binary Ninja which allows for overlapping functions, this is not a much as a problem as with other tools.

There are three modes, Cautious, Aggressive and User.

Cautious:

Analyzes the first 3 bytes of all existing functions and then uses the most common values as prologues for additional function searching within the bounds of the .text section, if it is defined.

Aggressive:

Performs the Cautious analysis and also searches the entire binary for a list of common prologues for the architecture.

User:

If during analysis you want to search for a specific prologue only, switch to the hex editor at the appropriate location.

Select

Select the bytes you want to search for and through the right-click menu, select Simple Linear Sweep - User.

Select

The selected bytes will be used for a prologue search.

Select

Installation:

To install this plugin, navigate to your Binary Ninja plugins directory, and run

git clone https://github.com/lstotch/binaryninja-linsweep.git linsweep

Minimum Version

This plugin requires the following minimum version of Binary Ninja:

  • release (Commercial) - 1.0.729-dev
  • release (Personal) - 1.0.729-dev

License

This plugin is released under a MIT license.

linsweep's People

Contributors

lstotch avatar lunnova avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.