WIS-SEC-BOF/presentation_brandl_valentin/example.c

12 lines
194 B
C
Raw Permalink Normal View History

2019-12-18 18:37:52 +01:00
#include<stdio.h>
void some_function() {
puts("Hello, world!\n");
}
int main() {
void (*function)() = &some_function;
printf("some_function is located at %p\n", function);
return 0;
}