Issues related to VMProtect
yype
Posts: 3 Joined: Thu Nov 26, 2015 5:41 am
Post
by yype » Thu Nov 26, 2015 6:02 am
Hi,i'm a demo user,who's thinking about buying a license.
I met a problem these days,when protecting QT released EXEs, v2.1 worked correctly,but as i turned on the "Memory Protection" switch in v3.0.6,the protected file would crash after executing like this:
error.jpg (148.02 KiB) Viewed 7963 times
as i tuned it off ,everything went well
released EXE was just a simple "helloworld" containing the QT dlls in its directory
Admin
Site Admin
Posts: 2686 Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:
Post
by Admin » Sun Nov 29, 2015 9:25 am
Please send us a test example (oiriginal EXE+MAP+VMP+Qt files) that shows this problem.
yype
Posts: 3 Joined: Thu Nov 26, 2015 5:41 am
Post
by yype » Sun Nov 29, 2015 4:50 pm
Admin wrote: Please send us a test example (oiriginal EXE+MAP+VMP+Qt files) that shows this problem.
thanks~
//demo protected file cannot be executed on other computers...// so i just give the original file.
i did what this post said,and problems were solved:
http://www.vmpsoft.com/forum/viewtopic.php?f=4&t=1685
just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP
there comes some more questions:)...
the "file" function - can it include a file/dll which isn't in the same path with Protected exe? like .\platforms\qwindows.dll ?
and does the Professional license contain "file" function?
test file was sent to
info@vmpsoft.com
best regards~
Admin
Site Admin
Posts: 2686 Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:
Post
by Admin » Tue Dec 01, 2015 7:19 am
just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP
You are right. MinGW's runtime changes these segments, so you have to exclude them from memory protection.
the "file" function - can it include a file/dll which isn't in the same path with Protected exe? like .\platforms\qwindows.dll ?
You can add a folder "platforms" and add "qwindows.dll" in this folder. Anyway I'm not sure that Qt will work with virtualized files.
and does the Professional license contain "file" function?
Only Ultimate edition has this feature.
yype
Posts: 3 Joined: Thu Nov 26, 2015 5:41 am
Post
by yype » Tue Dec 01, 2015 9:25 am
Admin wrote: just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP
You are right. MinGW's runtime changes these segments? so you have to exclude their from memory protection.
the "file" function - can it include a file/dll which isn't in the same path with Protected exe? like .\platforms\qwindows.dll ?
You can add a folder "platforms" and add "qwindows.dll" in this folder. Anyway I'm not sure that Qt will work with virtualized files.
and does the Professional license contain "file" function?
Only Ultimate edition has this feature.
Thanks~