[Mono-dev] Inline assembly in C#

Jonathan Pryor jonpryor at vt.edu
Tue May 30 15:59:16 UTC 2017


Reply inline:

On May 30, 2017, at 11:38 AM, Martin Baulig <mabaul at microsoft.com> wrote:
> First thing that came to my mind when I read this was how this could possibly be exploited – wouldn’t it cause all kinds of security risks to have unverifiable native code in some assembly?

I think this is no different, security-wise, from writing “unsafe” code or code using IntPtrs or code using P/Invokes or…

It can *absolutely* be exploited and can be a problem, but I think it’s no different from the multitude of existing problems that our existing environment permits.

- Jon



More information about the Mono-devel-list mailing list