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

support for advanced private Windows loader features #233

Open
derekbruening opened this issue Nov 27, 2014 · 7 comments
Open

support for advanced private Windows loader features #233

derekbruening opened this issue Nov 27, 2014 · 7 comments

Comments

@derekbruening
Copy link
Contributor

From [email protected] on November 25, 2009 15:16:14

Advanced private Windows loader features split off from issue #157 that I'm
punting on for now:

  • import by ordinal
  • delay-load dlls
  • bound imports
  • import hint
  • TLS (though expect only in .exe not .dll)

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=233

@derekbruening
Copy link
Contributor Author

From [email protected] on November 25, 2009 19:51:17

note that some of these are simply performance optimizations (bound imports, import hint)

@derekbruening
Copy link
Contributor Author

From [email protected] on November 27, 2009 09:53:11

  • read .manifest files and locate SxS C++ (msvcp) and C (msvcr) runtime libs
    for now if clients compile statically (/MT) we're ok

@derekbruening
Copy link
Contributor Author

From [email protected] on December 08, 2010 12:58:36

This issue was closed by revision r510 .

Status: Fixed

@derekbruening
Copy link
Contributor Author

From [email protected] on December 08, 2010 13:01:37

my commit said it fixed this issue but really this is a multi-part issue so not fully resolved yet. r510 added import-by-ordinal support.

Status: Accepted

@derekbruening
Copy link
Contributor Author

From [email protected] on September 23, 2011 10:43:14

re: comment 2: either SxS support should be added, or configure support for linking statically (xref issue #544 )

@derekbruening
Copy link
Contributor Author

From [email protected] on September 23, 2011 12:04:06

given that SxS for libc is gone in VS2010 anyway, I don't think it's worth
the effort to try and support it anyway, so going w/ requiring static libc
for VS2005 and VS2008 (earlier has no SxS, later has no SxS).

@derekbruening
Copy link
Contributor Author

Static TLS is now supported (since Vista) for dynamically loaded DLL's, and it is used in VS2017 for simple things. #4030 covers adding support.

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