[Mono-dev] Debugging Busted CIL

Jim Purbrick jimpurbrick at yahoo.co.uk
Tue Oct 4 05:01:56 EDT 2005

> > Did you verify the assembly?
> > 
> > Mono: pedump --verify code  <assembly>

I'm now getting an interesting error from pedump:

Error: Incompatible type Managed Pointer in store at

What I'm trying to do is store the result of a ldflda

The StackBehaviourPush of the ldflda instruction
returns pushi, so I try to store the result in an
int32, but MSDN
and the ECMA specs
both state that ldflda pushes a Managed Pointer on to
the stack (which is presumably why pedump is
complaining when I try to store the result in an

Is is possible to store and load Managed Pointers in
CIL? How?



To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

More information about the Mono-devel-list mailing list