From 487e574f590d20ce40545030e7a4c80d95308788 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Tue, 15 Jan 2019 01:04:22 +0100 Subject: Updated the test suite. --- tests/analysis/disass/block.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/analysis/disass/block.py b/tests/analysis/disass/block.py index 10a2c80..0b4f3dd 100644 --- a/tests/analysis/disass/block.py +++ b/tests/analysis/disass/block.py @@ -69,7 +69,7 @@ class TestBasicBlocks(ChrysalideTestCase): sym = fmt.find_symbol_by_label('main') self.assertIsNotNone(sym) - found = sym.basic_blocks.find_by_starting_addr(sym.range.addr) + found = sym.basic_blocks.find_by_addr(sym.range.addr) self.assertIsNotNone(found) self.assertEqual(found, list(sym.basic_blocks)[0]) @@ -101,7 +101,7 @@ class TestBasicBlocks(ChrysalideTestCase): sym = fmt.find_symbol_by_label('argstr') self.assertIsNotNone(sym) - found = sym.basic_blocks.find_by_starting_addr(sym.range.addr) + found = sym.basic_blocks.find_by_addr(sym.range.addr) self.assertIsNotNone(found) loop_count = 0 @@ -136,7 +136,7 @@ class TestBasicBlocks(ChrysalideTestCase): sym = fmt.find_symbol_by_label('string_array_len') self.assertIsNotNone(sym) - found = sym.basic_blocks.find_by_starting_addr(sym.range.addr) + found = sym.basic_blocks.find_by_addr(sym.range.addr) self.assertIsNotNone(found) loop_count = 0 -- cgit v0.11.2-87-g4458