- 产品名/展示串、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 兼容性提示
27 lines
953 B
XML
27 lines
953 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<Document>
|
|
<Protection InputFileName="Project1.exe" Options="32768" RunParameters="">
|
|
<Folders />
|
|
<Procedures>
|
|
<Procedure MapAddress='DogProtectMarker "Test marker"' Options="1" />
|
|
<Procedure MapAddress='string "Correct password"' Options="1" />
|
|
<Procedure MapAddress='string "Incorrect password"' Options="1" />
|
|
</Procedures>
|
|
<Messages />
|
|
</Protection>
|
|
<DLLBox />
|
|
<Script>
|
|
<![CDATA[function OnBeforeCompilation()
|
|
MessageBox(0, 'OnBeforeCompilation', 'MessageBox from user32.dll', 0x40)
|
|
end
|
|
|
|
function OnAfterCompilation()
|
|
MessageBox(0, 'OnAfterCompilation', 'MessageBox from user32.dll', 0x40)
|
|
end
|
|
|
|
user32 = dogprotect.openLib('user32.dll')
|
|
MessageBox = user32:getFunction('MessageBoxA', {ret = 'int', 'size_t', 'string', 'string', 'uint'})]]>
|
|
</Script>
|
|
<LicenseManager />
|
|
</Document>
|