mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
14 lines
160 B
C
14 lines
160 B
C
static int
|
|
ifunc (void)
|
|
{
|
|
return 0xbadbeef;
|
|
}
|
|
|
|
void func(void) __attribute__((ifunc("resolve_func")));
|
|
|
|
static void *
|
|
resolve_func (void)
|
|
{
|
|
return ifunc;
|
|
}
|