#include <string.h>
#include <stdio.h>
#pragma GCC poison strcpy
int main()
{
char t[5];
strcpy(t, "A");
printf("Hello World\n");
}
cristi:~ diciu$ gcc strcpy.c
strcpy.c:10:2: error: attempt to use poisoned "strcpy"
cristi:~ diciu$
please tell her to roll back the universe
#include <string.h>
#include <stdio.h>
#pragma GCC poison strcpy
int main()
{
char t[5];
strcpy(t, "A");
printf("Hello World\n");
}
cristi:~ diciu$ gcc strcpy.c
strcpy.c:10:2: error: attempt to use poisoned "strcpy"
cristi:~ diciu$
0 comments:
Post a Comment