def test_complete(self):
    line = '# 3ff8 <foo+0x2ff8>'
    (address, rest) = asm2cfg.parse_comment(line, self.target_info)
    self.assertIsNot(address, None)
    self.assertEqual(address.abs, 16376)
    self.assertEqual(address.base, 'foo')
    self.assertEqual(address.offset, 12280)
    self.assertEqual(rest, '')
def test_complete(self):
    line = '# 3ff8 <foo+0x2ff8>'
    (address, rest) = asm2cfg.parse_comment(line, self.target_info)
    self.assertIsNot(address, None)
    self.assertEqual(address.abs, 16376)
    self.assertEqual(address.base, 'foo')
    self.assertEqual(address.offset, 12280)
    self.assertEqual(rest, )