内置函数
除了脚本语言的类方法和属性外,VMProtect 还为用户提供各种函数来执行基本操作。有通用的系统函数来处理字符串、日期和数字,处理应用程序的命令行和显示消息;以及与 VMProtect 核心和水印一起使用的专用函数:
namespace vmprotect {
Core core(); // 返回 VMProtect 核心
string extractFilePath(string name); // 提取文件的路径
string extractFileName(string name); // 提取文件名
string extractFileExt(string name); // 提取文件的扩展名
table commandLine(); // 返回命令行
FFILibrary openLib(string name); // 打开一个库
};