def test_gdb_indirect_call(self):
    line = '\tcallq  *(%rsi)'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'callq  *(%rsi)')
    self.assertEqual(opcode, 'callq')
    self.assertEqual(ops, ['*(%rsi)'])
    self.assertEqual(rest, '')
def test_gdb_indirect_call(self):
    line = '\tcallq  *(%rsi)'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'callq  *(%rsi)')
    self.assertEqual(opcode, 'callq')
    self.assertEqual(ops, ['*(%rsi)'])
    self.assertEqual(rest, )