<commit_before>/**
 * Test antidebug features
 *
 * Related projects, which detects virtualization:
 * * https://github.com/a0rtega/pafish/tree/master/pafish Pafish
 */
#if !defined(_GNU_SOURCE) && (defined(__linux__) || defined(__unix__) || defined(__posix__))
#    define _GNU_SOURCE /* for syscall */
#endif

#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

#if defined(_WIN32) || defined(WIN32) || defined(_WIN64) || defined(WIN64)
#    define IS_WINDOWS 1
#    include <windows.h>
#endif

#if defined(__linux__) || defined(__unix__) || defined(__posix__)
#    define IS_POSIX 1
#    include <errno.h>
#    include <sys/ptrace.h>
#    include <sys/syscall.h><commit_msg>c/antidebug: add link to an anti-debugging reference<commit_after>/**
 * Test antidebug features
 *
 * Related projects, which detects virtualization:
 * * https://github.com/a0rtega/pafish/tree/master/pafish Pafish
 *
 * Other links:
 * * http://pferrie.host22.com/papers/antidebug.pdf
 *   The "Ultimate" Anti-Debugging Reference
 */
#if !defined(_GNU_SOURCE) && (defined(__linux__) || defined(__unix__) || defined(__posix__))
#    define _GNU_SOURCE /* for syscall */
#endif

#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

#if defined(_WIN32) || defined(WIN32) || defined(_WIN64) || defined(WIN64)
#    define IS_WINDOWS 1
#    include <windows.h>
#endif

#if defined(__linux__) || defined(__unix__) || defined(__posix__)
#    define IS_POSIX 1
#    include <errno.h>
#    include <sys/ptrace.h>
#    include <sys/syscall.h>
{'fraction_non_alphanumeric': 0.1546325878594249, 'fraction_numerical': 0.015335463258785943, 'mean_word_length': 4.456445993031359, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '6665769', 'n_tokens_mistral': 580, 'n_tokens_neox': 546, 'n_words': 118}