diff --git a/sourcexp_ida.py b/sourcexp_ida.py index c8d7b66..8c2d4d6 100644 --- a/sourcexp_ida.py +++ b/sourcexp_ida.py @@ -524,6 +524,8 @@ def do_export(self, f): flow = FlowChart(func) for block in flow: block_ea = block.startEA + if block.endEA == 0 or block_ea == BADADDR: + continue # ...and each instruction on each basic block for ea in list(Heads(block.startEA, block.endEA)):