summaryrefslogtreecommitdiff
path: root/tests/analysis/disass
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-15 00:04:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-15 00:04:22 (GMT)
commit487e574f590d20ce40545030e7a4c80d95308788 (patch)
treec5926ade7cc04530e3dae592c7d158cbecb3dc92 /tests/analysis/disass
parentea60c6e86b0b86319cf2fc01ca1a7608c5fac9c0 (diff)
Updated the test suite.
Diffstat (limited to 'tests/analysis/disass')
-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