Hi,

Did anyone get a chance to look the above error. Or am I saying/doing
something incorrect.

Any help in this regard would be much appreciated. TIA.

Kid.

On Oct 12, 9:32 am, Kid <[EMAIL PROTECTED]> wrote:
> Hi,
> I tried to open Notepad using mono.cecil.binary.image.getImage(path of
> notepad) and I got this exception.
>
> System.ArgumentOutOfRangeException: Specified argument was out of the
> range of valid values.
> Parameter name: Cannot map the rva to any section
>    at Mono.Cecil.Binary.Image.ResolveVirtualAddress(RVA rva)
>    at Mono.Cecil.Binary.ImageReader.SetPositionToAddress(RVA address)
>    at Mono.Cecil.Binary.ImageReader.VisitHintNameTable(HintNameTable
> hnt)
>    at Mono.Cecil.Binary.HintNameTable.Accept(IBinaryVisitor visitor)
>    at Mono.Cecil.Binary.Image.Accept(IBinaryVisitor visitor)
>    at Mono.Cecil.Binary.ImageReader.Read(Image img, Stream stream)
>    at Mono.Cecil.Binary.ImageReader.Read(String file)
>    at Mono.Cecil.Binary.Image.GetImage(String file)
>
> Thanks for looking at this and appreciate the help. TIA.
>
> Regards,
>
> Kid
>
> On Oct 12, 3:49 am, "Jb Evain" <[EMAIL PROTECTED]> wrote:
>
> > Hey,
>
> > On 10/11/07, Kid <[EMAIL PROTECTED]> wrote:
>
> > > I have the latest 0.6 version. As per the release notes the newer
> > > version has 'Improved Mono.Cecil.Binary layer to read pure native PE
> > > binaries'.  I tried to use Mono.cecil.binary.image to read a native PE
> > > file. But I get argument exception.
>
> > Could you paste the actual ArgumentException you get?
>
> > --
> > Jb Evain  <[EMAIL PROTECTED]>


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

Reply via email to