Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation of partially trusted code #75

Open
GoogleCodeExporter opened this issue Mar 4, 2015 · 5 comments
Open

Instrumentation of partially trusted code #75

GoogleCodeExporter opened this issue Mar 4, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Added labels: Milestone-Release1.0

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

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

  • Removed labels: Milestone-Release1.0

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant