brintos

brintos / llvm-project-archived public Read only

0
0
Text · 437 B · 360f85a Raw
13 lines · c
1#include <stdint.h>2 3int main(int argc, const char *argv[]) {4  char my_string[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 0};5  double my_double = 1234.5678;6  int my_ints[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22};7  uint64_t my_uint64s[] = {0, 1, 2, 3, 4, 5, 6, 7};8  // assume that 0xffffff is invalid instruction in RISC-V and AArch64,9  // so decoding it will fail10  char my_insns[] = {0xff, 0xff, 0xff};11  return 0; // break here12}13