Questions tagged [ildasm]

Microsoft intermediate language (MSIL) Disassembler

The MSIL Disassembler is a companion tool to the MSIL Assembler (Ilasm.exe). Ildasm.exe takes a portable executable (PE) file that contains Microsoft intermediate language (MSIL) code and creates a text file suitable as input to Ilasm.exe.

This tool is automatically installed with Visual Studio and with the Windows SDK. To run the tool, you can use the Visual Studio Command Prompt or the Windows SDK Command Prompt (CMD Shell). These utilities enable you to run the tool easily, without navigating to the installation folder.

MSDN: Ildasm.exe (MSIL Disassembler)

101 questions
0
votes
1 answer

.net icon loss when disassembling

I disassebmled application using command "ildasm MyApp.exe /output:MyApp.il", then it generated some resource files and MyApp.il. After it i copied all generated files and .il file into ilasm.exe's folder. After built it using command "ilasm…
0
votes
1 answer

Confused about auto property IL accessing two arguments rather than one

Given the following auto property: public string Name { get; set; } I analysed it's IL using ILDASM and was curious about the result: .method public hidebysig specialname instance void set_Name(string 'value') cil managed { .custom…
Jason Evans
  • 28,906
  • 14
  • 90
  • 154
0
votes
1 answer

API of ILDASM.EXE

I know ildasm.exe can be used to analyze the code of an assembly. I would like to use ILDASM.exe in my code. Is there a relevant API provided by microsoft that I can use to incorporate this functionality in my code. I don't want to call ildasm.exe…
rxx
  • 744
  • 6
  • 16
0
votes
2 answers

strongly-naming .net assemblies in a strongly-named assembly manifest

I have 6 old VB6 DLLs that need to work with my application. To have them work in .NET land, they were converted to Interop DLLs. One of the Interop DLLs (call it Master.DLL) references the other 5 DLLs. I wanted to strongly-name Master.DLL so I…
ryrich
  • 2,164
  • 16
  • 24
0
votes
1 answer

How to Assemble .il file to .dll

I have Disassembled a WPF (Prism).dll file (Microsoft.Practices.Prism.UnityExxtensions.dll) using ILDASM, there I got 3 files with extensions like .IL, .res and .g.resources. I have changed the version number of a referenced file in metadata of the…
user2330678
  • 2,221
  • 14
  • 43
  • 67
0
votes
1 answer

ILDASM: How does it work?

While there are many examples of how to use ILDASM, I have yet to find any information as to how ILDASM populates its data. Can anyone please help shed some light on this for me? Edit: I should mention that I am interested in doing this from C++.
Brian Davis
  • 229
  • 1
  • 12
0
votes
1 answer

Disassembled and reassembled DLLs won't resolve mutual references

I'm trying to sign a set of DLLs through this process: ildasm the original DLL to IL ilasm (and Strong Naming) the IL back to DLL Each of the DLLs, seen thorugh Visual Studio Object Browser, is correct, but if a rebuilt DLL refers to an object…
Andrea Colleoni
  • 5,919
  • 3
  • 30
  • 49
0
votes
0 answers

Finding method def for error signature on Windows XP SP3 PC

I am trying to find the System.dll file to open with ILDASM.exe and find the method definition and offset and see why my application is crashing on Windows XP machines only. Am I trying to open the correct dll for this assembly listed in this error…
Zack
  • 2,789
  • 33
  • 60
0
votes
1 answer

Is the order of fields in the ILDASM tree view correct or is the order in the MetaInfo correct?

In trying to determine the precise order of fields in a .NET value type, I looked both at the ILDASM tree view and at the ILDASM "MetaInfo" (i.e., the actual IL). The order of fields in the two views of the data is inverse. For example, the tree…
drohacek
  • 3
  • 2
0
votes
2 answers

automated process to edit setup.exe resource strings for clickonce wpf app

We have a reasonable size application that is rolled out for N customers across Z zones for Y versions. For each of these situations each clickonce URL corresponding WCF Service URL(s) are all different. We don't know what these will be until a…
Jon
  • 15,110
  • 28
  • 92
  • 132
-1
votes
1 answer

Is there any way to retrieve the compiler-generated code from the .NET assembly in a readable form?

For example, if some C# class in an assembly has a property property, compiler generates set_property and get_property methods, or if there is a lambda, compiler also generates helper class c__DisplayClass or something like it. I can see them when I…
undermind
  • 1,779
  • 13
  • 33
1 2 3 4 5 6
7