codespecs / daikon-dot-net-front-end

Celeriac .NET Front-End for Daikon
Other
9 stars 1 forks source link

Instrumentation of partially trusted code #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download JSON.NET from Codeplex and instrument Newtonsoft.Json.dll
2. Run PEVerify

Can't just add the AllowPartiallyTrustedCallersAttribute to the assembly since 
PortableHost requires full trust. Might be able to create two builds: one that 
supports partially trusted callers and one that supports portable libraries, 
since I think the two might be mutually exclusive?

Original issue reported on code.google.com by Todd.Sch...@gmail.com on 12 Mar 2013 at 6:49

GoogleCodeExporter commented 9 years ago

Original comment by melonhea...@gmail.com on 2 Apr 2013 at 8:53

GoogleCodeExporter commented 9 years ago

Original comment by Todd.Sch...@gmail.com on 2 Apr 2013 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by Todd.Sch...@gmail.com on 2 Apr 2013 at 10:20

GoogleCodeExporter commented 9 years ago
Todd do you have a sense on what would be necessary to fix this?

Original comment by melonhea...@gmail.com on 14 Jun 2013 at 11:43

GoogleCodeExporter commented 9 years ago
I think the reflection the visitor does requires full trust in most cases, so 
it might not be possible. 

Original comment by Todd.Sch...@gmail.com on 14 Jun 2013 at 5:11