 |
 | New Line / Multiple Lines tekhead | 22:08 12 Jan '09 |
|
 |
Is there a way to either edit an instruction or add a new instruction that contains multiple lines with netDASM?
Thanks
|
|
|
|
 |
|
 |
You can use .Net Reflector + its plugin Reflexil to edit IL instructions. Regards.
http://rongchaua.net
|
|
|
|
 |
 | i cant insert instruction sujithkumarsl | 19:38 17 Apr '08 |
|
 |
hi i tried to add instruction by using the "insert instruction" option. but its showing error like invalid parameter "opcode"
My small attempt...
|
|
|
|
 |
 | Godd stuff hhir1 | 0:05 22 Oct '07 |
|
 |
Thanx for the article. It is always very useful to have the tools to look under the hood and fix (patch) things.
For that purpose I'm currently using XenoCode-Fox (http://www.xenocode.com/Products/Fox/Default.aspx[], they also provide a free community version). Fox can also decompile to IL but also to C# and VB. However it has no means to directly patch something... But it's still very useful just to look under the hood.
Cheers Hans-Jürgen Schmidt
|
|
|
|
 |
 | Replace Method??? rongchaua | 13:40 15 Jul '07 |
|
 |
This is only a question about Mono.Cecil. Do you think that we can use Mono.Cecil to replace a method in assembly with a string? For example, I have this instruction.
****** MessageBox.Show(Language.GetText(12345)) ******
Can I replace this Language.GetText() Method with a string "Hello World" so that I can receive
****** MessageBox.Show("Hello World") ******
I don't know very much about Mono.Cecil. Thank for your help.
|
|
|
|
 |
|
|
 |
|
|
 |
 | Try Reflexil jonbratz | 23:01 2 Jul '07 |
|
|
 |
 | meta-data corruption? Philox | 3:06 6 Jun '07 |
|
 |
Hey,
I tried just for the fun of it, to remove System.Windows.Forms.DataGridView. When I try to add the assembly as reference and try to build my solution I get the follow message: Error 1 Unexpected error reading metadata from file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll' -- ''
|
|
|
|
 |
|
 |
Hum, remove a type from a library can corrupt the entire library.Try to change only the code and test if it works.
|
|
|
|
 |
|
 |
Argumenting a method works perfectly
|
|
|
|
 |
 | More Function Please rongchaua | 8:55 1 Jun '07 |
|
 |
First, you've made a great tool. It works very well. The GUI is ok. Second, can you add more function at EditCode
1. Search Text 2. Edit IL Instruction (not remove and then insert)
Last, thanx you for this tool. Great.
|
|
|
|
 |
|
 |
In the new version I have added the things that you said.
|
|
|
|
 |
 | Patching signed assemblies ? Vertyg0 | 21:57 31 May '07 |
|
 |
Is it possible to patch signed assembly and not to get next exception:
An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module.
Additional information: Could not load file or assembly 'TestApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f20ee6ae21b7015e' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Anyway really nice app ... you could add autocompleate to Opcode combobox in InsertInstruction ...
|
|
|
|
 |
|
 |
I have tried load signed assemblies and I don't get error...
|
|
|
|
 |
 | Securing my Application jfdoubell | 20:50 31 May '07 |
|
 |
Very nice work on NetDasm!
How could I protect my application from programs like NetDasm so people can't dissasemble my code and reverse engineer my program?
|
|
|
|
 |
|
 |
You can sign your applications and obfuscate the source code
|
|
|
|
 |
 | Nice work David Sleeckx | 12:21 31 May '07 |
|
 |
First of all, nice program, it's always nice to see people dive more into the code behind the code.
I have a few tips, absolutely not ment as criticism, but to help you improve the quality of your future programs.
- Try and give more meaningfull names to the controls on your forms, it will help improve the readability of your code a lot.
- Try extracting the program logic from the user interface code, with WPF on the way, you don't want to rewrite your entire program when you decide to take advantage of the next UI. You never know
- Another thing you might want to take into account is exception handling, I didn't find a single one in the code, but got a few while running it. Never ever trust user input.
- And last, \n can be used to add carriage returns to your strings
Keep up the good work, David
|
|
|
|
 |
|
 |
Thanks, I have made this application in two hours and I dont check the things that you say. If I have time, I will improve these things.
|
|
|
|
 |