Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 327477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:24:21+00:00 2026-05-12T09:24:21+00:00

I am studding IL. I like .Net Reflector tool from RedGate (Lutz initially). I

  • 0

I am studding IL.

I like .Net Reflector tool from RedGate (Lutz initially). I already have Serge Lidin’s and Ecma-335 books. It looks like these things are all we have to work with IL (except ILAsm and ILDasm, of course).

My task is to parse assembly binary file and get IL code. It is obvious that the assembly is a binary file; hence, it is just a chain of bytes. To do what I want I need to know the assembly structure: which headers exist, how much bytes they occupy, offsets in bytes to read it byte after byte, etc.

Lidin’s book describes it, but it is not 100% clear for me. Did anyone try to parse DLL as byte stream? To have metadata and IL code as byte streams, then parse the IL byte stream to get IL source? I do not want to use reflection here; I’d want to work just with the binary file, rather.

Does the mono Cecil do the same? Even if so, I’d want to know how to do it.

And yes, I am trying to create another wheel like that of .NET Reflector and I want to know how it’s made. Like someone said: “Lutz shouldn’t necessarily be the only man in the world who knows how to make it”.

BTW, how does ISDasm work? Was it coded in .net?

Any thoughts, resources, examples?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:24:21+00:00Added an answer on May 12, 2026 at 9:24 am

    Mono.Cecil does exactly what you want to do. So, you may want to have a look at the source code.

    In fact, there is an on going project named Cecil.Decompiler, from Jb Evain, based on top of Cecil, which is an open source .NET decompiler.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Following on from this question: ASP.NET MVC Routing with Default Controller I have a
I am trying to teach ASP.NET MVC to students (undergrads) that have been studying
Recently I have been studying recursion; how to write it, analyze it, etc. I
I've been studying OOP for quite a while now and I have a good
I am quantitatively studying various metrics associated with automated tests. Chrome seems to have
I recently started work at a new company and a .net web application we
Coming from a desktop client background, with no real data-driven web design experience, I
I am studying various ASP.Net deployment approaches. In there, I got a basic question.
I download asp.net mvc2 preview 2 days back. I've just started studying MVC. I
I'm new at web development with .NET, and I'm currently studying a page where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.