Skip to content

Commit

Permalink
ida: add log message to indicate that analysis results have been stored
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastpixl committed Dec 22, 2017
1 parent ac8ac17 commit 093ca1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/idabincat/bcplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def analysis_finish_cb(self, outfname, logfname, cfaoutfname, ea=None):
if cfa:
# XXX add user preference for saving to idb? in that case, store
# reference to marshalled cfa elsewhere
bc_log.info("Storing analysis results to idb")
bc_log.info("Storing analysis results to idb...")
with open(outfname, 'rb') as f:
self.netnode["out.ini"] = f.read()
with open(logfname, 'rb') as f:
Expand All @@ -579,6 +579,7 @@ def analysis_finish_cb(self, outfname, logfname, cfaoutfname, ea=None):
if cfaoutfname is not None and os.path.isfile(cfaoutfname):
with open(cfaoutfname, 'rb') as f:
self.last_cfaout_marshal = f.read()
bc_log.info("Analysis results have been stored idb.")
else:
bc_log.info("Empty or unparseable result file.")
bc_log.debug("----------------------------")
Expand Down

0 comments on commit 093ca1a

Please sign in to comment.