<commit_before>#include "master.hpp"

namespace factor
{

extern "C" int main();

const char *vm_executable_path()
{
	static Dl_info info = {0};
	if (!info.dli_fname)
		dladdr((void *)main, &info);
	return info.dli_fname;
}

}<commit_msg>vm/os-netbsd.cpp: fix double-free error<commit_after>#include "master.hpp"

namespace factor
{

extern "C" int main();

const char *vm_executable_path()
{
	static Dl_info info = {0};
	if (!info.dli_fname)
		dladdr((void *)main, &info);
	return safe_strdup(info.dli_fname);
}

}
{'fraction_non_alphanumeric': 0.15728155339805824, 'fraction_numerical': 0.003883495145631068, 'mean_word_length': 5.142857142857143, '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': '7510812', 'n_tokens_mistral': 216, 'n_tokens_neox': 209, 'n_words': 47}