Verbosity for "Error Invalid Address"
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Verbosity for "Error Invalid Address"
Hello,
I am trying to select numerous methods to protect in EXE
However the error I get is useless, it provides me no verbosity whatsoever
I have no way of knowing which of the large quantity of methods I selected has the invalid address
Is there some way to get some additional error verbosity here?
I am trying to select numerous methods to protect in EXE
However the error I get is useless, it provides me no verbosity whatsoever
I have no way of knowing which of the large quantity of methods I selected has the invalid address
Is there some way to get some additional error verbosity here?
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
Update:
It appears this error only happens because I am selecting a lot of methods at once
Is it a data type issue? I.e. I am selecting more than 255 and VMprotect is using an Int8 somewhere internally resulting in this error?
It appears this error only happens because I am selecting a lot of methods at once
Is it a data type issue? I.e. I am selecting more than 255 and VMprotect is using an Int8 somewhere internally resulting in this error?
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
Update to this:
The limit is 1,819
The limitation is somewhat GUI related
When Selecting methods for protection, it populated a comma delimited address list to the upper text box
The comma delimited list will get Truncated on the 1,820th selection
Short of writing a program to parse my MAP file and add entries to the VMprotect XML myself, is there any solution to this?
The limit is 1,819
The limitation is somewhat GUI related
When Selecting methods for protection, it populated a comma delimited address list to the upper text box
The comma delimited list will get Truncated on the 1,820th selection
Short of writing a program to parse my MAP file and add entries to the VMprotect XML myself, is there any solution to this?
Re: Verbosity for "Error Invalid Address"
The error "invalid address" means that the address of a selected symbol belongs to wrong segment (problably the address is zero) and this behavior don't depens on how many symbols were selected. Anyway, VMProtect highlights this address in the "Address" textbox.
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
In this case, there is no highlighting of the error
You can't select more than about 1800, sometimes much less depending on the start addresses. I need to select around 60,000 if this is possible
Once you select a lot of methods, you will see that it starts rolling over, and the last entry is "0000000"
I copied to Notepad ++ and replace , with \r\n to make it easier to see what is happening
See attached pictures
You can't select more than about 1800, sometimes much less depending on the start addresses. I need to select around 60,000 if this is possible
Once you select a lot of methods, you will see that it starts rolling over, and the last entry is "0000000"
I copied to Notepad ++ and replace , with \r\n to make it easier to see what is happening
See attached pictures
- Attachments
-
- Limitation 2.png (7.07 KiB) Viewed 2572 times
-
- Limitation 1.png (21.72 KiB) Viewed 2572 times
Re: Verbosity for "Error Invalid Address"
It seems you don't understand what happens. Your map file contains a method with address = 0. Just soft methods by address (click at the colum header) at the window "Add function" and you will see it.
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
I promise you, that is not what is happening
It is a VMProtect limitation, either memory, GUI, something like this
To reproduce, simply need to select more than ~1800 method
My first address when I sort by addresses in ascending order is 0000000140001000
What is going on, is truncation / rollover in VMprotect
Due to memory assignment limitation or GUI or something
It is a VMProtect limitation, either memory, GUI, something like this
To reproduce, simply need to select more than ~1800 method
My first address when I sort by addresses in ascending order is 0000000140001000
What is going on, is truncation / rollover in VMprotect
Due to memory assignment limitation or GUI or something
Re: Verbosity for "Error Invalid Address"
It seems TextEdit has limit of buffer size, so the latest "000000014000xxxx" was truncated to "0000000". Anyway, adding of all functions is useless.
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
Ok thank you
I try to just add the main program methods
only 25 or so (small program)
When I compile, it runs but then silently crashes (exits). I am not sure if this is because Native AOT is weirder than normally developed EXE
I buy Themida so I will see if it has same problem or not (the demo does not do the full protection)
I would expect that Themida would have more problems, not less problems, than VMProtect, VMProtect more stable. but we will see
I try to just add the main program methods
only 25 or so (small program)
When I compile, it runs but then silently crashes (exits). I am not sure if this is because Native AOT is weirder than normally developed EXE
I buy Themida so I will see if it has same problem or not (the demo does not do the full protection)
I would expect that Themida would have more problems, not less problems, than VMProtect, VMProtect more stable. but we will see
-
- Posts: 17
- Joined: Fri Dec 16, 2022 7:15 am
Re: Verbosity for "Error Invalid Address"
For what its worth, Themida have same issues with Native AOT EXE
The first Messagebox prompt that I put in my Main() method comes up, then after clicking it, program crashes
I will keep trying to debug this, but it seems Native AOT doing weird stuff
Again this happen even when just select 1 method
The first Messagebox prompt that I put in my Main() method comes up, then after clicking it, program crashes
I will keep trying to debug this, but it seems Native AOT doing weird stuff
Again this happen even when just select 1 method
Re: Verbosity for "Error Invalid Address"
Please stop to post useless information about third-parties software like themida, etc. We and our customers are not at all interested in what bugs you found or did not find there. We have already asked you to provide us an example that shows problems with our software, but you didn't send us anything.
P.S. The topic is closed.
P.S. The topic is closed.