Skip to content

Commit d0d7bf8

Browse files
authored
Merge pull request #28 from ivg/robust-comment-parser
prepares 1.2.0
2 parents f9a2255 + 10a9101 commit d0d7bf8

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGES.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
0.2.0
1+
1.2.0
2+
-----
3+
* fixes IDA loader
4+
* more robust comment parser
5+
6+
1.1.0
27
-----
38
* call BAP asynchronously (without blocking IDA)
49
* run several instances of BAP in parallel

plugins/bap/utils/ida.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def output_segments(out):
2727
"""Dump binary segmentation."""
2828
info = idaapi.get_inf_structure()
2929
size = "r32" if info.is_32bit else "r64"
30-
out.write('(', info.get_proc_name()[1], ' ', size, ' (')
30+
out.writelines(('(', info.get_proc_name()[1], ' ', size, ' ('))
3131
for seg in idautils.Segments():
32-
out.write("\n({} {} {:d} ({:#x} {d}))".format(
32+
out.write("\n({} {} {:d} ({:#x} {:d}))".format(
3333
idaapi.get_segm_name(seg),
3434
"code" if idaapi.segtype(seg) == idaapi.SEG_CODE else "data",
3535
idaapi.get_fileregion_offset(seg),

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='bap-ida-python',
7-
version='1.1.0',
7+
version='1.2.0',
88
description='BAP IDA Plugin',
99
author='BAP Team',
1010
url='https://github.com/BinaryAnalysisPlatform/bap-ida-python',

0 commit comments

Comments
 (0)