<commit_before>int main(void) {
  simple();

/**
  int i = 0;
  int a;
  int array1[10000000];

  int* ptr = &array1;
  *ptr = 5;

  int val = *ptr;
  ptr++;

  int array2[10];
  array2[9] = 42;

  a = 5;
  a = 7;

  while(i < 10000000) {
    array1[i] = 42;
    i++;
    a=2;
  }

  int* ptr2 = &(array1[2]);
  ptr2++;

  int z = sth(ptr2,10);

  int j = 0;
  while(j < 8) {
    ptr2++;
    j++;
  }

  int x = *ptr2;

  a = 5;

  int x = array1[i] + 7;
  int y = array1[0]; **/
}

void simple(void) {
  int array1[100];
  int* ptr = &array1;<commit_msg>add example that shows we are also able to detect right end for pointers<commit_after>int main(void) {
  simple();
  simple2();
/**
  int i = 0;
  int a;
  int array1[10000000];

  int* ptr = &array1;
  *ptr = 5;

  int val = *ptr;
  ptr++;

  int array2[10];
  array2[9] = 42;

  a = 5;
  a = 7;

  while(i < 10000000) {
    array1[i] = 42;
    i++;
    a=2;
  }

  int* ptr2 = &(array1[2]);
  ptr2++;

  int z = sth(ptr2,10);

  int j = 0;
  while(j < 8) {
    ptr2++;
    j++;
  }

  int x = *ptr2;

  a = 5;

  int x = array1[i] + 7;
  int y = array1[0]; **/
}

void simple2(void) {
  int array1[5];
  int *ptr = &(array1[4]);

  *ptr = 42;
}

void simple(void) {
  int array1[100];
  int* ptr = &array1;
{'fraction_non_alphanumeric': 0.1955661124307205, 'fraction_numerical': 0.09184481393507522, 'mean_word_length': 2.1838790931989926, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1673027', 'n_tokens_mistral': 662, 'n_tokens_neox': 579, 'n_words': 154}