Skip to content

Commit

Permalink
Merge pull request #28 from ivg/robust-comment-parser
Browse files Browse the repository at this point in the history
prepares 1.2.0
  • Loading branch information
ivg authored Feb 9, 2017
2 parents f9a2255 + 10a9101 commit d0d7bf8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
0.2.0
1.2.0
-----
* fixes IDA loader
* more robust comment parser

1.1.0
-----
* call BAP asynchronously (without blocking IDA)
* run several instances of BAP in parallel
Expand Down
4 changes: 2 additions & 2 deletions plugins/bap/utils/ida.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def output_segments(out):
"""Dump binary segmentation."""
info = idaapi.get_inf_structure()
size = "r32" if info.is_32bit else "r64"
out.write('(', info.get_proc_name()[1], ' ', size, ' (')
out.writelines(('(', info.get_proc_name()[1], ' ', size, ' ('))
for seg in idautils.Segments():
out.write("\n({} {} {:d} ({:#x} {d}))".format(
out.write("\n({} {} {:d} ({:#x} {:d}))".format(
idaapi.get_segm_name(seg),
"code" if idaapi.segtype(seg) == idaapi.SEG_CODE else "data",
idaapi.get_fileregion_offset(seg),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='bap-ida-python',
version='1.1.0',
version='1.2.0',
description='BAP IDA Plugin',
author='BAP Team',
url='https://github.com/BinaryAnalysisPlatform/bap-ida-python',
Expand Down

0 comments on commit d0d7bf8

Please sign in to comment.