2

I would like to use ildasm on Linux. The original one, that comes with the .NET SDK and can be found on Windows e.g. at c:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\.

I found dotnet-ildasm and managed to install it on my Ubuntu 18.04. But I am unsure if this is the same as the "original" one.

  • Is dotnet-ildasm the same as Microsoft ildasm?
  • Did someone mangage to install the Microsoft ildasm on Linux?

1 Answer 1

3

The original one was a native executable and this one is build in .NET by utilizing a Mono.Cecil library to get the assembly information so if I would have to answer your first question I would answer - no, they are not the same.

Not sure about your second question as original one was Windows executable so there's no point installing it on Linux. I would use the one you linked dotnet-ildasm or ikdasm from the Mono project.

Why are you so focused on having the "original" one?

6
  • I am focussed in the original one because it would tell me if an assembly is obfuscated. This worked well for unknown obfuscators. Commented Jan 5, 2020 at 20:29
  • Out of curiosity. How did ildasm told you that assembly is obfuscated or not? Commented Jan 5, 2020 at 20:31
  • It says “protected module — cannot disassemble” Commented Jan 5, 2020 at 20:38
  • thx but "protected module" message is far from being obfuscated. It's just one attribute added. I can provoke the same on ildasm on a simple Hello World. Commented Jan 5, 2020 at 20:43
  • Ah interesting. Good point. Commented Jan 5, 2020 at 20:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.