Files
vmprotect/help/en/script_functions.htm
Cmake 195f02a41d dogprotect: VMProtect → DogProtect 全量改名 + VM 节名改 .dog
- 产品名/展示串、SDK 与运行时导出 API、.NET 命名空间全部换为 DogProtect
- 文件与目录改名: dogprotect.sln / DogProtect/ / DogProtectCon/ / sdk/DogProtect.SDK /
  sdk/DogProtectSDK.{h,pas,bas,inc} / runtime/DogProtect.Runtime/ / core/dogprotect.rc /
  app/dogprotect_gui.app
- 项目文件扩展名 .vmp → .dog(含 GUI 过滤器、默认输出名、示例工程、单测)
- VM 代码节名默认 .dog(上游为随机 ".xyz"),产物节为 .dog0/.dog1/...
- 授权数据与配置: DogProtect.dat / DogProtectLicense.ini / Global\\DogProtect.dat
- 域名占位 dogprotect.example,bundle id com.dogprotect.dogprotect
- 保留 VMP_* 内部宏与 third-party/
- BUILD-LINUX.md 增补改名说明与 SDK 兼容性提示
2026-11-23 16:15:28 +08:00

47 lines
1.8 KiB
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="Stylesheet" type="text/css" href="default.css" />
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8" />
<title>Built-in functions</title>
</head>
<body>
<h1>Built-in functions</h1>
<p>Aside from class methods and properties of the script language, DogProtect offers to a user various functions to perform basic operations. There are general system functions to work with strings, dates and numbers, process the command line of an application and display messages; and specialized functions to work with the DogProtect core and watermarks:</p>
<ul>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.4">string</a></li>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.5">table</a></li>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.6">math</a></li>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.7">bit32</a></li>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.8">io</a></li>
<li><a href="http://www.lua.org/manual/5.2/manual.html#6.9">os</a></li>
<li><a href="#DogProtect">dogprotect</a></li>
</ul>
<a name="DogProtect"></a>
<pre class="code">
namespace dogprotect {
<a href="script_classes.htm#Core">Core</a> core(); // returns the DogProtect core
string extractFilePath(string name); // extracts the path of a file
string extractFileName(string name); // extracts the name of a file
string extractFileExt(string name); // extracts the extension of a file
table commandLine(); // returns the command line
<a href="script_classes.htm#FFILibrary">FFILibrary</a> openLib(string name); // opens a library
};
</pre>
<br />
<br />
<br />
<br />
<hr noshade="noshade" size="1" />
<div align="center">
</div>
</body>
</html>