14 lines · c
1#include <stdint.h>2#include <stdio.h>3union ptrbytes {4 int *p;5 uint8_t bytes[8];6};7int main() {8 int c = 15;9 union ptrbytes pb;10 pb.p = &c;11 pb.bytes[7] = 0xfe;12 printf("%d\n", *pb.p); // break here13}14 1#include <stdint.h>2#include <stdio.h>3union ptrbytes {4 int *p;5 uint8_t bytes[8];6};7int main() {8 int c = 15;9 union ptrbytes pb;10 pb.p = &c;11 pb.bytes[7] = 0xfe;12 printf("%d\n", *pb.p); // break here13}14