2022-05-19 17:56:48 +02:00
|
|
|
--TEST--
|
|
|
|
001: IJMP - computed goto
|
2022-05-25 16:38:22 +02:00
|
|
|
--TARGET--
|
|
|
|
x86_64
|
2022-05-19 17:56:48 +02:00
|
|
|
--ARGS--
|
|
|
|
-S
|
|
|
|
--CODE--
|
|
|
|
{
|
|
|
|
l_1 = START(l_2);
|
|
|
|
uintptr_t p = PARAM(l_1, "p", 1);
|
|
|
|
l_2 = IJMP(l_1, p);
|
|
|
|
}
|
|
|
|
--EXPECT--
|
|
|
|
test:
|
|
|
|
jmpq *%rdi
|