反编译ALEX.DLL,分析这些函数,太多,太复杂,找不到关键点。
从error message 入手,用winhex搜索ALEX.DLL,包括ansi/unicode,并未发现“There is no license to run command line”字符串。
用uedit对整个bin目录下所有文件搜索,也未发现。那么,这一句license error message从那里冒出来得?
G:\editg\CPPTest65\bin>cpptest t.c之后,
在系统temp目录下发现一个文件Toolkit16970.log,主要内容如下。
[INFO] Checking main feature...
[INFO] Version: Application: C++Test 6.5
[INFO] License configured
[INFO] Final status: 0
[INFO] checkConfiguration(t):finish
[INFO] cancelOtherThreads:begin
[INFO] cancelOtherThreads:finish
[INFO] checkConfiguration:finish
[INFO] isFeatureConfigurated returned ErrorCode: -3
[toolkit.modules.common.license.LicenseConfigurationException: isFeatureConfigurated returned ErrorCode: -3
[ at toolkit.modules.common.license.LicenseUtils.isFeatureConfigurated(LicenseUtils.java:177)
[ at toolkit.modules.common.license.LicenseModule.getFeatureStatus(LicenseModule.java:392)
[ at com.parasoft.cpptest.app.LicenseManager.printErrorMessage(LicenseManager.java:814)
[ at com.parasoft.cpptest.app.LicenseManager.checkLicense(LicenseManager.java:424)
[ at com.parasoft.cpptest.app.ModuleTest.mainSlave(ModuleTest.java:1539)
[ at com.parasoft.cpptest.app.ModuleTest.main(ModuleTest.java:1376)
去下了个Jad - the fast JAva Decompiler,和它的GUI前端FrontEnd Plus v1.04:
http://www.kpdus.com/jad.html#download
顺便分析了FrontEnd的注册码:
--------------cut--------------------
REGEDIT4