GithubHelp home page GithubHelp logo

aaronportnoy / toolbag Goto Github PK

View Code? Open in Web Editor NEW
310.0 310.0 73.0 7.65 MB

The IDA Toolbag is a plugin providing supplemental functionality to Hex-Rays IDA Pro disassembler.

License: Other

Python 99.31% CSS 0.10% C 0.59% Makefile 0.01% Shell 0.01%

toolbag's Introduction

toolbag

The IDA Toolbag is a plugin providing supplemental functionality to the Hex-Rays IDA Pro disassembler.

toolbag's People

Contributors

aaronportnoy avatar luismiras avatar mothran avatar soggysec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toolbag's Issues

Change from PySide to PyQT

Hey

Apperantly IDA uses now PyQT and not PySide anymore (http://www.hexblog.com/?p=906).

I adjusted the code a bit, so that it works with PyQt now, but get an crash on exit (hehehe). Did anybody already successfully change from PySide to PyQt? Just to make sure we don't do the work twice :P

Cheers,
Rafael

IDA64 sqlite 64-bit addressing bug

I have found a bug in IDAToolbag, and I'm not sure how to fix it. When I try to start up Toolbag on a 64-bit binary, I receive the following traceback:

[] There are 3978 funtions to process
Traceback (most recent call last):
File "", line 1, in
File "/Users/user/.idapro/toolbag/init.py", line 94, in
toolbag = ToolBag(options)
File "/Users/user/.idapro/toolbag/init.py", line 60, in init
self.db = DB(options, create=True)
File "/Users/user/.idapro/toolbag/db.py", line 226, in init
collecta.go(ea)
File "/Users/user/.idapro/toolbag/db.py", line 113, in go
self.analyzer.enter(startEA, self.options)
File "/Users/user/.idapro/toolbag/db.py", line 42, in enter
options['database'].address(pc)['name'] = database.name(pc)
File "/Users/user/.idapro/misc/store/init.py", line 90, in setitem
return self.set( *
{key:value} )
File "/Users/user/.idapro/misc/store/init.py", line 139, in set
return self.store.driver.ctx_update(self.store.session, self.id, attrs)
File "/Users/user/.idapro/misc/store/driver/sqlite.py", line 135, in ctx_update
return session.database.executemany(q, result).rowcount
OverflowError: long too big to convert

What I've noticed is if the binary is based to 0x0000000000000000, then everything works nicely. If you rebase the binary to something like 0xFFFFFF8000000000, then everything dies.

The issue seems to be in the sqlite3 implementation of "INTEGER" and "BIGINT," as they are both 32-bit.

No module named utils

When I double click 'find_switch_jumps.py'
The following returns in my Output window:

[!] Attempted to add an EA that wasn't code.
No module named utils
'module' object has no attribute 'init'
Python>import sys
Python>sys.version
2.7.2 (default, Mar 26 2012, 16:13:09)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)]
Python>sys.path
['/home/stolas/bin/ida-6.6/python/lib/python27.zip', '/home/stolas/bin/ida-6.6/python/lib/python2.7/', '/home/stolas/bin/ida-6.6/python/lib/python2.7/plat-linux2', '/home/stolas/bin/ida-6.6/python/lib/python2.7/lib-tk', '/home/stolas/bin/ida-6.6/python/lib/python2.7/lib-old', '/home/stolas/bin/ida-6.6/python/lib/python2.7/lib-dynload', '/home/stolas/bin/ida-6.6/python', '/home/stolas', '/home/stolas/.idapro', '/home/stolas/.idapro/base', '/home/stolas/.idapro/app', '/home/stolas/.idapro/user', '/home/stolas/.idapro/toolbag', '/home/stolas/.idapro/toolbag/providers', '/home/stolas/.idapro/toolbag/agent/dbg', '/home/stolas/.idapro/toolbag/agent', u'/home/stolas/.idapro/user/bin']

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.