This is a collection of IDA (V7) Python scripts, which hope to make IDAPython much more user-friendly and enjoyable :D.
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 ( + - == )
- RW
struc
- Types (the type defs, not instances)
StrucT
- Find by name
- Get
id, name, members, size
- Subscript access for member
MemberT
- Get
StrucI
instance fromPointer
- Create struct
- Add & delete member
- Add member, automatically managing gaps
MemberT
- Get
id, name, type, offset, size
- Get
- Instance (instances with memory addresses)
StrucI
- Get
members
- Subscript access for member value
- Get
- Types (the type defs, not instances)
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
- Each node is a
CItem
- Property accessors
- Customised convenient accessors such as
- Getting the struct / member being accessed
- Getting the number
- Customised convenient accessors such as
- DFS search for node with lambda condition
- Subtree query for more complex searches
- Property accessors
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!
- Modifying structs, automatically managing members and adjusting offsets.
- More automation?
In IDA Pro, select File > Script File
and choose the load.py
script.
Documentation is auto-generated by PyDoc.