一、请写个函数在 main 函数执行前或者后执行 #include <stdio.h> void before() __attribute__((constructor));//设置函数属性 void after() __attribute__((destructor)); void before() { printf("this is function %s\n",__func__); return; } void after(){ printf("this is function %s\n",__func__); return; } in...