Need to modify C# compiled dll
Posted on 2010-11-12
I have compiled C# dll. And I need to modify one method inside this dll.
The methods looks like:
MessageBox.Show("Text of message box", "Title", MessageBoxButton.OK, MessageBoxImage.Exclamation);
I need to add "return" statement, before MessageBox.
I have installed Olly Debugger, moreover I did search in "Memory dump" window for "Text of message box" and I have found some places(addresses), where this text occurs, but I don't know how to modify(insert return statement) dll in these places using Olly Debugger(is this possible?).
By the way, I know exact method's name, text and so on.(Actually, I do have source code, but I can not recompile this dll using source code. Please, don't ask why.)
Any articles, suggestions, software recommendations, which will help me to achieve my goal, would be highly appreciated!