1
0
Este cometimento está contido em:
bx 2022-09-15 19:25:51 +01:00
ascendente f7c8686110
cometimento 689307ef9e

19
test.c Ficheiro normal
Ver ficheiro

@ -0,0 +1,19 @@
#include <stdio.h>
void puts2() {
asm("pop %rbp");
goto *(&puts);
//return 0;
}
void printf2() {
asm("pop %rbp");
goto *(&printf);
}
int main (int argc, char **argv) {
//puts2(argv[1]);
puts2(argv[0]);
printf2("%i hello %s %s\n", argc, argv[0], "yeetcreeper");
return 0;
}