<commit_before># Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.

TOP = ..
ifneq ($(ARCH), WIN_NT)
ifneq ($(ARCH), WIN_98)
ARCH=$(shell uname | sed -e 's/-//g')
endif
endif

ifeq ($(ARCH),CYGWIN_NT5.0)
ARCH=WIN_NT
endif

ifeq ($(ARCH),CYGWIN_NT5.1)
ARCH=WIN_NT
endif

SHARED = 1
LIBRARY = crutil
FILES = bbox \
	bufpool \
	devnull \
	dll \
	endian \
	environment \
	error \
	filenet \
	hash \
	mem \
	net \
	pixel \
	rand \
	string \
	threads \
	tcpip \
	timer \
	url
PRECOMP = debug_opcodes.c
SLOP += ${PRECOMP}

ifeq ($(ARCH),Linux)
#CFLAGS += -DGM_SUPPORT
#FILES += gm
#LDFLAGS += -lgm
endif

LIB_DEFS = util.def

ifeq ($(ARCH), WIN_NT)
ifdef (WANT_GM)
CFLAGS += -DGM_SUPPORT
FILES += gm
LDFLAGS += gm.lib
endif
LDFLAGS += user32.lib ws2_32.lib
else
ifeq ($(ARCH),FreeBSD)
LDFLAGS += -lpthread
else
LDFLAGS += -ldl -lpthread
endif
endif

include ${TOP}/cr.mk

debug_opcodes.c: debug_opcodes.py ../packer/opcode_special
	@$(ECHO) Making the opcode debugger...
	@$(PYTHON) debug_opcodes.py > $@
<commit_msg>Whoops.<commit_after># Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.

TOP = ..
ifneq ($(ARCH), WIN_NT)
ifneq ($(ARCH), WIN_98)
ARCH=$(shell uname | sed -e 's/-//g')
endif
endif

ifeq ($(ARCH),CYGWIN_NT5.0)
ARCH=WIN_NT
endif

ifeq ($(ARCH),CYGWIN_NT5.1)
ARCH=WIN_NT
endif

SHARED = 1
LIBRARY = crutil
FILES = bbox \
	bufpool \
	devnull \
	dll \
	endian \
	environment \
	error \
	filenet \
	hash \
	mem \
	net \
	pixel \
	rand \
	string \
	threads \
	tcpip \
	timer \
	url
PRECOMP = debug_opcodes.c
SLOP += ${PRECOMP}

ifeq ($(ARCH),Linux)
CFLAGS += -DGM_SUPPORT
FILES += gm
LDFLAGS += -lgm
endif

LIB_DEFS = util.def

ifeq ($(ARCH), WIN_NT)
ifdef (WANT_GM)
CFLAGS += -DGM_SUPPORT
FILES += gm
LDFLAGS += gm.lib
endif
LDFLAGS += user32.lib ws2_32.lib
else
ifeq ($(ARCH),FreeBSD)
LDFLAGS += -lpthread
else
LDFLAGS += -ldl -lpthread
endif
endif

include ${TOP}/cr.mk

debug_opcodes.c: debug_opcodes.py ../packer/opcode_special
	@$(ECHO) Making the opcode debugger...
	@$(PYTHON) debug_opcodes.py > $@

{'fraction_non_alphanumeric': 0.14683082535339717, 'fraction_numerical': 0.01459188326493388, 'mean_word_length': 3.6092436974789917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '452255', 'n_tokens_mistral': 941, 'n_tokens_neox': 886, 'n_words': 234}