From 10a9101e6bd8c5b555eaef3f3272ea272c462abe Mon Sep 17 00:00:00 2001 From: Ivan Gotovchits Date: Thu, 9 Feb 2017 17:02:20 -0500 Subject: [PATCH] prepares 1.2.0 --- CHANGES.md | 7 ++++++- plugins/bap/utils/ida.py | 4 ++-- setup.py | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f4d1317..c91dd86 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/plugins/bap/utils/ida.py b/plugins/bap/utils/ida.py index f1dbc94..97e3c59 100644 --- a/plugins/bap/utils/ida.py +++ b/plugins/bap/utils/ida.py @@ -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), diff --git a/setup.py b/setup.py index 06d92a5..6797696 100644 --- a/setup.py +++ b/setup.py @@ -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',