On 8/15/07, Ben Evans <[EMAIL PROTECTED]> wrote:
> I think this would be useful. I started doing some thinking about what
> would be useful in a managed verifier, and this type of low-level binary
> checking seemed like a good place to start.

Could be, but it would require a good amount of work.

> However, there didn't seem to be a good way to write an outputter using
> Mono.Cecil.Binary which would let me write out the 'bad' assemblies. I'm
> not entirely sure of the best way to proceed - look for another tool to
> make the assemblies, or maintain a private fork of the Cecil code in
> which some of the key outputter classes are not declared sealed, and
> then derive an EvilAssemblyWriter from them? What do other people think?

Cecil lets you emit basically pretty much everything you want,
metadata-wise. But it have to produce valid PE files.

The code for writing images is kind of fragile, so I would not
recommend playing with it.

-- 
Jb Evain  <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to