def test_gdb_plt(self):
    line = '\tcallq  0x1020 <foo@plt>'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'callq  0x1020')
    self.assertEqual(opcode, 'callq')
    self.assertEqual(ops, ['0x1020'])
    self.assertEqual(rest, '<foo@plt>')
def test_gdb_plt(self):
    line = '\tcallq  0x1020 <foo@plt>'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'callq  0x1020')
    self.assertEqual(opcode, 'callq')
    self.assertEqual(ops, ['0x1020'])
    self.assertEqual(rest, '<foo@plt>')