1

My goal is to

  1. extract function names,
  2. the libraries they come from (if the functions were imported),
  3. function arguments, and
  4. strings

from a .NET binary. How can I do this? Is this possible using tools like JustDecompile or .NET Reflector? Do they offer an API that allows to do this?

I noticed IDA's Function Window is populated, but the Strings Window is not. In addition, I guess it would be easier (e.g. to get function arguments) to use a tool that does decompilation...

PS: The code is not obfuscated, it is not malware but regular software.

2 Answers 2

1

dnlib, used by the very powerful dnSpy (.net disassembler), is an open source .net library to analyse .net modules & assemblies which may be what you are looking for.

They also have an example similar to your use case:

Opens mscorlib.dll and then prints out all types in the assembly, including the number of methods, fields, properties and events each type has.

0

A while back i wrote this cheapo dependency tool. It's on my GitHub. https://github.com/marshalcraft/CheapoDllDependencyTool?files=1

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.