#include<stdio.h>
#include <stdarg.h>
#define module_init(function, type) \
static void __attribute__((constructor)) do_qemu_init_ ## function(void) \
{ \
printf("%s\n",__FUNCTION__); \
}
module_init(aaq,1)
__attribute__((constructor)) static void beforeFunction()
{
printf("beforeFunction\n");
}
int main(int argc, char * argv[]) {
printf("main function");
}