<commit_before>INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/include)
LINK_DIRECTORIES (${CMAKE_SOURCE_DIR}/${PROJECT_NAME})

ADD_EXECUTABLE(test_packet_mmap test_packet_mmap.c)
TARGET_LINK_LIBRARIES (test_packet_mmap ${PROJECT_NAME})
ADD_TEST(test_packet_mmap test_packet_mmap)

ADD_EXECUTABLE(test_strlcpy test_strlcpy.c)
TARGET_LINK_LIBRARIES (test_strlcpy ${PROJECT_NAME})
ADD_TEST(test_strlcpy test_strlcpy)<commit_msg>Added setcap target to adjust tools capabilities.<commit_after>INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/include)
LINK_DIRECTORIES (${CMAKE_SOURCE_DIR}/${PROJECT_NAME})

ADD_EXECUTABLE(test_packet_mmap test_packet_mmap.c)
TARGET_LINK_LIBRARIES (test_packet_mmap ${PROJECT_NAME})
ADD_TEST(test_packet_mmap test_packet_mmap)

ADD_EXECUTABLE(test_strlcpy test_strlcpy.c)
TARGET_LINK_LIBRARIES (test_strlcpy ${PROJECT_NAME})
ADD_TEST(test_strlcpy test_strlcpy)

ADD_CUSTOM_TARGET(setcap COMMAND setcap cap_net_raw,cap_net_admin=eip test_packet_mmap)
{'fraction_non_alphanumeric': 0.08944723618090453, 'fraction_numerical': 0.0, 'mean_word_length': 15.064516129032258, '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': '5261452', 'n_tokens_mistral': 398, 'n_tokens_neox': 382, 'n_words': 46}