mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
ed81c34b2c
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4534 21ef857c-d57f-4fe0-8362-d861dc6d29cd
Microsoft's ntdll.lib files are supplied with the DDK, but are not redistributable. The alternative used in Process Hacker is to have a ntdll.def file and create ntdll.lib from that using the LIB tool. The x86 ntdll.lib must be fixed using fixlib, which converts the exports from ordinal to name entries. The x64 ntdll.lib does not suffer from this problem. The regex for swapping the export entries is below: Replace <:b:b:b:b{.*}:b=:b{.*}> with < \2 = \1>