Red Gate forums :: View topic - Expression stack is empty at offset xx
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.Net Reflector 6.x and .NET Reflector 6.x Pro
.Net Reflector 6.x and .NET Reflector 6.x Pro forum

Expression stack is empty at offset xx

Search in .Net Reflector 6.x and .NET Reflector 6.x Pro forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Wed Nov 17, 2010 8:23 pm    Post subject: Expression stack is empty at offset xx Reply with quote

Hi, I've found a tricky case in one assembly that lead to a strange exception

Short description of the issue:
Two methods out of all produces these errors:


1) HWISD._Call::EnUs0bE1y(Object, EventArgs): Void

I've found that this function is crashing on analysis of
{L1C59: 0028 _Call.M9aTxbyuJh(Object) : Void}

Expression stack is empty at offset 1C78.


2) HWISD.Installer1::Install(IDictionary): Void

issues on analysis of {L078C: 0028 Installer1.caDHEaccj(Object) : Void}

Expression stack is empty at offset 0793.

Probably it is a bug of .Net Reflector
For both methods, .Net Reflector says "Expression stack is empty" error for first instruction (a call) in exception handler, the methods called (_Call.M9aTxbyuJh(Object) and Installer1.caDHEaccj(Object) in this case) accept Exception as parameter.
The instructions should be ok but .Net Reflector just doesn't recognize this pattern.

here is a link for both assemblies - original and deobfuscated (the issue is on deobfuscated one)

http://www.multiupload.com/XJ4PVRJ9ST

Looking forward for you analysis
Thanks
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Fri Nov 19, 2010 10:43 am    Post subject: Reply with quote

Thanks for reporting those failures. I've logged them as issue 776.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group