locked
MSIL/CIL parser library RRS feed

  • Question

  • Hi,

    im working on a security typesystem for a CIL-like language. For a faster development of the prototypical implementation of this system it would be great to have some parser or even manipulation library for MSIL/CIL.

    Are there any recommendations or pointers you could give me?

    Thanks in advance!
    Tuesday, May 6, 2008 1:31 PM

Answers

All replies

  • Microsoft IL with the PEVerify tool jumps to mind.  If you cook your own CIL, you'll have to cook your own tools too.
    Wednesday, May 7, 2008 12:44 AM
  • Thanks for your answer but that is not exactly what I meant.

    I have an MSIL assembly and want to get a representation like an abstract syntax tree to analyze the code.

    Maybe someone knows some pointers for me?
    Tuesday, June 3, 2008 11:30 AM
  • Download SSCLI20, the shared source version of the CLR and its tools.  You'll get the source code for PEVerify.  C++ skillz required.
    Hans Passant.
    Tuesday, June 3, 2008 11:50 AM
  • Thanks! I don't see why the PEverify code should be of any help, but the ildasm code is.
    Thursday, June 5, 2008 7:55 AM