[Mono-list] Questions in Interop

Paolo Molaro lupus at ximian.com
Mon Oct 3 05:25:04 EDT 2005

On 10/02/05 Shankari wrote:
> 1) Does a unmanaged call from managed process means
> that it still lies in the same address space as the
> managed process that called it?

Yes, of course.

> 2) If so, manipulating
> (mauling) a raw address(not trying to access managed
> data in the legal ways) in the unmanaged code is
> potentially "suicide"??!!!


> 3) what protection does Mono provide in such
> scenarios.

You may want to read about Code Access Security: when it is enabled,
you'll need a specific permission to be able to make unmanaged calls.
This feature is still in development in Mono.

> 4) Also, are there *ANY* tools similar to Son of
> strike to look into the object layout/process details.

If you described the features instead of giving the name of a sw, we
could help you here. Anyway, You can use gdb, some runtime helpers,
poking inside /proc and many other ways to do what you're likely looking


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-list mailing list