Code Monkey home page Code Monkey logo

ida_scripts's Introduction

iga_scripts

This is a collection of IDA (V7) Python scripts, which hope to make IDAPython much more user-friendly and enjoyable :D.

Features

This is just an overview, please check the documentations below for the full set of features.

  • memory
    • Pointer
      • RW bytes, int, pointer, string
      • Hex dump
      • Arithmetics ( + - == )
  • struc
    • Types (the type defs, not instances)
      • StrucT
        • Find by name
        • Get id, name, members, size
        • Subscript access for member MemberT
        • Get StrucI instance from Pointer
        • Create struct
        • Add & delete member
        • Add member, automatically managing gaps
      • MemberT
        • Get id, name, type, offset, size
    • Instance (instances with memory addresses)
      • StrucI
        • Get members
        • Subscript access for member value
  • func
    • Func
      • Find by name, ea
      • Property getters
      • Decompile to yield CFunc
    • CFunc
      • Get psuedocode
      • Get body represented as a networkx.DiGraph (really just a tree)
        • Each node is a CItem
    • CItem
      • Property accessors
        • Customised convenient accessors such as
          • Getting the struct / member being accessed
          • Getting the number
      • DFS search for node with lambda condition
      • Subtree query for more complex searches
  • module
    • Module
      • Enumerate all modules
      • Find module by name
  • misc
    • Find local variable in function frame (not working rn.)
    • Find global symbol by name
  • All classes are pretty-printed when evaluated!

WIP

  • Modifying structs, automatically managing members and adjusting offsets.
  • More automation?

Usage

In IDA Pro, select File > Script File and choose the load.py script.

Documentation

Documentation is auto-generated by PyDoc.

ida_scripts's People

Contributors

zerui18 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.