Hello,
I try the VMProtect Demo with PDB file generate by Visual Studio 2022, compiling .NET 7.0 console application to Native single EXE file
I turned on debugging symbols for Publish and Release build, and try the PDB file in the Publish folder and Release folder
But it does not work
VMprotect imports the PDB file, but when going to use it, say invalid address on all methods
I use this process here: https://learn.microsoft.com/en-us/dotne ... ative-aot/
I also try to use DumpBin.exe to convert PDB file to MAP file (see below), but the syntax and formatting is not correct. it is similar to MAP file, but not close enough.
https://stackoverflow.com/questions/245 ... a-pdb-file
Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
So the issue was answered here: https://github.com/dotnet/runtime/issues/80992
HOWEVER The compilation time takes so long between when the .MAP is generated and the EXE is spit out, that VMProtect is rejecting the time stamp
How do I fix this?
HOWEVER The compilation time takes so long between when the .MAP is generated and the EXE is spit out, that VMProtect is rejecting the time stamp
How do I fix this?
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
After spending some time on this, I think right now its safe to say VMprotect cannot support Native AOT compiled EXE binary, unless the MAP file is the problem
Every method I try to protect gives
"Command not supported"
OR
"Address is already used by function xxxxxxxx"
I know this is still early days for .NET Native AOT, but the potential is very exciting
But sadly, I guess not ready yet
Every method I try to protect gives
"Command not supported"
OR
"Address is already used by function xxxxxxxx"
I know this is still early days for .NET Native AOT, but the potential is very exciting
But sadly, I guess not ready yet
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
Do you have a very simple example (EXE+ PDB + MAP + VMP files) that shows the following problems:
1.
2.
3.
1.
VMprotect imports the PDB file, but when going to use it, say invalid address on all methods
2.
The compilation time takes so long between when the .MAP is generated and the EXE is spit out, that VMProtect is rejecting the time stamp
3.
Every method I try to protect gives
"Command not supported"
OR
"Address is already used by function xxxxxxxx"
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
Yes I have sample ZIP with unprotected EXE and VIsual Studio project. where to send it?
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
I try to email yesterday, email is not delivered, say timeout
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
I try to email twice now, both emails bounced back.
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
It seems your mail server has problems too.
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
Yesterday, the VMPsoft website had a https://www.1gb.ru/index.php error on it instead of home page
I just try to send email again
I just try to send email again
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
I am still unable to email info@vmpsoft.com
I email plenty of other people just fine, and they email me back just fine (including Themida support)
If you want the sample program and VS project I am having problem with, maybe there is another way I can send it?
I email plenty of other people just fine, and they email me back just fine (including Themida support)
If you want the sample program and VS project I am having problem with, maybe there is another way I can send it?
Re: Native AOT (.NET 7.0 compile to native) - PDB or MAP file support?
We are happy for the themida's support.
The topic is closed.
The topic is closed.