i have build in godbolt this simple code and opened the cfg pass
the code:
int* fun() { void* a = (void *)malloc(sizeof(int)); printf("%d\\n