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
0 answers

Ilasm doesn't seem to include resources in dll

I'm using ildasm.exe to decompile a .dll (e.g. myfile.dll) into an .il file, a .res file and several .bmp, .png and some other files. The latter image and other files are probably not included into the .dll file when using ilasm myfile.il…
0
votes
2 answers

What is the impact of adding a reference on compiled code?

When I add a reference to a .dll file, what changes in the compiled output of a project? (Just imagine I have added a reference and rebuild.)
pencilCake
  • 51,323
  • 85
  • 226
  • 363
0
votes
1 answer

How to determine http verb allowed on a .net function using ildasm

I have a .net DLL which has web api end points with http verb decoration. And I only have ildasm disassembler to view IL code. How can I check what http verb is allowed for an endpoint(a particular Controller Action method)?
Mahen
  • 3
  • 5
0
votes
1 answer

ildasm.exe disassembly code viewer failed to exit unexpectedly with error code BEX64

Currently I am a programmer using C# language to develop my applications daily. I wrote my application and today I decided to disassembly my application to see what the actual assembly code would look like. I looked at the Microsoft documentation…
DuyThanh
  • 35
  • 1
  • 6
0
votes
1 answer

Does monodis tool from mono work against Microsoft .NET assemblies?

I know the monodis tool does the same thing for Mono that ILDASM does for Microsoft .NET. But is the monodis tool compatible with .NET in that it would work against a Microsoft .NET assembly because it works to the same file layout as Microsoft?
Phil Wright
  • 22,580
  • 14
  • 83
  • 137
0
votes
0 answers

Manually signing a 3rd Party dll looses file details

I have used these steps to sign a 3rd party C# .Net Dll: https://blogs.msdn.microsoft.com/miah/2008/02/28/how-to-assign-a-strong-name-to-an-unsigned-3rd-party-assembly/ Using these steps: ILDASM.exe SomeLibrary.dll /OUTPUT=SomeLibrary.il ILASM.exe…
Harry Boy
  • 4,159
  • 17
  • 71
  • 122
0
votes
0 answers

ILCode . ridiculous statements after decompilation

Consider I have the following code: try { using (var scope = CreateDependencies()) { ... } } When I decompile it: try { ILifetimeScope scope; int num1; if ((uint) (num1 - 1) > 2U) scope =…
pwas
  • 3,225
  • 18
  • 40
0
votes
1 answer

ildasm Reference Internal Classes in third Party DLL

Grreting guys, A problem is bothering me for a few days and I thought may be it's time I share it with the community. I need to make changes to an old project in the corp. This Dll references a third party dll and uses an Internal Class in that…
Mohfath
  • 57
  • 1
  • 11
0
votes
1 answer

.NET's Ildasm.exe Tool Seems To Not Be Dumping All Source Lines Out To Output File

I am creating a utility that reads the source lines of VB .NET executables my company has written. It is using the ildasm.exe utility in the following way: ildasm.exe /NOBAR /UNICODE /SOURCE "AssemblyToRead.exe"…
lamberms
  • 5
  • 3
0
votes
1 answer

What does 'CallCnvntn' in metainfo mean?

I have the following metainfo of my *.exe file: But I don't figure out what 'CallCnvntn' means. I have found no information on the Internet. By the way, may you explain what flags [AutoLayout], [AnsiClass] and [BeforeFieldInit] are used for?
eaniconer
  • 184
  • 2
  • 10
0
votes
1 answer

Getting "Type load failed" from PEVerify after removing methods

Short story I'm using the following Mono.Cecil code to remove all but a couple of methods from an interface and the class that implements the interface. static void Main(string[] args) { var moduleDef =…
PatrickSteele
  • 14,489
  • 2
  • 51
  • 54
0
votes
1 answer

Executable Not Available in ILDASM File Browser

When I navigate to C:\Windows\System32, I can see that it contains Query.exe However, if I use IL DASM and go to the same location, Query.exe is missing along with a handful of other files, even though I have selected Any Types for the file types At…
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
1 answer

Unable to find Interface in C# using reflection with Name.EndsWith

The name of interface is IService, but when I am trying to find the Interface in reflection in C#, it is not able to find because due to some reason the Interface name changes to Iservice'1 Please have a look to attached screenshot for Ildasm…
Dreamweaver
  • 1,328
  • 11
  • 21
0
votes
0 answers

ILDASM "System Out of Memory" Exception

I am using the ILDASM utility to disassembly assemblies (our own). (We use this to compare different build outputs against each other by stripping the unique content out of the disassenmbled files before running a hash calculation to compare the…
NubieJ
  • 575
  • 2
  • 9
  • 21
0
votes
2 answers

Inspecting contents of compiled assemblies

I'm hoping someone will be able to point me in the right direction. We are in the process of converting some of the fields in our database from int to bigint. This in terms means we need to update the appropriate fields in our code base from int to…
Shane McGarry
  • 513
  • 1
  • 6
  • 19