• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

my_func(int new_arg)1 static void my_func(int new_arg) {  // new argument!
2   (void)new_arg;
3 }
4 
5 __attribute__((__used__))
resolve_func(void)6 static void (*resolve_func(void))(int) {
7   return my_func;
8 }
9 
10 // TODO: Add support for tracking type information
11 void func_changed(int new_arg) __attribute__((ifunc("resolve_func")));
12 
13 void func_added() __attribute__((ifunc("resolve_func")));
14