<commit_before>enum recordtype { SYSCALL_NO, ARG_INTEGER, ARG_POINTER, ARG_STRING, RET_VALUE };
#define MAX_STR_LEN (21)

struct record {
  enum recordtype type;
  union recordvalue {
    int intval;
    void *ptrval;
    char strval[MAX_STR_LEN];
  } value;
};

struct recordlist{
  struct record rec;
  struct recordlist *next;
};

typedef struct recordlist *reclist;

int startrecording();
int stoprecording();
int fetchrecords(struct record *records, int num_records);
int addrecordtolist(reclist *list, struct record rec);
reclist copyrecordslist(reclist list);
int fetchrecordslist(reclist list);
int releaserecordslist(reclist list);<commit_msg>Protótipos não usados de funcão<commit_after>enum recordtype { SYSCALL_NO, ARG_INTEGER, ARG_POINTER, ARG_STRING, RET_VALUE };
#define MAX_STR_LEN (21)

struct record {
  enum recordtype type;
  union recordvalue {
    int intval;
    void *ptrval;
    char strval[MAX_STR_LEN];
  } value;
};

struct recordlist{
  struct record rec;
  struct recordlist *next;
};

typedef struct recordlist *reclist;

int startrecording();
int stoprecording();
int fetchrecords(struct record *records, int num_records);
int addrecordtolist(reclist *list, struct record rec);
int releaserecordslist(reclist list);
{'fraction_non_alphanumeric': 0.08981555733761026, 'fraction_numerical': 0.0032076984763432237, 'mean_word_length': 5.745945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '6354214', 'n_tokens_mistral': 424, 'n_tokens_neox': 415, 'n_words': 119}