summaryrefslogtreecommitdiff
path: root/tests/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'tests/analysis')
-rw-r--r--tests/analysis/disass/block.py6
1 files 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