def test_gdb_stripped_pic(self):
    line = '    call   *0x26a16(%rip)        # 0x5555555967a8'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'call   *0x26a16(%rip)')
    self.assertEqual(opcode, 'call')
    self.assertEqual(ops, ['*0x26a16(%rip)'])
    self.assertEqual(rest, '# 0x5555555967a8')
def test_gdb_stripped_pic(self):
    line = '    call   *0x26a16(%rip)        # 0x5555555967a8'
    (body, opcode, ops, rest) = asm2cfg.parse_body(line, self.target_info)
    self.assertIsNot(body, None)
    self.assertEqual(body, 'call   *0x26a16(%rip)')
    self.assertEqual(opcode, 'call')
    self.assertEqual(ops, ['*0x26a16(%rip)'])
    self.assertEqual(rest, '# 0x5555555967a8')