コード例 #1
0
def addComment(dbFile, address, comment):
	binDb = CBinDb()
	binDb.openDatabase(dbFile)
	binDb.addComment(address, comment)
	function = binDb.getNameByAddress(address)

	print "Content-type: text/html"
	print
	print "Comment added"
コード例 #2
0
ファイル: addcomment.py プロジェクト: caoimhinp/inguma
def addComment(dbFile, address, comment):
    binDb = CBinDb()
    binDb.openDatabase(dbFile)
    binDb.addComment(address, comment)
    function = binDb.getNameByAddress(address)

    print "Content-type: text/html"
    print
    print "Comment added"
コード例 #3
0
ファイル: xrefs.py プロジェクト: shalekesan/inguma
def printXrefsTo(dbFile, function):
	binDb = CBinDb()
	binDb.openDatabase(dbFile)
	binDb.getXrefs(function)