Skip to content

Commit

Permalink
Merge pull request nihilus#2 from nologic/master
Browse files Browse the repository at this point in the history
pull req
  • Loading branch information
nihilus committed Mar 3, 2015
2 parents de42c1b + 206146f commit 207d421
Show file tree
Hide file tree
Showing 4 changed files with 74,225 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Usage
Simply checkout or download the repository and make sure that the sqlite database
file is in the same directory as the 'idaref' python script.

Run 'python arm.py' to set up the ARM database or x86-64.py for x86-64.

Execute the python script via File->Script File... or ALT+F7. This will open a new
view in your IDA workspace. In this view is where the text will be displayed. Now
click on the instruction you're curious about and within a second the documentation
Expand Down
16 changes: 16 additions & 0 deletions arm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import os
import sqlite3

input = 'arm.sql'
output = 'arm.sqlite'
try:
os.remove(output)
except:
pass
con = sqlite3.connect(output)
f = open(input)
sql = f.read()
f.close()
con.executescript(sql)
con.close()
print 'all done!'
Loading

0 comments on commit 207d421

Please sign in to comment.