diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2019-05-16 19:29:19 -0700 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2019-05-16 19:29:19 -0700 |
| commit | 527f8c7131a748e5c5c45b84a6dd91f365df6122 (patch) | |
| tree | b17268510553782be6a4aad8d481f26fd0532f86 | |
| parent | 37f160280844440c7f85b4feb3cfffb0f264c0b9 (diff) | |
add incoming and outgoing edges to basic block unit test
| -rw-r--r-- | suite/testcommon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py index 02ed13c4..2ad46f42 100644 --- a/suite/testcommon.py +++ b/suite/testcommon.py @@ -135,7 +135,7 @@ class BinaryViewTestBuilder(Builder): bblist = [] for func in self.bv.functions: for bb in func.basic_blocks: - bblist.append("basic block {} start: ".format(str(bb)) + hex(bb.start) + ' end: ' + hex(bb.end) + ' undetermined outgoing edges: ' + str(bb.has_undetermined_outgoing_edges)) + bblist.append("basic block {} start: ".format(str(bb)) + hex(bb.start) + ' end: ' + hex(bb.end) + ' undetermined outgoing edges: ' + str(bb.has_undetermined_outgoing_edges) + ' incoming edges: ' + str(bb.incoming_edges) + ' outgoing edges: ' + str(bb.outgoing_edges)) for anno in func.get_block_annotations(bb.start): bblist.append("basic block {} function annotation: ".format(str(bb)) + str(anno)) bblist.append("basic block {} test get self: ".format(str(bb)) + str(func.get_basic_block_at(bb.start))) |
