This is a migrated thread and some comments may be shown as answers.

when decompile unsigned int , long or byte ... it decompile its value to signed value

3 Answers 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Waddah
Top achievements
Rank 1
Waddah asked on 09 Jul 2015, 04:30 PM

for example :

 

private uint[] Regs = new uint[5];

public aaaaa() 

this.Regs[0] = 65456988798; 
this.Regs[1] = -271723579; /// error decompile value 
this.Regs[2] = -1732584194; /// error decompile value 
this.Regs[3] = 4656546545; 
this.Regs[4] = -145689734; /// error decompile value

}

3 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 14 Jul 2015, 10:17 AM
Hi,

Could you, please, share with us the source code used to compile the assembly that outputs the error? Rather unfortunately, this is the best way to reproduce this problem.

Thank you in advance.

Regards,
Alexander
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Waddah
Top achievements
Rank 1
answered on 14 Jul 2015, 04:59 PM

try this simple source code :

        private uint A;
        private void Form1_Load(object sender, EventArgs e)
        {
            A = 4294967295;
        }

compile it to exe file .

 

now decompile it ... you will see this ..

 

        private uint A;

        private void Form1_Load(object sender, EventArgs e)
        {
            this.A = -1;
        }‚Äč

 

 

0
Alexander
Telerik team
answered on 15 Jul 2015, 03:26 PM
Hi,

Thank you for providing us the code.

We reproduced the bug and it's now on our list.

Please, update regularly and stay tuned.

Regards,
Alexander
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Waddah
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Waddah
Top achievements
Rank 1
Share this question
or